Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 17:22:48 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 33672 for review
Message-ID:  <200306260022.h5Q0MmrC007705@repoman.freebsd.org>

index | next in thread | raw e-mail

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

Change 33672 by peter@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);
 


home | help

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