OvmfPkg/PlatformPei: Shrink memory range for PCI MMIO allocation

Including the range of [0xFC000000, 0xFD000000) for PCI MMIO
allocation created a conflict for Xen's HVM loader.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13682 6f19259b-4bc3-4df7-8a09-765794883524
MU SOURCE COMMIT:67fe5bed945d89370f8c054b670c9575749f7a59
This commit is contained in:
jljusten 2012-08-27 23:28:15 +00:00 коммит произвёл Matthew Carlson
Родитель 64b4f67e8d
Коммит a49dd41dd0
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -196,14 +196,15 @@ MemMapInitialization (
//
// address purpose size
// ------------ -------- -------------------------
// max(top, 2g) PCI MMIO 0xFEC00000 - max(top, 2g)
// max(top, 2g) PCI MMIO 0xFC000000 - max(top, 2g)
// 0xFC000000 gap 44 MB
// 0xFEC00000 IO-APIC 4 KB
// 0xFEC01000 gap 1020 KB
// 0xFED00000 HPET 1 KB
// 0xFED00400 gap 1023 KB
// 0xFEE00000 LAPIC 1 MB
//
AddIoMemoryRangeHob (TopOfMemory < BASE_2GB ? BASE_2GB : TopOfMemory, 0xFEC00000);
AddIoMemoryRangeHob (TopOfMemory < BASE_2GB ? BASE_2GB : TopOfMemory, 0xFC000000);
AddIoMemoryBaseSizeHob (0xFEC00000, SIZE_4KB);
AddIoMemoryBaseSizeHob (0xFED00000, SIZE_1KB);
AddIoMemoryBaseSizeHob (PcdGet32(PcdCpuLocalApicBaseAddress), SIZE_1MB);