Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 21:00:41 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 23663 for review
Message-ID:  <200301130500.h0D50fCR090920@repoman.freebsd.org>

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

Change 23663 by marcel@marcel_nfs on 2003/01/12 21:00:03

	Make the "wimp-out" code dependent on the non-existence of
	SPARSE_PHYSICAL_MEMORY. Enabling the option gives us another
	1GB of physical memory above 4GB on the pluto boxes, but
	causes a machine check when starting init(8). DMA bounce
	buffers come into play...

Affected files ...

.. //depot/projects/ia64/sys/ia64/ia64/machdep.c#59 edit

Differences ...

==== //depot/projects/ia64/sys/ia64/ia64/machdep.c#59 (text+ko) ====

@@ -31,6 +31,7 @@
 #include "opt_ski.h"
 #include "opt_msgbuf.h"
 #include "opt_acpi.h"
+#include "opt_vmpage.h"
 
 #if !defined(SKI) && !defined(DEV_ACPI)
 #error "You need the SKI option and/or the acpi device"
@@ -574,6 +575,7 @@
 		if (mdp->Type != EfiConventionalMemory)
 			continue;
 
+#if !defined(SPARSE_PHYSICAL_MEMORY)
 		/*
 		 * Wimp out for now since we do not DTRT here with
 		 * pci bus mastering (no bounce buffering, for example).
@@ -588,6 +590,7 @@
 			    mdp->PhysicalStart + mdp->NumberOfPages * 4096);
 			continue;
 		}
+#endif
 
 		/*
 		 * We have a memory descriptor that describes conventional

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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