basic structure for gdt things

This commit is contained in:
shockrah 2019-10-09 01:42:03 -07:00
parent 536f4e8e0c
commit 9e7effcc7f

16
gdt.h Normal file
View File

@ -0,0 +1,16 @@
#include "gdt.h"
#include "types.h"
struct example {
int a;
int b;
};
struct GDT {
u32 address;
u16 size;
}__attribute__((packed));
static void load_gdt(const GDT* table);