diff options
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/asm_int.h | 1 | ||||
| -rw-r--r-- | asm/asm_int.s | 2 | ||||
| -rw-r--r-- | asm/asm_mp.asm | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/asm/asm_int.h b/asm/asm_int.h index 4133fbf..25ab885 100644 --- a/asm/asm_int.h +++ b/asm/asm_int.h @@ -17,6 +17,7 @@ void int15(); void int128(); // syscalls void int129(); // scheduler +void int200(); // apic timer void int255(); // unhandled void exc0(); diff --git a/asm/asm_int.s b/asm/asm_int.s index 94785bc..f7107de 100644 --- a/asm/asm_int.s +++ b/asm/asm_int.s @@ -18,6 +18,7 @@ .global int128 .global int129 +.global int200 .global int255 .global exc0 @@ -157,6 +158,7 @@ int128: intx ack0 $128 interrupt_handler int129: intx ack0 $129 interrupt_handler int255: intx ack0 $255 interrupt_handler +int200: intx ack0 $200 interrupt_handler exc0: excx $0 exception_handle exc1: excx $1 exception_handle diff --git a/asm/asm_mp.asm b/asm/asm_mp.asm index a2dcee0..5e5259e 100644 --- a/asm/asm_mp.asm +++ b/asm/asm_mp.asm @@ -1,6 +1,7 @@ global smp_start global LLOCK extern smp_main +global gdt_descriptor ; master boot record for application processors smp_start: @@ -84,5 +85,5 @@ gdt_descriptor: dw gdt_end-gdt_start-1 dd gdt_start -CODE_SEG equ gdt_code - gdt_start -DATA_SEG equ gdt_data - gdt_start +;CODE_SEG equ gdt_code - gdt_start +;DATA_SEG equ gdt_data - gdt_start |
