ApertureOS
Data Structures | Functions | Variables
gdt.c File Reference
#include <stddef.h>
#include <stdint.h>
#include "gdt.h"
Include dependency graph for gdt.c:

Data Structures

struct  GDTEntry
 
struct  GDTPtr
 

Functions

void GDT_SetEntry (int num, uint32_t base, uint32_t limit, uint8_t access, uint8_t gran)
 
void GDT_Initialize ()
 

Variables

GDTEntry gdt_entries [GDT_ENTRY_COUNT]
 
GDTPtr gdt_table
 

Function Documentation

void GDT_Initialize ( )
void GDT_SetEntry ( int  num,
uint32_t  base,
uint32_t  limit,
uint8_t  access,
uint8_t  gran 
)

Variable Documentation

GDTEntry gdt_entries[GDT_ENTRY_COUNT]
GDTPtr gdt_table