Changeset 87286 in vbox
- Timestamp:
- Jan 15, 2021 8:51:46 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI-binaries.S
r87239 r87286 1 ; $Id$ 2 ;;@file3 ;DevEFI - firmware binaries.4 ; 1 /* $Id$ */ 2 /** @file 3 * DevEFI - firmware binaries. 4 */ 5 5 6 ; 7 ;Copyright (C) 2011-2020 Oracle Corporation8 ; 9 ;This file is part of VirtualBox Open Source Edition (OSE), as10 ;available from http://www.virtualbox.org. This file is free software;11 ;you can redistribute it and/or modify it under the terms of the GNU12 ;General Public License (GPL) as published by the Free Software13 ;Foundation, in version 2 as it comes in the "COPYING" file of the14 ;VirtualBox OSE distribution. VirtualBox OSE is distributed in the15 ;hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.16 ; 6 /* 7 * Copyright (C) 2011-2020 Oracle Corporation 8 * 9 * This file is part of VirtualBox Open Source Edition (OSE), as 10 * available from http://www.virtualbox.org. This file is free software; 11 * you can redistribute it and/or modify it under the terms of the GNU 12 * General Public License (GPL) as published by the Free Software 13 * Foundation, in version 2 as it comes in the "COPYING" file of the 14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 */ 17 17 18 18 19 ;********************************************************************************************************************************* 20 ;* Header Files * 21 ;********************************************************************************************************************************* 22 %include "VBox/asmdefs.mac" 23 %include "VBox/err.mac" 24 %include "iprt/x86.mac" 19 #ifdef RT_OS_DARWIN 20 #define NAME(a_Name) _##a_Name 21 #else 22 #define NAME(a_Name) a_Name 23 #endif 24 25 .section __TEXT,__const 26 27 ; 32-bit firmware: 28 .p2align 6 29 .globl NAME(g_abEfiFirmware32) 30 NAME(g_abEfiFirmware32): 31 .incbin "VBoxEFI32.fd" 32 end_32_firmware: 33 34 .p2align 2 35 .globl NAME(g_cbEfiFirmware32) 36 NAME(g_cbEfiFirmware32): 37 .long end_32_firmware - NAME(g_abEfiFirmware32) 25 38 26 39 27 BEGINCONST 28 EXPORTEDNAME g_abEfiFirmware32 29 incbin "VBoxEFI32.fd" 30 end_32_firmware:31 EXPORTEDNAME g_cbEfiFirmware32 32 dd end_32_firmware - NAME(g_abEfiFirmware32) 40 ; 64-bit firmware: 41 .p2align 6 42 .globl NAME(g_abEfiFirmware64) 43 NAME(g_abEfiFirmware64): 44 .incbin "VBoxEFI64.fd" 45 end_64_firmware: 33 46 34 ALIGNDATA(64) 35 EXPORTEDNAME g_abEfiFirmware64 36 incbin "VBoxEFI64.fd" 37 end_64_firmware: 38 EXPORTEDNAME g_cbEfiFirmware64 39 dd end_64_firmware - NAME(g_abEfiFirmware64) 47 .p2align 2 48 .globl NAME(g_cbEfiFirmware64) 49 NAME(g_cbEfiFirmware64): 50 .long end_64_firmware - NAME(g_abEfiFirmware64) 40 51 41 %ifdef ASM_FORMAT_ELF42 size g_abEfiFirmware32 end_32_firmware - NAME(g_abEfiFirmware32)43 type g_abEfiFirmware32 object44 size g_cbEfiFirmware32 445 type g_cbEfiFirmware32 object52 #ifdef ASM_FORMAT_ELF 53 .size g_abEfiFirmware32 end_32_firmware - NAME(g_abEfiFirmware32) 54 .type g_abEfiFirmware32 object 55 .size g_cbEfiFirmware32 4 56 .type g_cbEfiFirmware32 object 46 57 47 size g_abEfiFirmware64 end_64_firmware - NAME(g_abEfiFirmware64)48 type g_abEfiFirmware64 object49 size g_cbEfiFirmware64 450 type g_cbEfiFirmware64 object51 %endif58 .size g_abEfiFirmware64 end_64_firmware - NAME(g_abEfiFirmware64) 59 .type g_abEfiFirmware64 object 60 .size g_cbEfiFirmware64 4 61 .type g_cbEfiFirmware64 object 62 #endif -
trunk/src/VBox/Devices/Makefile.kmk
r87050 r87286 1117 1117 VBoxDD_DEFS += VBOX_WITH_EFI_IN_DD2 1118 1118 VBoxDD2_DEFS += VBOX_WITH_EFI 1119 VBoxDD2_SOURCES += \1120 1119 VBoxDD2_SOURCES.x86 += EFI/DevEFI-binaries.asm 1120 VBoxDD2_SOURCES.amd64 += EFI/DevEFI-binaries.asm 1121 1121 EFI/DevEFI-binaries.asm_ASINCS = $(PATH_STAGE)/$(INST_BIN) 1122 1122 EFI/DevEFI-binaries.asm_DEPS = \ 1123 $(PATH_STAGE)/$(INST_BIN)VBoxEFI32.fd \ 1124 $(PATH_STAGE)/$(INST_BIN)VBoxEFI64.fd 1125 1126 VBoxDD2_SOURCES.arm64 += EFI/DevEFI-binaries.S 1127 EFI/DevEFI-binaries.S_ASINCS = $(PATH_STAGE)/$(INST_BIN) 1128 EFI/DevEFI-binaries.S_DEPS = \ 1123 1129 $(PATH_STAGE)/$(INST_BIN)VBoxEFI32.fd \ 1124 1130 $(PATH_STAGE)/$(INST_BIN)VBoxEFI64.fd
Note:
See TracChangeset
for help on using the changeset viewer.