17 lines
181 B
C
17 lines
181 B
C
#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);
|
|
|