diff options
author | peter <peter@FreeBSD.org> | 2002-08-03 03:35:06 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-08-03 03:35:06 +0000 |
commit | 1d09617e8112714b60586d5e36869a247409dfea (patch) | |
tree | d174a8b41f85833b5b338f529967357ad7fffae7 /sys/ia64 | |
parent | 2fc518e7d036c439243ac150bc002f836ffe86e6 (diff) | |
download | FreeBSD-src-1d09617e8112714b60586d5e36869a247409dfea.zip FreeBSD-src-1d09617e8112714b60586d5e36869a247409dfea.tar.gz |
Ignore memory above 4GB for now due to unpleasant pci issues.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/machdep.c | 15 |
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. |