[RTEMS Project] #4458: Simplify trap table initialization
RTEMS trac
trac at rtems.org
Fri Jun 18 13:57:12 UTC 2021
#4458: Simplify trap table initialization
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.1
Component: arch/sparc | Version: 6
Severity: normal | Keywords: qualification
Blocked By: | Blocking:
------------------------------+-----------------------------
Currently, the trap table is statically initialized (see start.S).
Unexpected traps end up in system error mode. Later during startup most
traps are changed to jump to _ISR_Handler(). This is a side-effect of
bsp_spurious_initialize(). The used functions for this dynamic
initialization are a bit complex and need cache manager directives which
involve all online processors. This should be simplified to cover only
basic requirements.
1. The _ISR_Vector_table should be initialized by
_CPU_Initialize_vectors() to an new default handler
_SPARC_ISR_handler_default() which just invokes _Terminate().
2. The traps associated with external interrupts (0x11 up to including
0x1f) should be statically initialized in start.S to jump to
_ISR_Handler().
If software needs to change the default initialization, then it can use
set_vector() or alternatives on demand.
--
Ticket URL: <http://devel.rtems.org/ticket/4458>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list