changeset 21:66e9c332c845

Forgot crucial adjustment to idt pointer
author windel
date Tue, 29 Nov 2011 19:32:31 +0100
parents b1fed2171e1a
children 69bc6d477b38
files cos/kernel/asmcode.asm cos/kernel/handlers.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cos/kernel/asmcode.asm	Mon Nov 28 20:54:40 2011 +0100
+++ b/cos/kernel/asmcode.asm	Tue Nov 29 19:32:31 2011 +0100
@@ -12,7 +12,7 @@
 
 global magicBochsBreak
 magicBochsBreak:
-  xchg bx,bx
+  xchg bx, bx
   ret
 
 global loadIDT
--- 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();