diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2002-07-10 21:17:23 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2002-07-10 21:17:23 +0000 |
| commit | 83587634ec14560c925180ec877e2508fb4d47c0 (patch) | |
| tree | 7b3c1d22d2b5c956a63fa4c2d51b6448e67ea4a5 | |
| parent | d50fe601d442ad19717c9254823befa520f3abf3 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/exception.S | 4 | ||||
| -rw-r--r-- | sys/amd64/amd64/exception.s | 4 | ||||
| -rw-r--r-- | sys/i386/i386/exception.s | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index 039ca98b5a31..89bfb136fa5d 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -269,12 +269,12 @@ doreti_next: */ testl $PSL_VM,TF_EFLAGS(%esp) /* are we in vm86 mode? */ jz doreti_notvm86 - cmpl $1,in_vm86call /* are we in a vm86 call? */ + cmpl $1,in_vm86call /* are we in a vm86 call? XXXSMP */ jne doreti_ast /* can handle ASTs now if not */ jmp doreti_exit doreti_notvm86: - testb $SEL_RPL_MASK,TF_CS(%esp) /* are we in user mode? */ + testb $SEL_RPL_MASK,TF_CS(%esp) /* are we returning to user mode? */ jz doreti_exit /* can't handle ASTs now if not */ doreti_ast: diff --git a/sys/amd64/amd64/exception.s b/sys/amd64/amd64/exception.s index 039ca98b5a31..89bfb136fa5d 100644 --- a/sys/amd64/amd64/exception.s +++ b/sys/amd64/amd64/exception.s @@ -269,12 +269,12 @@ doreti_next: */ testl $PSL_VM,TF_EFLAGS(%esp) /* are we in vm86 mode? */ jz doreti_notvm86 - cmpl $1,in_vm86call /* are we in a vm86 call? */ + cmpl $1,in_vm86call /* are we in a vm86 call? XXXSMP */ jne doreti_ast /* can handle ASTs now if not */ jmp doreti_exit doreti_notvm86: - testb $SEL_RPL_MASK,TF_CS(%esp) /* are we in user mode? */ + testb $SEL_RPL_MASK,TF_CS(%esp) /* are we returning to user mode? */ jz doreti_exit /* can't handle ASTs now if not */ doreti_ast: diff --git a/sys/i386/i386/exception.s b/sys/i386/i386/exception.s index 039ca98b5a31..89bfb136fa5d 100644 --- a/sys/i386/i386/exception.s +++ b/sys/i386/i386/exception.s @@ -269,12 +269,12 @@ doreti_next: */ testl $PSL_VM,TF_EFLAGS(%esp) /* are we in vm86 mode? */ jz doreti_notvm86 - cmpl $1,in_vm86call /* are we in a vm86 call? */ + cmpl $1,in_vm86call /* are we in a vm86 call? XXXSMP */ jne doreti_ast /* can handle ASTs now if not */ jmp doreti_exit doreti_notvm86: - testb $SEL_RPL_MASK,TF_CS(%esp) /* are we in user mode? */ + testb $SEL_RPL_MASK,TF_CS(%esp) /* are we returning to user mode? */ jz doreti_exit /* can't handle ASTs now if not */ doreti_ast: |
