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:
1 parent
0bc304328d
commit
4816102139
4 files changed
+74
-63
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user