RTEMS | Add BSP to BeagleV-Fire board (!194)

Hesham Almatary (@hesham) gitlab at rtems.org
Mon Sep 9 05:57:32 UTC 2024




Hesham Almatary commented on a discussion on bsps/riscv/shared/start/bspgetworkarea.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/194#note_111860

 >    int ac;
 >    int sc;
 >    int len;
 > +  uint64_t start64;
 > +  uint64_t size64;
 > +  uint64_t start32;
 > +  uint64_t size32;

@fcuzzocrea So usually if the processor/BSP don't handle unaligned accesses (and there's no M-Mode emulation for it), it will just pass `-mstrict-align` flag. I wonder if you tried that and got the same issue? If it works fine with this flag, I'd drop this commit and instead add the flag to the BSP build options, instead of changing shared code.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/194#note_111860
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/20240909/018d08f2/attachment-0001.htm>


More information about the bugs mailing list