RTEMS | microblaze: enhance exception diagnostics (!841)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Nov 25 14:38:24 UTC 2025
Kinsey Moore started a new discussion on cpukit/score/cpu/microblaze/cpu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136309
> +
> + /* See ug984-vivado-microblaze-ref Exception Status Register (ESR) */
> + _CPU_esr_ec_code esr_ec_codes[] = {
> + {0, "Stream Exception"},
> + {1, "Unaligned data access exception"},
> + {2,"Illegal op-code exception"},
> + {3, "Instruction bus error exception"},
> + {4, "Data bus error exception"},
> + {5, "Divide exception"},
> + {6,"Floating point unit exception"},
> + {7, "Privileged instruction or Stack protection violation exception"}, /* Xilinx docs have 2 errors for this id */
> + {16,"Data storage exception"},
> + {17,"Instruction storage exception"},
> + {18,"Data TLB miss exception"},
> + {19,"Instruction TLB miss exception"}
> + };
I would recommend pulling these definitions out of the function and applying the formatting suggestions from the pipeline.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136309
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/20251125/579158bb/attachment.htm>
More information about the bugs
mailing list