kernel compiling with new page allocation mechanism but crashing

git-svn-id: svn://anubis/hos/trunk@91 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
josh committed 2010-01-25 05:56:40 +00:00
1 parent 0bc304328d
commit 4816102139
4 files changed
+74 -63

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ void isr(u8_t int_num, int_stack_t * istack)
void interrupts_bootstrap()
{
u32_t idt_base = mm_early_page_alloc();
u32_t idt_base = mm_page_alloc();
u64_t * idt = (u64_t *) (idt_base + KERNEL_OFFSET);
idt[0] = MAKE_IDT_DESCRIPTOR(KERNEL_CODE_SEGMENT, isr_0, 0);
idt[1] = MAKE_IDT_DESCRIPTOR(KERNEL_CODE_SEGMENT, isr_1, 0);