Changeset 738ad2e in mainline for arch/ia32/src/asm.S
- Timestamp:
- 2006-05-02T18:19:43Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 281224a
- Parents:
- e34a141
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.S
re34a141 r738ad2e 87 87 # and call exc_dispatch(). 88 88 # 89 #define INTERRUPT_ALIGN 12889 #define INTERRUPT_ALIGN 64 90 90 .macro handler i n 91 91 … … 109 109 110 110 sti 111 cmp $2, %edi # Is this SYS_INT_CONTROL?112 je sys_int_ctrl113 111 114 112 call syscall_handler # syscall_handler(ax,cx,dx,si,di) 115 sysc_end:116 113 cli 117 114 addl $20, %esp # clean-up of parameters … … 124 121 CLEAR_NT_FLAG 125 122 iret 126 sys_int_ctrl: # Interrupt control127 mov %esp, %eax128 add $44, %eax129 mov %eax, 4(%esp) # Pointer to flags - 2nd argument130 call ddi_int_control131 jmp sysc_end132 123 .else 133 124 /*
Note:
See TracChangeset
for help on using the changeset viewer.