Ignore memory above 4GB for now due to unpleasant pci issues.

This commit is contained in:
Peter Wemm 2002-08-03 03:35:06 +00:00
parent aa9b1d9412
commit af932613d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101251

View File

@ -570,6 +570,21 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
if (mdp->Type != EfiConventionalMemory)
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