| version 1.84, 2009/03/08 16:03:31 |
version 1.85, 2009/03/21 14:41:29 |
|
|
| * Old call gate entry for syscall |
* Old call gate entry for syscall |
| */ |
*/ |
| IDTVEC(osyscall) |
IDTVEC(osyscall) |
| |
cli # must be first instruction |
| pushfl # set eflags in trap frame |
pushfl # set eflags in trap frame |
| popl 8(%esp) |
popl 8(%esp) |
| |
orl $PSL_I,(%esp) # re-enable ints on return to user |
| pushl $7 # size of instruction for restart |
pushl $7 # size of instruction for restart |
| jmp syscall1 |
jmp syscall1 |
| IDTVEC_END(osyscall) |
IDTVEC_END(osyscall) |
| Line 1095 IDTVEC(syscall) |
|
| Line 1097 IDTVEC(syscall) |
|
| syscall1: |
syscall1: |
| pushl $T_ASTFLT # trap # for doing ASTs |
pushl $T_ASTFLT # trap # for doing ASTs |
| INTRENTRY |
INTRENTRY |
| |
STI(%eax) |
| #ifdef DIAGNOSTIC |
#ifdef DIAGNOSTIC |
| movl CPUVAR(ILEVEL),%ebx |
movl CPUVAR(ILEVEL),%ebx |
| testl %ebx,%ebx |
testl %ebx,%ebx |
| Line 1181 IDTVEC(svr4_fasttrap) |
|
| Line 1184 IDTVEC(svr4_fasttrap) |
|
| pushl $2 # size of instruction for restart |
pushl $2 # size of instruction for restart |
| pushl $T_ASTFLT # trap # for doing ASTs |
pushl $T_ASTFLT # trap # for doing ASTs |
| INTRENTRY |
INTRENTRY |
| |
STI(%eax) |
| pushl $RW_READER |
pushl $RW_READER |
| pushl $_C_LABEL(svr4_fasttrap_lock) |
pushl $_C_LABEL(svr4_fasttrap_lock) |
| call _C_LABEL(rw_enter) |
call _C_LABEL(rw_enter) |