Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1211 → Rev 1212

/kernel/trunk/arch/amd64/src/asm_utils.S
243,7 → 243,12
 
sti
movq %r9, %rcx # Exchange last parameter as a third
cmp $2, %r8 # Is this SYS_INT_CONTROL
je sys_int_ctrl
call syscall_handler
sys_end:
cli # We will be touching stack pointer
popq %r11
250,6 → 255,12
popq %rcx
movq 0(%rsp), %rsp
sysretq
sys_int_ctrl:
mov %rsp, %rsi # Pointer to flags
call ddi_int_control
jmp sys_end
.data
.global interrupt_handler_size