Modestus Moon OS
R4
CS 450 project
|
Go to the source code of this file.
Functions | |
void | write_gdt_ptr (u32int, size_t) |
void | write_idt_ptr (u32int) |
void | idt_set_gate (u8int idx, u32int base, u16int sel, u8int flags) |
void | init_idt () |
void | gdt_init_entry (int idx, u32int base, u32int limit, u8int access, u8int flags) |
void | init_gdt () |
Variables | |
gdt_descriptor | gdt_ptr |
gdt_entry | gdt_entries [5] |
idt_descriptor | idt_ptr |
idt_entry | idt_entries [256] |
Definition at line 57 of file tables.c.
References access, and gdt_entries.
Referenced by init_gdt().
Definition at line 27 of file tables.c.
References flags, and idt_entries.
Referenced by init_irq().
void init_gdt | ( | ) |
Definition at line 75 of file tables.c.
References gdt_entries, gdt_init_entry(), gdt_ptr, limit, and write_gdt_ptr().
Referenced by kmain().
void init_idt | ( | ) |
Definition at line 43 of file tables.c.
References idt_entries, idt_ptr, memset(), and write_idt_ptr().
Referenced by kmain().
Referenced by init_gdt().
void write_idt_ptr | ( | u32int | ) |
Referenced by init_idt().
gdt_entry gdt_entries[5] |
Definition at line 13 of file tables.c.
Referenced by gdt_init_entry(), and init_gdt().
gdt_descriptor gdt_ptr |
Definition at line 12 of file tables.c.
Referenced by init_gdt().
idt_entry idt_entries[256] |
Definition at line 17 of file tables.c.
Referenced by idt_set_gate(), and init_idt().
idt_descriptor idt_ptr |
Definition at line 16 of file tables.c.
Referenced by init_idt().