summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-08-03 03:35:06 +0000
committerpeter <peter@FreeBSD.org>2002-08-03 03:35:06 +0000
commit1d09617e8112714b60586d5e36869a247409dfea (patch)
treed174a8b41f85833b5b338f529967357ad7fffae7 /sys
parent2fc518e7d036c439243ac150bc002f836ffe86e6 (diff)
downloadFreeBSD-src-1d09617e8112714b60586d5e36869a247409dfea.zip
FreeBSD-src-1d09617e8112714b60586d5e36869a247409dfea.tar.gz
Ignore memory above 4GB for now due to unpleasant pci issues.
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/ia64/machdep.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index fdd3adc..ae5612a 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -571,6 +571,21 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
continue;
/*
+ * Wimp out for now since we do not DTRT here with
+ * pci bus mastering (no bounce buffering, for example).
+ */
+ if (pfn0 >= ia64_btop(0x100000000UL)) {
+ printf("Skipping memory chunk start 0x%lx\n",
+ mdp->PhysicalStart);
+ continue;
+ }
+ if (pfn1 >= ia64_btop(0x100000000UL)) {
+ printf("Skipping memory chunk end 0x%lx\n",
+ mdp->PhysicalStart + mdp->NumberOfPages * 4096);
+ continue;
+ }
+
+ /*
* We have a memory descriptor that describes conventional
* memory that is for general use. We must determine if the
* loader has put the kernel in this region.
OpenPOWER on IntegriCloud