Added the start of the page structures.

This commit is contained in:
2020-12-12 21:03:19 -06:00
parent 49efafe173
commit 8ba77bcd69
4 changed files with 26 additions and 3 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ struct idt_entry
unsigned short base_hi;
} __attribute__((packed));
struct idt_ptr
struct idt
{
unsigned short size;
struct idt_entry* idt_entries_start;
@@ -17,5 +17,5 @@ struct idt_ptr
void install_idt(void);
void idt_set_gate(unsigned char, unsigned long, unsigned short, unsigned char);
void load_idt(struct idt_ptr*);
void load_idt(struct idt*);
#endif