Changeset 107124 in vbox
- Timestamp:
- Nov 22, 2024 3:47:28 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxVirtMemInfoLib/VBoxVirtMemInfoLib.c
r106352 r107124 111 111 112 112 // Memory mapped peripherals 113 VirtualMemoryTable[idxMemDesc].PhysicalBase = VBoxArmPlatformMmioStartGetPhysAddr(); 114 VirtualMemoryTable[idxMemDesc].VirtualBase = VirtualMemoryTable[idxMemDesc].PhysicalBase; 115 VirtualMemoryTable[idxMemDesc].Length = VBoxArmPlatformMmioSizeGet(); 116 VirtualMemoryTable[idxMemDesc].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; 117 idxMemDesc++; 113 if (VBoxArmPlatformMmioSizeGet() != 0) 114 { 115 VirtualMemoryTable[idxMemDesc].PhysicalBase = VBoxArmPlatformMmioStartGetPhysAddr(); 116 VirtualMemoryTable[idxMemDesc].VirtualBase = VirtualMemoryTable[idxMemDesc].PhysicalBase; 117 VirtualMemoryTable[idxMemDesc].Length = VBoxArmPlatformMmioSizeGet(); 118 VirtualMemoryTable[idxMemDesc].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; 119 idxMemDesc++; 120 } 118 121 119 122 // Map the FV region as normal executable memory
Note:
See TracChangeset
for help on using the changeset viewer.