Handle swapgs in interrupts and scheduling
All checks were successful
Build documentation / build-and-deploy (push) Successful in 29s

This commit is contained in:
2026-01-01 18:42:53 +01:00
parent 3bcbdb5ec4
commit 5e6bdcc52d
5 changed files with 24 additions and 8 deletions

View File

@@ -17,7 +17,9 @@
#include <sys/smp.h>
#if defined(__x86_64__)
#include <amd64/intr_defs.h>
#include <amd64/intr_defs.h>
#include <amd64/msr.h>
#include <amd64/msr-index.h>
#endif
struct elf_aux {
@@ -216,9 +218,8 @@ void proc_sched (void) {
next = proc_find_sched ();
if (next != NULL) {
if (next != NULL)
thiscpu->proc_current = next;
}
spin_unlock (&thiscpu->lock);