PERFORCE change 28216 for review

Peter Wemm peter at FreeBSD.org
Sat Apr 5 02:46:00 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=28216

Change 28216 by peter at peter_overcee on 2003/04/05 02:45:23

	stub out KPSEL - we cannot do it this way.  Well, maybe we can,
	but the MSR access method is saner.

Affected files ...

.. //depot/projects/hammer/sys/x86_64/isa/icu_vector.s#5 edit
.. //depot/projects/hammer/sys/x86_64/x86_64/exception.s#13 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/isa/icu_vector.s#5 (text+ko) ====

@@ -48,7 +48,7 @@
 	mov	$KDSEL,%ax ;						\
 	mov	%ax,%ds ;						\
 	mov	%ax,%es ;						\
-	mov	$KPSEL,%ax ;						\
+#XXX	mov	$KPSEL,%ax ;						\
 	mov	%ax,%fs ;						\
 	FAKE_MCOUNT((12+ACTUALLY_PUSHED)*4(%rsp)) ;			\
 	call	critical_enter ;					\
@@ -103,7 +103,7 @@
 	mov	$KDSEL,%ax ;	/* load kernel ds, es and fs */		\
 	mov	%ax,%ds ;						\
 	mov	%ax,%es ;						\
-	mov	$KPSEL,%ax ;						\
+#XXX	mov	$KPSEL,%ax ;						\
 	mov	%ax,%fs ;						\
 	maybe_extra_ipending ;						\
 	movb	imen + IRQ_BYTE(irq_num),%al ;				\

==== //depot/projects/hammer/sys/x86_64/x86_64/exception.s#13 (text+ko) ====

@@ -152,7 +152,7 @@
 	mov	$KDSEL,%ax
 	mov	%ax,%ds
 	mov	%ax,%es
-	mov	$KPSEL,%ax
+#XXX	mov	$KPSEL,%ax
 	mov	%ax,%fs
 	FAKE_MCOUNT(13*4(%rsp))
 calltrap:
@@ -204,7 +204,7 @@
 	mov	$KDSEL,%ax		/* switch to kernel segments */
 	mov	%ax,%ds
 	mov	%ax,%es
-	mov	$KPSEL,%ax
+#XXX	mov	$KPSEL,%ax
 	mov	%ax,%fs
 	FAKE_MCOUNT(13*4(%rsp))
 	call	syscall


More information about the p4-projects mailing list