diff options
| author | Miguel <m.i@gmx.at> | 2018-08-31 11:49:07 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-31 11:49:07 +0200 |
| commit | 47d7e8e4527c663dd1a0c04a4ea5624589464895 (patch) | |
| tree | d6d5ef82f1089a9ab058b27c427c1463db0fae60 /asm/pit.s | |
| parent | 4404fa9b3d98646f942e32146722a9d0a68edc13 (diff) | |
various improvmenets
* added debugging symbols to nasm output
* started implementing an unified interrupt interface
* moved smp entry point to kernel image!
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 |
