Changeset 101433 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Oct 13, 2023 9:51:38 AM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 159491
- Location:
- trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/ArmVirt.dsc.inc
r101291 r101433 36 36 !ifdef $(VBOX) 37 37 [BuildOptions.Arm] 38 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 39 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 40 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 38 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 39 GCC:*_*_*_ASM_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 40 GCC:*_*_*_PP_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 41 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 42 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV) 41 43 [BuildOptions.AArch64] 42 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 43 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 44 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 44 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 45 GCC:*_*_*_ASM_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 46 GCC:*_*_*_PP_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 47 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 48 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV) 45 49 46 50 !ifdef $(SOURCE_DEBUG_ENABLE) … … 197 201 198 202 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf 203 204 !ifdef $(VBOX) 205 VBoxArmPlatformLib|VBoxPkg/Library/VBoxArmPlatformLib/VBoxArmPlatformLib.inf 206 !endif 199 207 200 208 [LibraryClasses.common.SEC] -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/ArmVirtQemu.dsc
r101291 r101433 102 102 103 103 [LibraryClasses.AARCH64] 104 !ifndef $(VBOX) 104 105 ArmPlatformLib|ArmVirtPkg/Library/ArmPlatformLibQemu/ArmPlatformLibQemu.inf 106 !else 107 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf 108 !endif 105 109 106 110 [LibraryClasses.ARM] … … 108 112 109 113 [LibraryClasses.common.PEIM] 114 !ifndef $(VBOX) 110 115 ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf 116 !else 117 ArmVirtMemInfoLib|VBoxPkg/Library/VBoxVirtMemInfoLib/VBoxVirtMemInfoPeiLib.inf 118 !endif 111 119 112 120 !if $(TPM2_ENABLE) == TRUE … … 131 139 132 140 [BuildOptions] 141 !ifndef $(VBOX) # Don't clear the XIPFLAGS as we run with MMU disabled (no early ID mapping). 133 142 !if $(CAVIUM_ERRATUM_27456) == TRUE 134 143 GCC:*_*_AARCH64_PP_FLAGS = -DCAVIUM_ERRATUM_27456 135 144 !else 136 145 GCC:*_*_AARCH64_CC_XIPFLAGS == 146 !endif 137 147 !endif 138 148 -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.c
r101291 r101433 20 20 #include <Library/HobLib.h> 21 21 #include <Library/ResetSystemLib.h> 22 #ifdef VBOX 23 # include <Library/VBoxArmPlatformLib.h> 24 #endif 22 25 23 26 #include <IndustryStandard/ArmStdSmc.h> … … 42 45 CONST VOID *Prop; 43 46 47 #ifndef VBOX 44 48 DeviceTreeBase = (VOID *)(UINTN)PcdGet64 (PcdDeviceTreeInitialBaseAddress); 49 #else 50 DeviceTreeBase = VBoxArmPlatformFdtGet(); 51 #endif 45 52 ASSERT (fdt_check_header (DeviceTreeBase) == 0); 46 53 -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf
r99464 r101433 27 27 MdeModulePkg/MdeModulePkg.dec 28 28 MdePkg/MdePkg.dec 29 VBoxPkg/VBoxPkg.dec # VBox: Added 29 30 30 31 [LibraryClasses] … … 35 36 FdtLib 36 37 HobLib 38 VBoxArmPlatformLib 37 39 38 40 [Pcd] -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.c
r99464 r101433 17 17 #include <Library/SerialPortLib.h> 18 18 #include <libfdt.h> 19 #ifdef VBOX 20 # include <Library/VBoxArmPlatformLib.h> 21 #endif 19 22 20 23 RETURN_STATUS … … 66 69 RETURN_STATUS Status; 67 70 71 #ifndef VBOX 68 72 DeviceTreeBase = (VOID *)(UINTN)PcdGet64 (PcdDeviceTreeInitialBaseAddress); 73 #else 74 DeviceTreeBase = VBoxArmPlatformFdtGet(); 75 #endif 69 76 70 77 if ((DeviceTreeBase == NULL) || (fdt_check_header (DeviceTreeBase) != 0)) { -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
r99464 r101433 24 24 PcdLib 25 25 FdtLib 26 VBoxArmPlatformLib # VBox: Added 26 27 27 28 [Packages] … … 30 31 ArmPlatformPkg/ArmPlatformPkg.dec 31 32 ArmVirtPkg/ArmVirtPkg.dec 33 VBoxPkg/VBoxPkg.dec # VBox: Added 32 34 33 35 [Pcd] -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c
r101291 r101433 16 16 #include <Library/PeiServicesLib.h> 17 17 #include <libfdt.h> 18 #ifdef VBOX 19 # include <Library/VBoxArmPlatformLib.h> 20 #endif 18 21 19 22 #include <Guid/EarlyPL011BaseAddress.h> … … 58 61 EFI_STATUS Status; 59 62 63 #ifndef VBOX 60 64 Base = (VOID *)(UINTN)PcdGet64 (PcdDeviceTreeInitialBaseAddress); 65 #else 66 Base = VBoxArmPlatformFdtGet(); 67 #endif 61 68 ASSERT (Base != NULL); 62 69 ASSERT (fdt_check_header (Base) == 0); -
trunk/src/VBox/Devices/EFI/Firmware/ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
r99464 r101433 27 27 OvmfPkg/OvmfPkg.dec 28 28 SecurityPkg/SecurityPkg.dec 29 VBoxPkg/VBoxPkg.dec # VBox: Added 29 30 30 31 [FeaturePcd]
Note:
See TracChangeset
for help on using the changeset viewer.