RTEMS | microblaze: enhance exception diagnostics (!841)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Dec 5 00:29:25 UTC 2025



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841 was reviewed by Joel Sherrill

--
  
Joel Sherrill started a new discussion on cpukit/score/cpu/microblaze/cpu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136750

 > +
 > +  printk ( "\nR0   = 0x%08" PRIx32 " R17  = %p <- PC fault\n", 0, ctx->r17 );
 > +  printk (

Remove space after printk consistently through file.

--
  
Joel Sherrill started a new discussion on cpukit/score/cpu/microblaze/cpu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136751

 > +
 > +/* See ug984-vivado-microblaze-ref Exception Status Register (ESR) */
 > +_CPU_esr_ec_code esr_ec_codes[] = {

Can this be static?

--
  
Joel Sherrill started a new discussion on cpukit/score/cpu/microblaze/cpu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136752

 > +  { 6, "Floating point unit exception" },
 > +  { 7,
 > +    "Privileged instruction or Stack protection "

Can the string fit on line 98?


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841
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/20251205/aafff5a6/attachment.htm>


More information about the bugs mailing list