Kintsugi OS 0.4.0
x86 Monolithic OS
Loading...
Searching...
No Matches
gdt.c File Reference
#include "gdt.h"

Macros

#define GDT_ENTRIES   3
 

Functions

static void gdt_set_gate (int n, u32 base, u32 limit, u8 access, u8 gran)
 
void gdt_install ()
 

Variables

static gdt_entry_t gdt [GDT_ENTRIES]
 
static gdt_register_t gdt_reg
 

Macro Definition Documentation

◆ GDT_ENTRIES

#define GDT_ENTRIES   3

Function Documentation

◆ gdt_install()

void gdt_install ( )

◆ gdt_set_gate()

static void gdt_set_gate ( int  n,
u32  base,
u32  limit,
u8  access,
u8  gran 
)
static

Variable Documentation

◆ gdt

gdt_entry_t gdt[GDT_ENTRIES]
static

◆ gdt_reg

gdt_register_t gdt_reg
static