1 | /* $Id: VBoxDD.h 100128 2023-06-08 16:45:25Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Built-in drivers & devices (part 1) header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef VBOX_INCLUDED_SRC_build_VBoxDD_h
|
---|
29 | #define VBOX_INCLUDED_SRC_build_VBoxDD_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #include <VBox/vmm/pdm.h>
|
---|
35 |
|
---|
36 | RT_C_DECLS_BEGIN
|
---|
37 |
|
---|
38 | /** The default BIOS logo data. */
|
---|
39 | extern const unsigned char g_abVgaDefBiosLogo[];
|
---|
40 | extern const unsigned char g_abVgaDefBiosLogoNY[];
|
---|
41 | /** The size of the default BIOS logo data. */
|
---|
42 | extern const unsigned g_cbVgaDefBiosLogo;
|
---|
43 | extern const unsigned g_cbVgaDefBiosLogoNY;
|
---|
44 |
|
---|
45 |
|
---|
46 | extern const PDMDEVREG g_DevicePCI;
|
---|
47 | extern const PDMDEVREG g_DevicePciIch9;
|
---|
48 | extern const PDMDEVREG g_DevicePcArch;
|
---|
49 | extern const PDMDEVREG g_DevicePcBios;
|
---|
50 | extern const PDMDEVREG g_DeviceIOAPIC;
|
---|
51 | extern const PDMDEVREG g_DevicePS2KeyboardMouse;
|
---|
52 | extern const PDMDEVREG g_DeviceI8254;
|
---|
53 | extern const PDMDEVREG g_DeviceI8259;
|
---|
54 | extern const PDMDEVREG g_DeviceHPET;
|
---|
55 | extern const PDMDEVREG g_DeviceSmc;
|
---|
56 | extern const PDMDEVREG g_DeviceFlash;
|
---|
57 | extern const PDMDEVREG g_DeviceMC146818;
|
---|
58 | extern const PDMDEVREG g_DevicePIIX3IDE;
|
---|
59 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
60 | extern const PDMDEVREG g_DeviceVga;
|
---|
61 | extern const PDMDEVREG g_DeviceVMMDev;
|
---|
62 | extern const PDMDEVREG g_DevicePCNet;
|
---|
63 | #ifdef VBOX_WITH_E1000
|
---|
64 | extern const PDMDEVREG g_DeviceE1000;
|
---|
65 | #endif
|
---|
66 | #ifdef VBOX_WITH_VIRTIO
|
---|
67 | extern const PDMDEVREG g_DeviceVirtioNet;
|
---|
68 | #endif
|
---|
69 | extern const PDMDEVREG g_DeviceDP8390;
|
---|
70 | extern const PDMDEVREG g_Device3C501;
|
---|
71 | #ifdef VBOX_WITH_INIP
|
---|
72 | extern const PDMDEVREG g_DeviceINIP;
|
---|
73 | #endif
|
---|
74 | extern const PDMDEVREG g_DeviceICHAC97;
|
---|
75 | extern const PDMDEVREG g_DeviceSB16;
|
---|
76 | extern const PDMDEVREG g_DeviceHDA;
|
---|
77 | extern const PDMDEVREG g_DeviceOHCI;
|
---|
78 | extern const PDMDEVREG g_DeviceEHCI;
|
---|
79 | extern const PDMDEVREG g_DeviceXHCI;
|
---|
80 | extern const PDMDEVREG g_DeviceACPI;
|
---|
81 | extern const PDMDEVREG g_DeviceDMA;
|
---|
82 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
83 | extern const PDMDEVREG g_DeviceSerialPort;
|
---|
84 | extern const PDMDEVREG g_DeviceOxPcie958;
|
---|
85 | extern const PDMDEVREG g_DeviceParallelPort;
|
---|
86 | #ifdef VBOX_WITH_AHCI
|
---|
87 | extern const PDMDEVREG g_DeviceAHCI;
|
---|
88 | #endif
|
---|
89 | #ifdef VBOX_WITH_BUSLOGIC
|
---|
90 | extern const PDMDEVREG g_DeviceBusLogic;
|
---|
91 | #endif
|
---|
92 | extern const PDMDEVREG g_DevicePCIBridge;
|
---|
93 | extern const PDMDEVREG g_DevicePciIch9Bridge;
|
---|
94 | #ifdef VBOX_WITH_LSILOGIC
|
---|
95 | extern const PDMDEVREG g_DeviceLsiLogicSCSI;
|
---|
96 | extern const PDMDEVREG g_DeviceLsiLogicSAS;
|
---|
97 | #endif
|
---|
98 | #ifdef VBOX_WITH_NVME_IMPL
|
---|
99 | extern const PDMDEVREG g_DeviceNVMe;
|
---|
100 | #endif
|
---|
101 | #ifdef VBOX_WITH_VIRTIO_SCSI
|
---|
102 | extern const PDMDEVREG g_DeviceVirtioSCSI;
|
---|
103 | #endif
|
---|
104 | #ifdef VBOX_WITH_EFI
|
---|
105 | extern const PDMDEVREG g_DeviceEFI;
|
---|
106 | #endif
|
---|
107 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
108 | extern const PDMDEVREG g_DevicePciRaw;
|
---|
109 | #endif
|
---|
110 | extern const PDMDEVREG g_DeviceGIMDev;
|
---|
111 | extern const PDMDEVREG g_DeviceLPC;
|
---|
112 | #ifdef VBOX_WITH_VIRTUALKD
|
---|
113 | extern const PDMDEVREG g_DeviceVirtualKD;
|
---|
114 | #endif
|
---|
115 | extern const PDMDEVREG g_DeviceQemuFwCfg;
|
---|
116 | #ifdef VBOX_WITH_TPM
|
---|
117 | extern const PDMDEVREG g_DeviceTpm;
|
---|
118 | #endif
|
---|
119 |
|
---|
120 | extern const PDMDRVREG g_DrvMouseQueue;
|
---|
121 | extern const PDMDRVREG g_DrvKeyboardQueue;
|
---|
122 | extern const PDMDRVREG g_DrvVBoxHDD;
|
---|
123 | extern const PDMDRVREG g_DrvVD;
|
---|
124 | extern const PDMDRVREG g_DrvHostDVD;
|
---|
125 | extern const PDMDRVREG g_DrvHostFloppy;
|
---|
126 | extern const PDMDRVREG g_DrvISCSI;
|
---|
127 | extern const PDMDRVREG g_DrvISCSITransportTcp;
|
---|
128 | #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
|
---|
129 | extern const PDMDRVREG g_DrvHostInterface;
|
---|
130 | #endif
|
---|
131 | #ifdef VBOX_WITH_UDPTUNNEL
|
---|
132 | extern const PDMDRVREG g_DrvUDPTunnel;
|
---|
133 | #endif
|
---|
134 | #ifdef VBOX_WITH_VDE
|
---|
135 | extern const PDMDRVREG g_DrvVDE;
|
---|
136 | #endif
|
---|
137 | extern const PDMDRVREG g_DrvIntNet;
|
---|
138 | extern const PDMDRVREG g_DrvDedicatedNic;
|
---|
139 | #ifndef VBOX_WITH_LIBSLIRP
|
---|
140 | extern const PDMDRVREG g_DrvNAT;
|
---|
141 | #endif
|
---|
142 | #ifdef VBOX_WITH_LIBSLIRP
|
---|
143 | extern const PDMDRVREG g_DrvNATlibslirp;
|
---|
144 | #endif
|
---|
145 | #ifdef VBOX_WITH_NETSHAPER
|
---|
146 | extern const PDMDRVREG g_DrvNetShaper;
|
---|
147 | #endif /* VBOX_WITH_NETSHAPER */
|
---|
148 | #ifdef VBOX_WITH_VMNET
|
---|
149 | extern const PDMDRVREG g_DrvVMNet;
|
---|
150 | #endif /* VBOX_WITH_VMNET */
|
---|
151 | extern const PDMDRVREG g_DrvNetSniffer;
|
---|
152 | extern const PDMDRVREG g_DrvAUDIO;
|
---|
153 | #ifdef VBOX_WITH_AUDIO_DEBUG
|
---|
154 | extern const PDMDRVREG g_DrvHostDebugAudio;
|
---|
155 | #endif
|
---|
156 | #ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
|
---|
157 | extern const PDMDRVREG g_DrvHostValidationKitAudio;
|
---|
158 | #endif
|
---|
159 | extern const PDMDRVREG g_DrvHostNullAudio;
|
---|
160 | extern DECL_HIDDEN_DATA(struct PDMIHOSTAUDIO) const g_DrvHostAudioNull;
|
---|
161 | #if defined(RT_OS_WINDOWS)
|
---|
162 | extern const PDMDRVREG g_DrvHostDSound;
|
---|
163 | extern const PDMDRVREG g_DrvHostAudioWas;
|
---|
164 | #endif
|
---|
165 | #if defined(RT_OS_DARWIN)
|
---|
166 | extern const PDMDRVREG g_DrvHostCoreAudio;
|
---|
167 | #endif
|
---|
168 | #ifdef VBOX_WITH_AUDIO_OSS
|
---|
169 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
170 | #endif
|
---|
171 | #ifdef VBOX_WITH_AUDIO_ALSA
|
---|
172 | extern const PDMDRVREG g_DrvHostALSAAudio;
|
---|
173 | #endif
|
---|
174 | #ifdef VBOX_WITH_AUDIO_PULSE
|
---|
175 | extern const PDMDRVREG g_DrvHostPulseAudio;
|
---|
176 | #endif
|
---|
177 | extern const PDMDRVREG g_DrvACPI;
|
---|
178 | extern const PDMDRVREG g_DrvAcpiCpu;
|
---|
179 | extern const PDMDRVREG g_DrvVUSBRootHub;
|
---|
180 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
181 | extern const PDMDRVREG g_DrvHostWebcam;
|
---|
182 | #endif
|
---|
183 | extern const PDMDRVREG g_DrvChar;
|
---|
184 | extern const PDMDRVREG g_DrvNamedPipe;
|
---|
185 | extern const PDMDRVREG g_DrvTCP;
|
---|
186 | extern const PDMDRVREG g_DrvUDP;
|
---|
187 | extern const PDMDRVREG g_DrvRawFile;
|
---|
188 | extern const PDMDRVREG g_DrvHostParallel;
|
---|
189 | extern const PDMDRVREG g_DrvHostSerial;
|
---|
190 | #ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
191 | extern const PDMDRVREG g_DrvDiskIntegrity;
|
---|
192 | extern const PDMDRVREG g_DrvRamDisk;
|
---|
193 | #endif
|
---|
194 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
195 | extern const PDMDRVREG g_DrvPciRaw;
|
---|
196 | #endif
|
---|
197 |
|
---|
198 | #ifdef VBOX_WITH_USB
|
---|
199 | extern const PDMUSBREG g_UsbDevProxy;
|
---|
200 | extern const PDMUSBREG g_UsbMsd;
|
---|
201 | #endif
|
---|
202 | #ifdef VBOX_WITH_VUSB
|
---|
203 | extern const PDMUSBREG g_UsbHid;
|
---|
204 | extern const PDMUSBREG g_UsbHidKbd;
|
---|
205 | extern const PDMUSBREG g_UsbHidMou;
|
---|
206 | #endif
|
---|
207 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
208 | extern const PDMUSBREG g_DevWebcam;
|
---|
209 | #endif
|
---|
210 |
|
---|
211 | #ifdef VBOX_WITH_SCSI
|
---|
212 | extern const PDMDRVREG g_DrvSCSI;
|
---|
213 | #endif
|
---|
214 |
|
---|
215 | extern const PDMDRVREG g_DrvIfTrace;
|
---|
216 | #ifdef VBOX_WITH_TPM
|
---|
217 | extern const PDMDRVREG g_DrvTpmEmu;
|
---|
218 | # ifdef RT_OS_LINUX
|
---|
219 | extern const PDMDRVREG g_DrvTpmHost;
|
---|
220 | # endif
|
---|
221 | # ifdef VBOX_WITH_LIBTPMS
|
---|
222 | extern const PDMDRVREG g_DrvTpmEmuTpms;
|
---|
223 | # endif
|
---|
224 | # ifdef VBOX_WITH_CLOUD_NET
|
---|
225 | extern const PDMDRVREG g_DrvCloudTunnel;
|
---|
226 | # endif
|
---|
227 | #endif
|
---|
228 |
|
---|
229 | #ifdef VBOX_WITH_IOMMU_AMD
|
---|
230 | extern const PDMDEVREG g_DeviceIommuAmd;
|
---|
231 | #endif
|
---|
232 | #ifdef VBOX_WITH_IOMMU_INTEL
|
---|
233 | extern const PDMDEVREG g_DeviceIommuIntel;
|
---|
234 | #endif
|
---|
235 |
|
---|
236 | #ifdef VBOX_VMM_TARGET_ARMV8
|
---|
237 | extern const PDMDEVREG g_DeviceEfiArmV8;
|
---|
238 | extern const PDMDEVREG g_DevicePl011;
|
---|
239 | extern const PDMDEVREG g_DevicePl031Rtc;
|
---|
240 | extern const PDMDEVREG g_DevicePl061Gpio;
|
---|
241 | extern const PDMDEVREG g_DeviceFlashCFI;
|
---|
242 | extern const PDMDEVREG g_DevicePciGenericEcam;
|
---|
243 | #endif
|
---|
244 |
|
---|
245 | /* VBoxAcpi.cpp */
|
---|
246 | int acpiPrepareDsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbDsdt);
|
---|
247 | int acpiCleanupDsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
248 | int acpiPrepareSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
249 | int acpiCleanupSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
250 |
|
---|
251 | #ifdef VBOX_WITH_TPM
|
---|
252 | int acpiPrepareTpmSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
253 | int acpiCleanupTpmSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
254 | #endif
|
---|
255 |
|
---|
256 | RT_C_DECLS_END
|
---|
257 |
|
---|
258 | #endif /* !VBOX_INCLUDED_SRC_build_VBoxDD_h */
|
---|
259 |
|
---|