Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2003 18:52:03 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 38831 for review
Message-ID:  <200309300152.h8U1q31g028599@repoman.freebsd.org>

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

Change 38831 by peter@peter_hammer on 2003/09/29 18:51:26

	ugh. get this code off my make -k output.  I have something better, based on
	the long mode entry examples in the amd64 manual.

Affected files ...

.. //depot/projects/hammer/sys/amd64/amd64/mpboot.s#5 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/amd64/mpboot.s#5 (text+ko) ====

@@ -45,6 +45,7 @@
  */
 	.p2align 4
 
+	.code32
 NON_GPROF_ENTRY(MPentry)
 	/*
 	 * Enable features on this processor.  We don't support SMP on
@@ -60,7 +61,7 @@
 	movl	%eax,%cr4
 
 	/* Now enable paging mode */
-	movl	R(IdlePDPT), %eax
+	movl	IdlePDT, %eax
 	movl	%eax, %cr3
 	movl	%cr0,%eax
 	orl	$CR0_PE|CR0_PG,%eax		/* enable paging */



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