Kernel: Add an InterruptFlagSaver helper class.

This is useful instead of InterruptDisabler in some cases.
This commit is contained in:
Andreas Kling 2019-02-05 11:13:34 +01:00
commit b782055b96
Notes: sideshowbarker 2024-07-19 15:51:41 +09:00
5 changed files with 28 additions and 18 deletions

View file

@ -12,7 +12,7 @@ static const dword time_slice = 5; // *10 = 50ms
Process* current;
Process* g_last_fpu_process;
static Process* s_colonel_process;
static bool s_in_yield;
static volatile bool s_in_yield;
struct TaskRedirectionData {
word selector;