1 | /* $Id: VBoxDD2.h 101616 2023-10-27 12:37:51Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Built-in drivers & devices part 2 header.
|
---|
4 | *
|
---|
5 | * These drivers and devices are in separate modules because of LGPL.
|
---|
6 | */
|
---|
7 |
|
---|
8 | /*
|
---|
9 | * Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
10 | *
|
---|
11 | * This file is part of VirtualBox base platform packages, as
|
---|
12 | * available from https://www.virtualbox.org.
|
---|
13 | *
|
---|
14 | * This program is free software; you can redistribute it and/or
|
---|
15 | * modify it under the terms of the GNU General Public License
|
---|
16 | * as published by the Free Software Foundation, in version 3 of the
|
---|
17 | * License.
|
---|
18 | *
|
---|
19 | * This program is distributed in the hope that it will be useful, but
|
---|
20 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
22 | * General Public License for more details.
|
---|
23 | *
|
---|
24 | * You should have received a copy of the GNU General Public License
|
---|
25 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
26 | *
|
---|
27 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef VBOX_INCLUDED_SRC_build_VBoxDD2_h
|
---|
31 | #define VBOX_INCLUDED_SRC_build_VBoxDD2_h
|
---|
32 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
33 | # pragma once
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | #include <VBox/vmm/pdm.h>
|
---|
37 |
|
---|
38 | RT_C_DECLS_BEGIN
|
---|
39 |
|
---|
40 | #ifdef IN_VBOXDD2
|
---|
41 | extern DECLEXPORT(const unsigned char) g_abPcBiosBinary386[];
|
---|
42 | extern DECLEXPORT(const unsigned) g_cbPcBiosBinary386;
|
---|
43 | extern DECLEXPORT(const unsigned char) g_abPcBiosBinary286[];
|
---|
44 | extern DECLEXPORT(const unsigned) g_cbPcBiosBinary286;
|
---|
45 | extern DECLEXPORT(const unsigned char) g_abPcBiosBinary8086[];
|
---|
46 | extern DECLEXPORT(const unsigned) g_cbPcBiosBinary8086;
|
---|
47 | extern DECLEXPORT(const unsigned char) g_abVgaBiosBinary386[];
|
---|
48 | extern DECLEXPORT(const unsigned) g_cbVgaBiosBinary386;
|
---|
49 | extern DECLEXPORT(const unsigned char) g_abVgaBiosBinary286[];
|
---|
50 | extern DECLEXPORT(const unsigned) g_cbVgaBiosBinary286;
|
---|
51 | extern DECLEXPORT(const unsigned char) g_abVgaBiosBinary8086[];
|
---|
52 | extern DECLEXPORT(const unsigned) g_cbVgaBiosBinary8086;
|
---|
53 | # ifdef VBOX_WITH_PXE_ROM
|
---|
54 | extern DECLEXPORT(const unsigned char) g_abNetBiosBinary[];
|
---|
55 | extern DECLEXPORT(const unsigned) g_cbNetBiosBinary;
|
---|
56 | # endif
|
---|
57 | # ifdef VBOX_WITH_EFI_IN_DD2
|
---|
58 | extern DECLEXPORT(const unsigned char) g_abEfiFirmware32[];
|
---|
59 | extern DECLEXPORT(const unsigned) g_cbEfiFirmware32;
|
---|
60 | extern DECLEXPORT(const unsigned char) g_abEfiFirmware64[];
|
---|
61 | extern DECLEXPORT(const unsigned) g_cbEfiFirmware64;
|
---|
62 | # ifdef VBOX_WITH_VIRT_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
|
---|
68 | # endif
|
---|
69 | #else /* !IN_VBOXDD2 */
|
---|
70 | extern DECLIMPORT(const unsigned char) g_abPcBiosBinary386[];
|
---|
71 | extern DECLIMPORT(const unsigned) g_cbPcBiosBinary386;
|
---|
72 | extern DECLIMPORT(const unsigned char) g_abPcBiosBinary286[];
|
---|
73 | extern DECLIMPORT(const unsigned) g_cbPcBiosBinary286;
|
---|
74 | extern DECLIMPORT(const unsigned char) g_abPcBiosBinary8086[];
|
---|
75 | extern DECLIMPORT(const unsigned) g_cbPcBiosBinary8086;
|
---|
76 | extern DECLIMPORT(const unsigned char) g_abVgaBiosBinary386[];
|
---|
77 | extern DECLIMPORT(const unsigned) g_cbVgaBiosBinary386;
|
---|
78 | extern DECLIMPORT(const unsigned char) g_abVgaBiosBinary286[];
|
---|
79 | extern DECLIMPORT(const unsigned) g_cbVgaBiosBinary286;
|
---|
80 | extern DECLIMPORT(const unsigned char) g_abVgaBiosBinary8086[];
|
---|
81 | extern DECLIMPORT(const unsigned) g_cbVgaBiosBinary8086;
|
---|
82 | # ifdef VBOX_WITH_PXE_ROM
|
---|
83 | extern DECLIMPORT(const unsigned char) g_abNetBiosBinary[];
|
---|
84 | extern DECLIMPORT(const unsigned) g_cbNetBiosBinary;
|
---|
85 | # endif
|
---|
86 | # ifdef VBOX_WITH_EFI_IN_DD2
|
---|
87 | extern DECLIMPORT(const unsigned char) g_abEfiFirmware32[];
|
---|
88 | extern DECLIMPORT(const unsigned) g_cbEfiFirmware32;
|
---|
89 | extern DECLIMPORT(const unsigned char) g_abEfiFirmware64[];
|
---|
90 | extern DECLIMPORT(const unsigned) g_cbEfiFirmware64;
|
---|
91 | # ifdef VBOX_WITH_VIRT_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
|
---|
97 | # endif
|
---|
98 | #endif /* !IN_VBOXDD2 */
|
---|
99 |
|
---|
100 | RT_C_DECLS_END
|
---|
101 |
|
---|
102 | #endif /* !VBOX_INCLUDED_SRC_build_VBoxDD2_h */
|
---|