summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-07-10 21:17:23 +0000
committerjulian <julian@FreeBSD.org>2002-07-10 21:17:23 +0000
commit55d0134e7f7caf7f7133e3653b5ecf82f3e7c546 (patch)
tree7b3c1d22d2b5c956a63fa4c2d51b6448e67ea4a5
parent0865afbe5506e4b0051a405d1a3f152b11cb26a4 (diff)
downloadFreeBSD-src-55d0134e7f7caf7f7133e3653b5ecf82f3e7c546.zip
FreeBSD-src-55d0134e7f7caf7f7133e3653b5ecf82f3e7c546.tar.gz
fix a comment and note a problem with XXXSMP
-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