Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 19:34:50 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 17807 for review
Message-ID:  <200209210234.g8L2Yocj092032@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17807

Change 17807 by peter@peter_daintree on 2002/09/20 19:34:47

	no more 'vm86 is usermode' glue

Affected files ...

.. //depot/projects/hammer/sys/x86_64/include/cpu.h#2 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/include/cpu.h#2 (text+ko) ====

@@ -59,11 +59,11 @@
 #define cpu_setstack(td, ap)		((td)->td_frame->tf_esp = (ap))
 
 #define	TRAPF_USERMODE(framep) \
-	((ISPL((framep)->tf_cs) == SEL_UPL) || ((framep)->tf_eflags & PSL_VM))
+	(ISPL((framep)->tf_cs) == SEL_UPL)
 #define	TRAPF_PC(framep)	((framep)->tf_eip)
 
 #define	CLKF_USERMODE(framep) \
-	((ISPL((framep)->cf_cs) == SEL_UPL) || ((framep)->cf_eflags & PSL_VM))
+	(ISPL((framep)->cf_cs) == SEL_UPL)
 #define	CLKF_PC(framep)		((framep)->cf_eip)
 
 /*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209210234.g8L2Yocj092032>