PERFORCE change 38831 for review
Peter Wemm
peter at FreeBSD.org
Mon Sep 29 18:52:05 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=38831
Change 38831 by peter at 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 */
More information about the p4-projects
mailing list