RTEMS | grlib: Add 64 bit compatibility (!1270)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu May 28 13:01:44 UTC 2026
Kinsey Moore started a new discussion on bsps/shared/grlib/1553/b1553brm.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1270#note_151162
> #define FUNCDBG(x...)
> #endif
>
> -#define READ_REG(address) (*(volatile unsigned int *)address)
> -#define READ_DMA(address) grlib_read_uncached16((unsigned int)address)
> +#define READ_REG(address) (*(volatile unsigned int *)(uintptr_t)address)
This definition is still using "unsigned int". Should this be uint32_t or uintptr_t?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1270#note_151162
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260528/e2827b05/attachment.htm>
More information about the bugs
mailing list