Mercurial > lcfOS
diff cos/kernel/handlers.c @ 21:66e9c332c845
Forgot crucial adjustment to idt pointer
author | windel |
---|---|
date | Tue, 29 Nov 2011 19:32:31 +0100 |
parents | b1fed2171e1a |
children | 5dd47d6eebac |
line wrap: on
line diff
--- a/cos/kernel/handlers.c Mon Nov 28 20:54:40 2011 +0100 +++ b/cos/kernel/handlers.c Tue Nov 29 19:32:31 2011 +0100 @@ -95,7 +95,7 @@ setIDTentry(34, INT34, 0x08, 0x8F); // Set the correct values in the IDT pointer: - idtP.base = (uint64_t)&idt; + idtP.base = (uint64_t)idt; idtP.limit = (sizeof(IDT_entry) * 256) - 1; // call load IDT asm function: loadIDT();