Move saved interrupt level from context_t to thread_t
commitc030818c76c1190836935ae3d0c05760e3582537
authorJiří Zárevúcky <zarevucky.jiri@gmail.com>
Sat, 20 Aug 2022 12:17:49 +0000 (20 14:17 +0200)
committerJiří Zárevúcky <zarevucky.jiri@gmail.com>
Sun, 5 Feb 2023 14:43:59 +0000 (5 15:43 +0100)
treed17caff7b16546d2253fe7cc0b3d81304195ed8f
parentc1b073b79d93be484c1277800ebe22a898153e70
Move saved interrupt level from context_t to thread_t

Unlike the rest of the context structure, ipl is not
a register, and is (re)stored using a separate mechanism from
context_set()/_restore(). Therefore, it does not belong there.
13 files changed:
kernel/arch/abs32le/include/arch/context.h
kernel/arch/abs32le/include/arch/context_offset.h
kernel/arch/amd64/include/arch/context_struct.h
kernel/arch/arm64/include/arch/context_struct.h
kernel/arch/ia32/include/arch/context_struct.h
kernel/arch/ia64/include/arch/context_struct.h
kernel/arch/mips32/include/arch/context_struct.h
kernel/arch/ppc32/include/arch/context_struct.h
kernel/arch/riscv64/include/arch/context_struct.h
kernel/arch/sparc64/include/arch/context_struct.h
kernel/generic/include/proc/thread.h
kernel/generic/src/proc/scheduler.c
kernel/generic/src/proc/thread.c