RTEMS | grlib: Add 64 bit compatibility (!1270)
Matteo Concas (@matteo.concas)
gitlab at rtems.org
Thu May 28 13:19:22 UTC 2026
Matteo Concas commented on a discussion on bsps/shared/grlib/1553/b1553brm.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1270#note_151168
> #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)
Good catch, it should be `uint32_t` since it's on a 32bit bus. I'll go through the rest.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1270#note_151168
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/caa9ef21/attachment-0001.htm>
More information about the bugs
mailing list