RTEMS | microblaze: enhance exception diagnostics (!841)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Dec 12 00:21:44 UTC 2025




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

 > -  printk("ESR: %s\n",esr_ec_txt );
 > -  printk("PC:  %p\n", ctx->r17 );
 > -
 > +  printk ( "ESR: %s\n", esr_ec_txt );
 > +  printk ( "PC:  %p\n", ctx->r17 );
 >  }
 >  
 > -void _CPU_ISR_Set_level( uint32_t level )
 > +void _CPU_ISR_Set_level ( uint32_t level )
 >  {
 >    uint32_t microblaze_switch_reg;
 >  
 > -  _CPU_MSR_GET( microblaze_switch_reg );
 > +  _CPU_MSR_GET ( microblaze_switch_reg );
 >  
 > -  if ( level == 0 ) {

Revert to the denser style of braces.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_137245
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/20251212/5193b2f8/attachment-0001.htm>


More information about the bugs mailing list