diff options
Diffstat (limited to 'asm/pit.s')
| -rw-r--r-- | asm/pit.s | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |
