Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 02:45:57 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28216 for review
Message-ID:  <200304051045.h35AjvIT047878@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28216

Change 28216 by peter@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



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