MOS Source Code
Loading...
Searching...
No Matches
idt.c File Reference
+ Include dependency graph for idt.c:

Go to the source code of this file.

Macros

#define IDT_FLAG_P   (1 << 7)
 
#define STS_IG32   0xE
 
#define STS_TG32   0xF
 

Functions

static idt_entry_t idt[IDT_ENTRY_COUNT__aligned (16)
 
 __attribute__ ((sysv_abi))
 
void x86_init_percpu_idt ()
 
void x86_idt_init ()
 

Variables

static idtr_t idtr
 

Macro Definition Documentation

◆ IDT_FLAG_P

#define IDT_FLAG_P   (1 << 7)

Definition at line 12 of file idt.c.

◆ STS_IG32

#define STS_IG32   0xE

Definition at line 14 of file idt.c.

◆ STS_TG32

#define STS_TG32   0xF

Definition at line 15 of file idt.c.

Function Documentation

◆ __aligned()

static idt_entry_t idt[IDT_ENTRY_COUNT] __aligned ( 16 )
static

◆ __attribute__()

__attribute__ ( (sysv_abi) )

Definition at line 17 of file idt.c.

◆ x86_init_percpu_idt()

void x86_init_percpu_idt ( void )

Definition at line 36 of file idt.c.

Referenced by platform_ap_entry(), and platform_startup_early().

◆ x86_idt_init()

void x86_idt_init ( void )

Definition at line 41 of file idt.c.

Referenced by platform_startup_early().

Variable Documentation

◆ idtr

idtr_t idtr
static

Definition at line 10 of file idt.c.

Referenced by x86_idt_init(), and x86_init_percpu_idt().