VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/DevEFI-binaries.S@ 95433

Last change on this file since 95433 was 93115, checked in by vboxsync, 3 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/* $Id: DevEFI-binaries.S 93115 2022-01-01 11:31:46Z vboxsync $ */
2/** @file
3 * DevEFI - firmware binaries.
4 */
5
6/*
7 * Copyright (C) 2011-2022 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
18
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)
30NAME(g_abEfiFirmware32):
31 .incbin "VBoxEFI32.fd"
32end_32_firmware:
33
34.p2align 2
35.globl NAME(g_cbEfiFirmware32)
36NAME(g_cbEfiFirmware32):
37 .long end_32_firmware - NAME(g_abEfiFirmware32)
38
39
40; 64-bit firmware:
41.p2align 6
42.globl NAME(g_abEfiFirmware64)
43NAME(g_abEfiFirmware64):
44 .incbin "VBoxEFI64.fd"
45end_64_firmware:
46
47.p2align 2
48.globl NAME(g_cbEfiFirmware64)
49NAME(g_cbEfiFirmware64):
50 .long end_64_firmware - NAME(g_abEfiFirmware64)
51
52#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
57
58.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
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette