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