kernel: ldt support

This commit is contained in:
Matheus
2026-03-20 21:23:59 -03:00
parent a73c82f912
commit 41f97c6c61
17 changed files with 315 additions and 94 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
#ifndef _GDT_H
#define _GDT_H
void arch_gdt_reload();
#include <stddef.h>
void arch_gdt_reload(void);
// should be called with preemption DISABLED
void arch_gdt_set_ldt(void *base, size_t limit);
#endif