Files
rtems/bsps/mips/shared
Sebastian Huber 20d5fc24f2 bsps/mips, cpukit: Make the interrupt mask global
The context switch restored the interrupt mask of the status register
from the context of the incoming thread, and _CPU_Context_Initialize()
put every source into the context of every thread.  The mask is the
enable of each interrupt source, which rtems_interrupt_vector_enable()
and its counterpart own, so a disable did not survive the next context
switch and could not be offered at all.

Keep only the coprocessor enable and the interrupt enable per thread.
The interrupt enable is the interrupt level of this port.  The mask
becomes global state which the BSP establishes once, with the value the
context of a thread carried before, so that the sources a board enables
do not change.

Update #5688.

Assisted-by: Claude:claude-opus-5 claude-code
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-08-20 18:23:09 -05:00
..
2024-07-29 13:07:51 -04:00
2025-12-11 12:03:56 -06:00
…