Kintsugi OS 0.2.0
x86 Monolithic OS
Loading...
Searching...
No Matches
idt.h File Reference
#include "../kklibc/ctypes.h"

Go to the source code of this file.

Classes

struct  __attribute__
 

Macros

#define KERNEL_CS   0x08
 
#define IDT_ENTRIES   256
 

Functions

void set_idt_gate (int n, u32 handler)
 Заготовка обработчика IDT.
 
void set_idt ()
 Заготовка IDT.
 

Variables

idt_gate_t idt [IDT_ENTRIES]
 
idt_register_t idt_reg
 

Macro Definition Documentation

◆ IDT_ENTRIES

#define IDT_ENTRIES   256

◆ KERNEL_CS

#define KERNEL_CS   0x08

Function Documentation

◆ set_idt()

void set_idt ( )

Заготовка IDT.

◆ set_idt_gate()

void set_idt_gate ( int  n,
u32  handler 
)

Заготовка обработчика IDT.

Parameters
n
handler

Variable Documentation

◆ idt

idt_gate_t idt[IDT_ENTRIES]
extern

◆ idt_reg

idt_register_t idt_reg
extern