1 | /* $Id: VBoxDD.h 78799 2019-05-28 05:38:34Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Built-in drivers & devices (part 1) header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2019 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_INIP
|
---|
60 | extern const PDMDEVREG g_DeviceINIP;
|
---|
61 | #endif
|
---|
62 | extern const PDMDEVREG g_DeviceICHAC97;
|
---|
63 | extern const PDMDEVREG g_DeviceSB16;
|
---|
64 | extern const PDMDEVREG g_DeviceHDA;
|
---|
65 | extern const PDMDEVREG g_DeviceOHCI;
|
---|
66 | extern const PDMDEVREG g_DeviceEHCI;
|
---|
67 | extern const PDMDEVREG g_DeviceXHCI;
|
---|
68 | extern const PDMDEVREG g_DeviceACPI;
|
---|
69 | extern const PDMDEVREG g_DeviceDMA;
|
---|
70 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
71 | extern const PDMDEVREG g_DeviceSerialPort;
|
---|
72 | extern const PDMDEVREG g_DeviceOxPcie958;
|
---|
73 | extern const PDMDEVREG g_DeviceParallelPort;
|
---|
74 | #ifdef VBOX_WITH_AHCI
|
---|
75 | extern const PDMDEVREG g_DeviceAHCI;
|
---|
76 | #endif
|
---|
77 | #ifdef VBOX_WITH_BUSLOGIC
|
---|
78 | extern const PDMDEVREG g_DeviceBusLogic;
|
---|
79 | #endif
|
---|
80 | extern const PDMDEVREG g_DevicePCIBridge;
|
---|
81 | extern const PDMDEVREG g_DevicePciIch9Bridge;
|
---|
82 | #ifdef VBOX_WITH_LSILOGIC
|
---|
83 | extern const PDMDEVREG g_DeviceLsiLogicSCSI;
|
---|
84 | extern const PDMDEVREG g_DeviceLsiLogicSAS;
|
---|
85 | #endif
|
---|
86 | #ifdef VBOX_WITH_NVME_IMPL
|
---|
87 | extern const PDMDEVREG g_DeviceNVMe;
|
---|
88 | #endif
|
---|
89 | #ifdef VBOX_WITH_VIRTIO_SCSI
|
---|
90 | extern const PDMDEVREG g_DeviceVirtioSCSI;
|
---|
91 | #endif
|
---|
92 | #ifdef VBOX_WITH_EFI
|
---|
93 | extern const PDMDEVREG g_DeviceEFI;
|
---|
94 | #endif
|
---|
95 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
96 | extern const PDMDEVREG g_DevicePciRaw;
|
---|
97 | #endif
|
---|
98 | extern const PDMDEVREG g_DeviceGIMDev;
|
---|
99 | #ifdef VBOX_WITH_NEW_LPC_DEVICE
|
---|
100 | extern const PDMDEVREG g_DeviceLPC;
|
---|
101 | #endif
|
---|
102 | #ifdef VBOX_WITH_VIRTUALKD
|
---|
103 | extern const PDMDEVREG g_DeviceVirtualKD;
|
---|
104 | #endif
|
---|
105 |
|
---|
106 | extern const PDMDRVREG g_DrvMouseQueue;
|
---|
107 | extern const PDMDRVREG g_DrvKeyboardQueue;
|
---|
108 | extern const PDMDRVREG g_DrvVBoxHDD;
|
---|
109 | extern const PDMDRVREG g_DrvVD;
|
---|
110 | extern const PDMDRVREG g_DrvHostDVD;
|
---|
111 | extern const PDMDRVREG g_DrvHostFloppy;
|
---|
112 | extern const PDMDRVREG g_DrvISCSI;
|
---|
113 | extern const PDMDRVREG g_DrvISCSITransportTcp;
|
---|
114 | #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
|
---|
115 | extern const PDMDRVREG g_DrvHostInterface;
|
---|
116 | #endif
|
---|
117 | #ifdef VBOX_WITH_UDPTUNNEL
|
---|
118 | extern const PDMDRVREG g_DrvUDPTunnel;
|
---|
119 | #endif
|
---|
120 | #ifdef VBOX_WITH_VDE
|
---|
121 | extern const PDMDRVREG g_DrvVDE;
|
---|
122 | #endif
|
---|
123 | extern const PDMDRVREG g_DrvIntNet;
|
---|
124 | extern const PDMDRVREG g_DrvDedicatedNic;
|
---|
125 | extern const PDMDRVREG g_DrvNAT;
|
---|
126 | #ifdef VBOX_WITH_NETSHAPER
|
---|
127 | extern const PDMDRVREG g_DrvNetShaper;
|
---|
128 | #endif /* VBOX_WITH_NETSHAPER */
|
---|
129 | extern const PDMDRVREG g_DrvNetSniffer;
|
---|
130 | extern const PDMDRVREG g_DrvAUDIO;
|
---|
131 | #ifdef VBOX_WITH_AUDIO_DEBUG
|
---|
132 | extern const PDMDRVREG g_DrvHostDebugAudio;
|
---|
133 | #endif
|
---|
134 | #ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
|
---|
135 | extern const PDMDRVREG g_DrvHostValidationKitAudio;
|
---|
136 | #endif
|
---|
137 | extern const PDMDRVREG g_DrvHostNullAudio;
|
---|
138 | #if defined(RT_OS_WINDOWS)
|
---|
139 | extern const PDMDRVREG g_DrvHostDSound;
|
---|
140 | #endif
|
---|
141 | #if defined(RT_OS_DARWIN)
|
---|
142 | extern const PDMDRVREG g_DrvHostCoreAudio;
|
---|
143 | #endif
|
---|
144 | #ifdef VBOX_WITH_AUDIO_OSS
|
---|
145 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
146 | #endif
|
---|
147 | #ifdef VBOX_WITH_AUDIO_ALSA
|
---|
148 | extern const PDMDRVREG g_DrvHostALSAAudio;
|
---|
149 | #endif
|
---|
150 | #ifdef VBOX_WITH_AUDIO_PULSE
|
---|
151 | extern const PDMDRVREG g_DrvHostPulseAudio;
|
---|
152 | #endif
|
---|
153 | extern const PDMDRVREG g_DrvACPI;
|
---|
154 | extern const PDMDRVREG g_DrvAcpiCpu;
|
---|
155 | extern const PDMDRVREG g_DrvVUSBRootHub;
|
---|
156 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
157 | extern const PDMDRVREG g_DrvHostWebcam;
|
---|
158 | #endif
|
---|
159 | extern const PDMDRVREG g_DrvChar;
|
---|
160 | extern const PDMDRVREG g_DrvNamedPipe;
|
---|
161 | extern const PDMDRVREG g_DrvTCP;
|
---|
162 | extern const PDMDRVREG g_DrvUDP;
|
---|
163 | extern const PDMDRVREG g_DrvRawFile;
|
---|
164 | extern const PDMDRVREG g_DrvHostParallel;
|
---|
165 | extern const PDMDRVREG g_DrvHostSerial;
|
---|
166 | #ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
167 | extern const PDMDRVREG g_DrvDiskIntegrity;
|
---|
168 | extern const PDMDRVREG g_DrvRamDisk;
|
---|
169 | #endif
|
---|
170 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
171 | extern const PDMDRVREG g_DrvPciRaw;
|
---|
172 | #endif
|
---|
173 |
|
---|
174 | #ifdef VBOX_WITH_USB
|
---|
175 | extern const PDMUSBREG g_UsbDevProxy;
|
---|
176 | extern const PDMUSBREG g_UsbMsd;
|
---|
177 | #endif
|
---|
178 | #ifdef VBOX_WITH_VUSB
|
---|
179 | extern const PDMUSBREG g_UsbHid;
|
---|
180 | extern const PDMUSBREG g_UsbHidKbd;
|
---|
181 | extern const PDMUSBREG g_UsbHidMou;
|
---|
182 | #endif
|
---|
183 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
184 | extern const PDMUSBREG g_DevWebcam;
|
---|
185 | #endif
|
---|
186 |
|
---|
187 | #ifdef VBOX_WITH_SCSI
|
---|
188 | extern const PDMDRVREG g_DrvSCSI;
|
---|
189 | #endif
|
---|
190 |
|
---|
191 |
|
---|
192 | /* VBoxAcpi.cpp */
|
---|
193 | int acpiPrepareDsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbDsdt);
|
---|
194 | int acpiCleanupDsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
195 | int acpiPrepareSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
196 | int acpiCleanupSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
197 |
|
---|
198 | RT_C_DECLS_END
|
---|
199 |
|
---|
200 | #endif /* !VBOX_INCLUDED_SRC_build_VBoxDD_h */
|
---|
201 |
|
---|