PERFORCE change 33672 for review
Peter Wemm
peter at FreeBSD.org
Wed Jun 25 17:22:51 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=33672
Change 33672 by peter at peter_hammer on 2003/06/25 17:21:49
Do a minimum of 4GB of direct map area so that we cover the
top of the 32 bit pci map space.
Affected files ...
.. //depot/projects/hammer/sys/amd64/amd64/pmap.c#18 edit
Differences ...
==== //depot/projects/hammer/sys/amd64/amd64/pmap.c#18 (text+ko) ====
@@ -367,8 +367,8 @@
KPDphys = allocpages(NKPDPE);
ndmpdp = (ptoa(Maxmem) + NBPDP - 1) >> PDPSHIFT;
- if (ndmpdp < 1)
- ndmpdp = 1;
+ if (ndmpdp < 4) /* Minimum 4GB of dirmap */
+ ndmpdp = 4;
DMPDPphys = allocpages(NDMPML4E);
DMPDphys = allocpages(ndmpdp);
More information about the p4-projects
mailing list