From 47d7e8e4527c663dd1a0c04a4ea5624589464895 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 31 Aug 2018 11:49:07 +0200 Subject: various improvmenets * added debugging symbols to nasm output * started implementing an unified interrupt interface * moved smp entry point to kernel image! --- asm/pit.s | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'asm/pit.s') diff --git a/asm/pit.s b/asm/pit.s index c25e9a1..34b69ec 100644 --- a/asm/pit.s +++ b/asm/pit.s @@ -19,13 +19,14 @@ pit_interrupt_handler: incl (%eax) // ACK IRQ - mov $0x20,%al - out %al,$0x20 + //mov $0x20,%al + //out %al,$0x20 pop %eax // load original /////// + /* pusha //Push all standard registers push %ds //Push data segment push %es //etc... @@ -45,8 +46,9 @@ pit_interrupt_handler: pop %ds popa - iret - + iret // pops the return instruction pointer, return code segment selector, and EFLAGS image from the stack +*/ + ret pit_init: // configure ticking 25 times a second -- cgit v1.2.3