add supports for dump analyzer

This commit is contained in:
NAKAMURA Gou
2015-02-17 11:23:25 +09:00
parent 63669b7f71
commit a0d909af75
6 changed files with 64 additions and 6 deletions

View File

@@ -112,6 +112,7 @@ void reload_idt(void)
}
static struct list_head handlers[256 - 32];
extern char nmi[];
extern char page_fault[], general_protection_exception[];
extern char debug_exception[], int3_exception[];
@@ -131,6 +132,7 @@ static void init_idt(void)
set_idt_entry(i, generic_common_handlers[i]);
}
set_idt_entry(2, (uintptr_t)nmi);
set_idt_entry(13, (unsigned long)general_protection_exception);
set_idt_entry(14, (unsigned long)page_fault);