Changeset 42421 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Jul 26, 2012 6:21:42 PM (12 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/PlatformPei
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/PlatformPei/MemDetect.c
r42405 r42421 135 135 MemorySize = SIZE_64MB; 136 136 } 137 MemorySize -= BASE_64KB; /* Reserves 64KB for ACPI tables. */ 137 138 138 139 // … … 147 148 AddMemoryBaseSizeHob (MemoryBase, MemorySize); 148 149 AddMemoryRangeHob (BASE_1MB, MemoryBase); 150 MtrrSetMemoryAttribute (BASE_1MB, MemoryBase + MemorySize - BASE_1MB, CacheWriteBack); 149 151 AddMemoryRangeHob (0, BASE_512KB + BASE_128KB); 152 MtrrSetMemoryAttribute (0, BASE_512KB + BASE_128KB, CacheWriteBack); 150 153 151 MtrrSetMemoryAttribute (BASE_1MB, MemoryBase + MemorySize - BASE_1MB, CacheWriteBack);152 153 MtrrSetMemoryAttribute (0, BASE_512KB + BASE_128KB, CacheWriteBack);154 154 155 155 if (UpperMemorySize != 0) { -
trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/PlatformPei/Platform.c
r42406 r42421 132 132 ); 133 133 134 DEBUG ( 135 (EFI_D_ERROR, "ROM HOB: at 0x%llx size 0x%llx\n", MemoryBase, MemorySize) 136 ); 137 134 DEBUG ((DEBUG_INFO, "ROM HOB: at 0x%llx size 0x%llx\n", MemoryBase, MemorySize)); 138 135 } 139 136 … … 277 274 // 278 275 // Video memory + Legacy BIOS region 276 // This includes ACPI floating pointer region. 279 277 // 280 278 AddIoMemoryRangeHob (0x0A0000, BASE_1MB); … … 289 287 ASSERT(AcpiTables != 0); 290 288 291 // Floating pointer page292 AddRomMemoryBaseSizeHob(RsdPtr, 0x1000);293 289 // ACPI tables 64 K 294 290 AddRomMemoryBaseSizeHob(AcpiTables, 0x10000);
Note:
See TracChangeset
for help on using the changeset viewer.