1 | /* $Id: VBoxDD.h 63689 2016-09-02 12:00:03Z 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_DeviceICH6_HDA;
|
---|
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 | extern const PDMDRVREG g_DrvHostNullAudio;
|
---|
124 | #if defined(RT_OS_WINDOWS)
|
---|
125 | extern const PDMDRVREG g_DrvHostDSound;
|
---|
126 | #endif
|
---|
127 | #if defined(RT_OS_DARWIN)
|
---|
128 | extern const PDMDRVREG g_DrvHostCoreAudio;
|
---|
129 | #endif
|
---|
130 | #ifdef VBOX_WITH_AUDIO_OSS
|
---|
131 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
132 | #endif
|
---|
133 | #ifdef VBOX_WITH_AUDIO_ALSA
|
---|
134 | extern const PDMDRVREG g_DrvHostALSAAudio;
|
---|
135 | #endif
|
---|
136 | #ifdef VBOX_WITH_AUDIO_PULSE
|
---|
137 | extern const PDMDRVREG g_DrvHostPulseAudio;
|
---|
138 | #endif
|
---|
139 | extern const PDMDRVREG g_DrvACPI;
|
---|
140 | extern const PDMDRVREG g_DrvAcpiCpu;
|
---|
141 | extern const PDMDRVREG g_DrvVUSBRootHub;
|
---|
142 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
143 | extern const PDMDRVREG g_DrvHostWebcam;
|
---|
144 | #endif
|
---|
145 | extern const PDMDRVREG g_DrvChar;
|
---|
146 | extern const PDMDRVREG g_DrvNamedPipe;
|
---|
147 | extern const PDMDRVREG g_DrvTCP;
|
---|
148 | extern const PDMDRVREG g_DrvUDP;
|
---|
149 | extern const PDMDRVREG g_DrvRawFile;
|
---|
150 | extern const PDMDRVREG g_DrvHostParallel;
|
---|
151 | extern const PDMDRVREG g_DrvHostSerial;
|
---|
152 | #ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
153 | extern const PDMDRVREG g_DrvDiskIntegrity;
|
---|
154 | extern const PDMDRVREG g_DrvRamDisk;
|
---|
155 | #endif
|
---|
156 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
157 | extern const PDMDRVREG g_DrvPciRaw;
|
---|
158 | #endif
|
---|
159 |
|
---|
160 | #ifdef VBOX_WITH_USB
|
---|
161 | extern const PDMUSBREG g_UsbDevProxy;
|
---|
162 | extern const PDMUSBREG g_UsbMsd;
|
---|
163 | #endif
|
---|
164 | #ifdef VBOX_WITH_VUSB
|
---|
165 | extern const PDMUSBREG g_UsbHid;
|
---|
166 | extern const PDMUSBREG g_UsbHidKbd;
|
---|
167 | extern const PDMUSBREG g_UsbHidMou;
|
---|
168 | #endif
|
---|
169 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
170 | extern const PDMUSBREG g_DevWebcam;
|
---|
171 | #endif
|
---|
172 |
|
---|
173 | #ifdef VBOX_WITH_SCSI
|
---|
174 | extern const PDMDRVREG g_DrvSCSI;
|
---|
175 | # if defined(RT_OS_LINUX)
|
---|
176 | extern const PDMDRVREG g_DrvSCSIHost;
|
---|
177 | # endif
|
---|
178 | #endif
|
---|
179 |
|
---|
180 |
|
---|
181 | /* VBoxAcpi.cpp */
|
---|
182 | int acpiPrepareDsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbDsdt);
|
---|
183 | int acpiCleanupDsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
184 | int acpiPrepareSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
185 | int acpiCleanupSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
186 |
|
---|
187 | RT_C_DECLS_END
|
---|
188 |
|
---|
189 | #endif
|
---|
190 |
|
---|