MicrOS
gdt.h File Reference
#include <stdbool.h>
#include "gdt_entry.h"
#include "gdt_info.h"
#include "cpu/tss/tss_entry.h"

Go to the source code of this file.

Macros

#define GDT_SIZE   6
 

Functions

void gdt_init ()
 
void gdt_fill_entry (int index, bool executable, uint8_t privilege_level)
 
void gdt_fill_entry_as_tss (int index, tss_entry *tss)
 

Macro Definition Documentation

◆ GDT_SIZE

#define GDT_SIZE   6

Function Documentation

◆ gdt_fill_entry()

void gdt_fill_entry ( int  index,
bool  executable,
uint8_t  privilege_level 
)

◆ gdt_fill_entry_as_tss()

void gdt_fill_entry_as_tss ( int  index,
tss_entry tss 
)

◆ gdt_init()

void gdt_init ( )