SprinkleOS/int_handler.s

29 lines
375 B
ArmAsm
Raw Permalink Normal View History

.global null_handler
null_handler:
hlt
jmp null_handler
.global kbd_handler
kbd_handler:
push %rax
push %rcx
push %rdx
push %rsi
push %rdi
push %r8
push %r9
push %r10
push %r11
call keyboard_int_proc
pop %r11
pop %r10
pop %r9
pop %r8
pop %rdi
pop %rsi
pop %rdx
pop %rcx
pop %rax
iretq