RTEMS | m68k/uC5282/bspstart.c: Cleanup of some bsp start code & GCC Warning Fixes (!474)
Jeremy Lorelli (@jjl77)
gitlab at rtems.org
Thu Jun 5 02:00:22 UTC 2025
Jeremy Lorelli commented on a discussion on bsps/m68k/uC5282/start/bspstart.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/474#note_123138
>
> rtems_interrupt_disable(level);
> if (reent++) bsp_sysReset(0);
> {
> - int *p = &pc;
> - int info = p[-1];
> - int pc = p[0];
> - int format = (info >> 28) & 0xF;
> - int faultStatus = ((info >> 24) & 0xC) | ((info >> 16) & 0x3);
> - int vector = (info >> 18) & 0xFF;
> - int statusRegister = info & 0xFFFF;
> - int *fp;
> -
> - printk("\n\nPC:%x SR:%x VEC:%x FORMAT:%x STATUS:%x\n", pc,
> + uintptr_t tmp = (uintptr_t)¶m;
> + tmp -= 2 * sizeof(int);
Fixed
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/474#note_123138
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/20250605/a3d92c9c/attachment-0001.htm>
More information about the bugs
mailing list