summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/exception.S4
-rw-r--r--sys/amd64/amd64/exception.s4
-rw-r--r--sys/i386/i386/exception.s4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
index 039ca98..89bfb13 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 039ca98..89bfb13 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 039ca98..89bfb13 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:
OpenPOWER on IntegriCloud