diff options
author | Danny Holman <dholman@gymli.org> | 2024-03-28 23:19:08 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-03-28 23:19:08 -0500 |
commit | 41cff28f5447b5f669db62ce2a73be98bc5bce37 (patch) | |
tree | 962d7f5ee66b061a2d9d0973cf3bbb551b9bbab6 /kernel/panic.c | |
parent | db684b8653d93f4a374d8d692bb0afb31db67987 (diff) |
kernel: sched: add a flag that is set on init
Add a flag that is set to 1 when the scheduler_init function is called.
This allows the PIT interrupt to preempt the current thread and schedule
the next one according to the scheduler's internal agorithm.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions