fix: cringe gdt and and stack gdt
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define GDT_BASE 0x00000800
|
||||
// sizeof(Segment Descriptor) * nb(Segment Descriptor)
|
||||
#define GDT_SIZE 8 * 7
|
||||
|
||||
struct gdt_entry {
|
||||
uint32_t limit;
|
||||
uint32_t base;
|
||||
|
Reference in New Issue
Block a user