1 | /* $Id: VBoxDD.h 91416 2021-09-28 06:15:49Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Built-in drivers & devices (part 1) header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-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 |
|
---|
18 | #ifndef VBOX_INCLUDED_SRC_build_VBoxDD_h
|
---|
19 | #define VBOX_INCLUDED_SRC_build_VBoxDD_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #include <VBox/vmm/pdm.h>
|
---|
25 |
|
---|
26 | RT_C_DECLS_BEGIN
|
---|
27 |
|
---|
28 | /** The default BIOS logo data. */
|
---|
29 | extern const unsigned char g_abVgaDefBiosLogo[];
|
---|
30 | extern const unsigned char g_abVgaDefBiosLogoNY[];
|
---|
31 | /** The size of the default BIOS logo data. */
|
---|
32 | extern const unsigned g_cbVgaDefBiosLogo;
|
---|
33 | extern const unsigned g_cbVgaDefBiosLogoNY;
|
---|
34 |
|
---|
35 |
|
---|
36 | extern const PDMDEVREG g_DevicePCI;
|
---|
37 | extern const PDMDEVREG g_DevicePciIch9;
|
---|
38 | extern const PDMDEVREG g_DevicePcArch;
|
---|
39 | extern const PDMDEVREG g_DevicePcBios;
|
---|
40 | extern const PDMDEVREG g_DeviceIOAPIC;
|
---|
41 | extern const PDMDEVREG g_DevicePS2KeyboardMouse;
|
---|
42 | extern const PDMDEVREG g_DeviceI8254;
|
---|
43 | extern const PDMDEVREG g_DeviceI8259;
|
---|
44 | extern const PDMDEVREG g_DeviceHPET;
|
---|
45 | extern const PDMDEVREG g_DeviceSmc;
|
---|
46 | extern const PDMDEVREG g_DeviceFlash;
|
---|
47 | extern const PDMDEVREG g_DeviceMC146818;
|
---|
48 | extern const PDMDEVREG g_DevicePIIX3IDE;
|
---|
49 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
50 | extern const PDMDEVREG g_DeviceVga;
|
---|
51 | extern const PDMDEVREG g_DeviceVMMDev;
|
---|
52 | extern const PDMDEVREG g_DevicePCNet;
|
---|
53 | #ifdef VBOX_WITH_E1000
|
---|
54 | extern const PDMDEVREG g_DeviceE1000;
|
---|
55 | #endif
|
---|
56 | #ifdef VBOX_WITH_VIRTIO
|
---|
57 | extern const PDMDEVREG g_DeviceVirtioNet;
|
---|
58 | #endif
|
---|
59 | #ifdef VBOX_WITH_VIRTIO_NET_1_0
|
---|
60 | extern const PDMDEVREG g_DeviceVirtioNet_1_0;
|
---|
61 | #endif
|
---|
62 | #ifdef VBOX_WITH_INIP
|
---|
63 | extern const PDMDEVREG g_DeviceINIP;
|
---|
64 | #endif
|
---|
65 | extern const PDMDEVREG g_DeviceICHAC97;
|
---|
66 | extern const PDMDEVREG g_DeviceSB16;
|
---|
67 | extern const PDMDEVREG g_DeviceHDA;
|
---|
68 | extern const PDMDEVREG g_DeviceOHCI;
|
---|
69 | extern const PDMDEVREG g_DeviceEHCI;
|
---|
70 | extern const PDMDEVREG g_DeviceXHCI;
|
---|
71 | extern const PDMDEVREG g_DeviceACPI;
|
---|
72 | extern const PDMDEVREG g_DeviceDMA;
|
---|
73 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
74 | extern const PDMDEVREG g_DeviceSerialPort;
|
---|
75 | extern const PDMDEVREG g_DeviceOxPcie958;
|
---|
76 | extern const PDMDEVREG g_DeviceParallelPort;
|
---|
77 | #ifdef VBOX_WITH_AHCI
|
---|
78 | extern const PDMDEVREG g_DeviceAHCI;
|
---|
79 | #endif
|
---|
80 | #ifdef VBOX_WITH_BUSLOGIC
|
---|
81 | extern const PDMDEVREG g_DeviceBusLogic;
|
---|
82 | #endif
|
---|
83 | extern const PDMDEVREG g_DevicePCIBridge;
|
---|
84 | extern const PDMDEVREG g_DevicePciIch9Bridge;
|
---|
85 | #ifdef VBOX_WITH_LSILOGIC
|
---|
86 | extern const PDMDEVREG g_DeviceLsiLogicSCSI;
|
---|
87 | extern const PDMDEVREG g_DeviceLsiLogicSAS;
|
---|
88 | #endif
|
---|
89 | #ifdef VBOX_WITH_NVME_IMPL
|
---|
90 | extern const PDMDEVREG g_DeviceNVMe;
|
---|
91 | #endif
|
---|
92 | #ifdef VBOX_WITH_VIRTIO_SCSI
|
---|
93 | extern const PDMDEVREG g_DeviceVirtioSCSI;
|
---|
94 | #endif
|
---|
95 | #ifdef VBOX_WITH_EFI
|
---|
96 | extern const PDMDEVREG g_DeviceEFI;
|
---|
97 | #endif
|
---|
98 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
99 | extern const PDMDEVREG g_DevicePciRaw;
|
---|
100 | #endif
|
---|
101 | extern const PDMDEVREG g_DeviceGIMDev;
|
---|
102 | extern const PDMDEVREG g_DeviceLPC;
|
---|
103 | #ifdef VBOX_WITH_VIRTUALKD
|
---|
104 | extern const PDMDEVREG g_DeviceVirtualKD;
|
---|
105 | #endif
|
---|
106 | extern const PDMDEVREG g_DeviceQemuFwCfg;
|
---|
107 | #ifdef VBOX_WITH_TPM
|
---|
108 | extern const PDMDEVREG g_DeviceTpm;
|
---|
109 | #endif
|
---|
110 |
|
---|
111 | extern const PDMDRVREG g_DrvMouseQueue;
|
---|
112 | extern const PDMDRVREG g_DrvKeyboardQueue;
|
---|
113 | extern const PDMDRVREG g_DrvVBoxHDD;
|
---|
114 | extern const PDMDRVREG g_DrvVD;
|
---|
115 | extern const PDMDRVREG g_DrvHostDVD;
|
---|
116 | extern const PDMDRVREG g_DrvHostFloppy;
|
---|
117 | extern const PDMDRVREG g_DrvISCSI;
|
---|
118 | extern const PDMDRVREG g_DrvISCSITransportTcp;
|
---|
119 | #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
|
---|
120 | extern const PDMDRVREG g_DrvHostInterface;
|
---|
121 | #endif
|
---|
122 | #ifdef VBOX_WITH_UDPTUNNEL
|
---|
123 | extern const PDMDRVREG g_DrvUDPTunnel;
|
---|
124 | #endif
|
---|
125 | #ifdef VBOX_WITH_VDE
|
---|
126 | extern const PDMDRVREG g_DrvVDE;
|
---|
127 | #endif
|
---|
128 | extern const PDMDRVREG g_DrvIntNet;
|
---|
129 | extern const PDMDRVREG g_DrvDedicatedNic;
|
---|
130 | extern const PDMDRVREG g_DrvNAT;
|
---|
131 | #ifdef VBOX_WITH_NETSHAPER
|
---|
132 | extern const PDMDRVREG g_DrvNetShaper;
|
---|
133 | #endif /* VBOX_WITH_NETSHAPER */
|
---|
134 | #ifdef VBOX_WITH_VMNET
|
---|
135 | extern const PDMDRVREG g_DrvVMNet;
|
---|
136 | #endif /* VBOX_WITH_VMNET */
|
---|
137 | extern const PDMDRVREG g_DrvNetSniffer;
|
---|
138 | extern const PDMDRVREG g_DrvAUDIO;
|
---|
139 | #ifdef VBOX_WITH_AUDIO_DEBUG
|
---|
140 | extern const PDMDRVREG g_DrvHostDebugAudio;
|
---|
141 | #endif
|
---|
142 | #ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
|
---|
143 | extern const PDMDRVREG g_DrvHostValidationKitAudio;
|
---|
144 | #endif
|
---|
145 | extern const PDMDRVREG g_DrvHostNullAudio;
|
---|
146 | extern DECL_HIDDEN_DATA(struct PDMIHOSTAUDIO) const g_DrvHostAudioNull;
|
---|
147 | #if defined(RT_OS_WINDOWS)
|
---|
148 | extern const PDMDRVREG g_DrvHostDSound;
|
---|
149 | extern const PDMDRVREG g_DrvHostAudioWas;
|
---|
150 | #endif
|
---|
151 | #if defined(RT_OS_DARWIN)
|
---|
152 | extern const PDMDRVREG g_DrvHostCoreAudio;
|
---|
153 | #endif
|
---|
154 | #ifdef VBOX_WITH_AUDIO_OSS
|
---|
155 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
156 | #endif
|
---|
157 | #ifdef VBOX_WITH_AUDIO_ALSA
|
---|
158 | extern const PDMDRVREG g_DrvHostALSAAudio;
|
---|
159 | #endif
|
---|
160 | #ifdef VBOX_WITH_AUDIO_PULSE
|
---|
161 | extern const PDMDRVREG g_DrvHostPulseAudio;
|
---|
162 | #endif
|
---|
163 | extern const PDMDRVREG g_DrvACPI;
|
---|
164 | extern const PDMDRVREG g_DrvAcpiCpu;
|
---|
165 | extern const PDMDRVREG g_DrvVUSBRootHub;
|
---|
166 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
167 | extern const PDMDRVREG g_DrvHostWebcam;
|
---|
168 | #endif
|
---|
169 | extern const PDMDRVREG g_DrvChar;
|
---|
170 | extern const PDMDRVREG g_DrvNamedPipe;
|
---|
171 | extern const PDMDRVREG g_DrvTCP;
|
---|
172 | extern const PDMDRVREG g_DrvUDP;
|
---|
173 | extern const PDMDRVREG g_DrvRawFile;
|
---|
174 | extern const PDMDRVREG g_DrvHostParallel;
|
---|
175 | extern const PDMDRVREG g_DrvHostSerial;
|
---|
176 | #ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
177 | extern const PDMDRVREG g_DrvDiskIntegrity;
|
---|
178 | extern const PDMDRVREG g_DrvRamDisk;
|
---|
179 | #endif
|
---|
180 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
181 | extern const PDMDRVREG g_DrvPciRaw;
|
---|
182 | #endif
|
---|
183 |
|
---|
184 | #ifdef VBOX_WITH_USB
|
---|
185 | extern const PDMUSBREG g_UsbDevProxy;
|
---|
186 | extern const PDMUSBREG g_UsbMsd;
|
---|
187 | #endif
|
---|
188 | #ifdef VBOX_WITH_VUSB
|
---|
189 | extern const PDMUSBREG g_UsbHid;
|
---|
190 | extern const PDMUSBREG g_UsbHidKbd;
|
---|
191 | extern const PDMUSBREG g_UsbHidMou;
|
---|
192 | #endif
|
---|
193 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
194 | extern const PDMUSBREG g_DevWebcam;
|
---|
195 | #endif
|
---|
196 |
|
---|
197 | #ifdef VBOX_WITH_SCSI
|
---|
198 | extern const PDMDRVREG g_DrvSCSI;
|
---|
199 | #endif
|
---|
200 |
|
---|
201 | extern const PDMDRVREG g_DrvIfTrace;
|
---|
202 | #ifdef VBOX_WITH_TPM
|
---|
203 | extern const PDMDRVREG g_DrvTpmEmu;
|
---|
204 | # ifdef RT_OS_LINUX
|
---|
205 | extern const PDMDRVREG g_DrvTpmHost;
|
---|
206 | # endif
|
---|
207 | # ifdef VBOX_WITH_LIBTPMS
|
---|
208 | extern const PDMDRVREG g_DrvTpmEmuTpms;
|
---|
209 | # endif
|
---|
210 | #endif
|
---|
211 |
|
---|
212 | #ifdef VBOX_WITH_IOMMU_AMD
|
---|
213 | extern const PDMDEVREG g_DeviceIommuAmd;
|
---|
214 | #endif
|
---|
215 | #ifdef VBOX_WITH_IOMMU_INTEL
|
---|
216 | extern const PDMDEVREG g_DeviceIommuIntel;
|
---|
217 | #endif
|
---|
218 |
|
---|
219 | /* VBoxAcpi.cpp */
|
---|
220 | int acpiPrepareDsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbDsdt);
|
---|
221 | int acpiCleanupDsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
222 | int acpiPrepareSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
223 | int acpiCleanupSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
224 |
|
---|
225 | #ifdef VBOX_WITH_TPM
|
---|
226 | int acpiPrepareTpmSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
227 | int acpiCleanupTpmSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
228 | #endif
|
---|
229 |
|
---|
230 | RT_C_DECLS_END
|
---|
231 |
|
---|
232 | #endif /* !VBOX_INCLUDED_SRC_build_VBoxDD_h */
|
---|
233 |
|
---|