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.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
