From 83587634ec14560c925180ec877e2508fb4d47c0 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Wed, 10 Jul 2002 21:17:23 +0000 Subject: fix a comment and note a problem with XXXSMP --- sys/amd64/amd64/exception.S | 4 ++-- sys/amd64/amd64/exception.s | 4 ++-- 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: -- cgit v1.3