MyOS Kernel
idt.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

void idt_set_gate (int n, uint32_t handler)
 
void load_idt ()
 

Function Documentation

◆ idt_set_gate()

void idt_set_gate ( int  n,
uint32_t  handler 
)

Sets an IDT gate.

Parameters
nthe IDT gate to set
handlerthe handler for the gate.

◆ load_idt()

void load_idt ( )

Loads the IDT