mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
kernel: ldt support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user