Modestus Moon OS
R4
CS 450 project
|
#include "system.h"
Go to the source code of this file.
Data Structures | |
struct | idt_entry_struct |
struct | idt_struct |
struct | gdt_descriptor_struct |
struct | gdt_entry_struct |
Functions | |
struct idt_entry_struct | __attribute__ ((packed)) idt_entry |
void | idt_set_gate (u8int idx, u32int base, u16int sel, u8int flags) |
void | gdt_init_entry (int idx, u32int base, u32int limit, u8int access, u8int flags) |
void | init_idt () |
void | init_gdt () |
Variables | |
u16int | base_low |
u16int | sselect |
u8int | zero |
u8int | flags |
u16int | base_high |
u16int | limit |
u32int | base |
u16int | limit_low |
u8int | base_mid |
u8int | access |
struct idt_entry_struct __attribute__ | ( | (packed) | ) |
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().
u8int access |
Definition at line 55 of file tables.h.
Referenced by gdt_init_entry().
u8int flags |
Definition at line 55 of file tables.h.
Referenced by idt_set_gate().
u16int limit |
Definition at line 52 of file tables.h.
Referenced by init_gdt().