|
PatchworkOS
69292a3
A non-POSIX operating system.
|
#include <assert.h>#include <kernel/cpu/cpu.h>#include <kernel/cpu/percpu.h>#include <kernel/cpu/regs.h>#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | CLI_SCOPE() |
| Macro to increment CLI depth for the duration of the current scope. | |
Functions | |
| static void | cli_push (void) |
| Increments the CLI depth, disabling interrupts if depth was zero. | |
| static void | cli_pop (void) |
Decrements the CLI depth, re-enabling interrupts if depth reaches zero and interrupts were enabled prior to the first cli_push() call. | |
| static void | cli_scope_cleanup (int *_) |