- Timestamp:
- May 23, 2023 8:05:36 AM (20 months ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI-binaries.S
r98103 r99927 71 71 .type g_cbEfiFirmware64 object 72 72 #endif 73 74 #ifdef VBOX_VMM_TARGET_ARMV8 75 ; 76 ; The ARMv8 bits 77 ; 78 79 ; 32-bit firmware: 80 .p2align 6 81 .globl NAME(g_abEfiFirmwareAArch32) 82 NAME(g_abEfiFirmwareAArch32): 83 .incbin "VBoxEFIAArch32.fd" 84 end_aarch32_firmware: 85 86 .p2align 2 87 .globl NAME(g_cbEfiFirmwareAArch32) 88 NAME(g_cbEfiFirmwareAArch32): 89 .long end_aarch32_firmware - NAME(g_abEfiFirmwareAArch32) 90 91 92 ; 64-bit firmware: 93 .p2align 6 94 .globl NAME(g_abEfiFirmwareAArch64) 95 NAME(g_abEfiFirmwareAArch64): 96 .incbin "VBoxEFIAArch64.fd" 97 end_aarch64_firmware: 98 99 .p2align 2 100 .globl NAME(g_cbEfiFirmwareAArch64) 101 NAME(g_cbEfiFirmwareAArch64): 102 .long end_aarch64_firmware - NAME(g_abEfiFirmwareAArch64) 103 104 # ifdef ASM_FORMAT_ELF 105 .size g_abEfiFirmwareAArch32 end_aarch32_firmware - NAME(g_abEfiFirmwareAArch32) 106 .type g_abEfiFirmwareAArch32 object 107 .size g_cbEfiFirmwareAArch32 4 108 .type g_cbEfiFirmwareAArch32 object 109 110 .size g_abEfiFirmwareAArch64 end_aarch64_firmware - NAME(g_abEfiFirmwareAArch64) 111 .type g_abEfiFirmwareAArch64 object 112 .size g_cbEfiFirmwareAArch64 4 113 .type g_cbEfiFirmwareAArch64 object 114 # endif 115 #endif -
trunk/src/VBox/Devices/Makefile.kmk
r99918 r99927 926 926 VBoxDD_SOURCES += \ 927 927 Bus/DevPciGenericEcam.cpp \ 928 EFI/DevEFI-armv8.cpp \ 928 929 Gpio/DevPL061.cpp \ 929 930 Misc/DevFlashCFI.cpp \ … … 1212 1213 VBoxDD2_DEFS = \ 1213 1214 IN_VBOXDD2 \ 1214 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) 1215 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) \ 1216 $(if $(VBOX_WITH_VIRT_ARMV8),VBOX_VMM_TARGET_ARMV8,) 1215 1217 VBoxDD2_INCS := \ 1216 1218 build \ … … 1243 1245 $(PATH_STAGE)/$(INST_BIN)VBoxEFI32.fd \ 1244 1246 $(PATH_STAGE)/$(INST_BIN)VBoxEFI64.fd 1247 ifdef VBOX_WITH_VIRT_ARMV8 1248 EFI/DevEFI-binaries.S_DEPS += \ 1249 $(PATH_STAGE)/$(INST_BIN)VBoxEFIAArch32.fd \ 1250 $(PATH_STAGE)/$(INST_BIN)VBoxEFIAArch64.fd 1251 endif 1245 1252 endif 1246 1253 -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r99893 r99927 249 249 #endif 250 250 #ifdef VBOX_VMM_TARGET_ARMV8 251 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceEfiArmV8); 252 if (RT_FAILURE(rc)) 253 return rc; 254 251 255 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePl011); 252 256 if (RT_FAILURE(rc)) -
trunk/src/VBox/Devices/build/VBoxDD.h
r99893 r99927 230 230 231 231 #ifdef VBOX_VMM_TARGET_ARMV8 232 extern const PDMDEVREG g_DeviceEfiArmV8; 232 233 extern const PDMDEVREG g_DevicePl011; 233 234 extern const PDMDEVREG g_DevicePl031Rtc; -
trunk/src/VBox/Devices/build/VBoxDD2.h
r98103 r99927 60 60 extern DECLEXPORT(const unsigned char) g_abEfiFirmware64[]; 61 61 extern DECLEXPORT(const unsigned) g_cbEfiFirmware64; 62 # ifdef VBOX_VMM_TARGET_ARMV8 63 extern DECLEXPORT(const unsigned char) g_abEfiFirmwareAArch32[]; 64 extern DECLEXPORT(const unsigned) g_cbEfiFirmwareAArch32; 65 extern DECLEXPORT(const unsigned char) g_abEfiFirmwareAArch64[]; 66 extern DECLEXPORT(const unsigned) g_cbEfiFirmwareAArch64; 67 # endif 62 68 # endif 63 69 #else /* !IN_VBOXDD2 */ … … 83 89 extern DECLIMPORT(const unsigned char) g_abEfiFirmware64[]; 84 90 extern DECLIMPORT(const unsigned) g_cbEfiFirmware64; 91 # ifdef VBOX_VMM_TARGET_ARMV8 92 extern DECLIMPORT(const unsigned char) g_abEfiFirmwareAArch32[]; 93 extern DECLIMPORT(const unsigned) g_cbEfiFirmwareAArch32; 94 extern DECLIMPORT(const unsigned char) g_abEfiFirmwareAArch64[]; 95 extern DECLIMPORT(const unsigned) g_cbEfiFirmwareAArch64; 96 # endif 85 97 # endif 86 98 #endif /* !IN_VBOXDD2 */ -
trunk/src/VBox/Main/src-client/ConsoleImplConfigArmV8.cpp
r99925 r99927 178 178 179 179 PCFGMNODE pMemRegion = NULL; 180 InsertConfigNode(pMem, "Flash", &pMemRegion);181 InsertConfigInteger(pMemRegion, "GCPhysStart", 0);182 InsertConfigInteger(pMemRegion, "Size", 64 * _1M);183 184 180 InsertConfigNode(pMem, "Conventional", &pMemRegion); 185 181 InsertConfigInteger(pMemRegion, "GCPhysStart", 0x40000000); … … 285 281 286 282 InsertConfigNode(pRoot, "Devices", &pDevices); 283 284 InsertConfigNode(pDevices, "efi-armv8", &pDev); 285 InsertConfigNode(pDev, "0", &pInst); 286 InsertConfigNode(pInst, "Config", &pCfg); 287 InsertConfigInteger(pCfg, "GCPhysLoadAddress", 0); 288 InsertConfigString(pCfg, "EfiRom", "VBoxEFIAArch64.fd"); 287 289 288 290 InsertConfigNode(pDevices, "gic", &pDev);
Note:
See TracChangeset
for help on using the changeset viewer.