1 | /* $Id: VBoxDD.h 57989 2015-10-01 16:44:12Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Built-in drivers & devices (part 1) header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2015 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 | extern const PDMDEVREG g_DevicePS2KeyboardMouse;
|
---|
36 | extern const PDMDEVREG g_DeviceI8254;
|
---|
37 | extern const PDMDEVREG g_DeviceI8259;
|
---|
38 | extern const PDMDEVREG g_DeviceHPET;
|
---|
39 | extern const PDMDEVREG g_DeviceSmc;
|
---|
40 | extern const PDMDEVREG g_DeviceMC146818;
|
---|
41 | extern const PDMDEVREG g_DevicePIIX3IDE;
|
---|
42 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
43 | extern const PDMDEVREG g_DeviceVga;
|
---|
44 | extern const PDMDEVREG g_DeviceVMMDev;
|
---|
45 | extern const PDMDEVREG g_DevicePCNet;
|
---|
46 | #ifdef VBOX_WITH_E1000
|
---|
47 | extern const PDMDEVREG g_DeviceE1000;
|
---|
48 | #endif
|
---|
49 | #ifdef VBOX_WITH_VIRTIO
|
---|
50 | extern const PDMDEVREG g_DeviceVirtioNet;
|
---|
51 | #endif
|
---|
52 | #ifdef VBOX_WITH_INIP
|
---|
53 | extern const PDMDEVREG g_DeviceINIP;
|
---|
54 | #endif
|
---|
55 | extern const PDMDEVREG g_DeviceICHAC97;
|
---|
56 | extern const PDMDEVREG g_DeviceSB16;
|
---|
57 | extern const PDMDEVREG g_DeviceICH6_HDA;
|
---|
58 | extern const PDMDEVREG g_DeviceOHCI;
|
---|
59 | extern const PDMDEVREG g_DeviceEHCI;
|
---|
60 | extern const PDMDEVREG g_DeviceXHCI;
|
---|
61 | extern const PDMDEVREG g_DeviceACPI;
|
---|
62 | extern const PDMDEVREG g_DeviceDMA;
|
---|
63 | extern const PDMDEVREG g_DeviceFloppyController;
|
---|
64 | extern const PDMDEVREG g_DeviceSerialPort;
|
---|
65 | extern const PDMDEVREG g_DeviceParallelPort;
|
---|
66 | #ifdef VBOX_WITH_AHCI
|
---|
67 | extern const PDMDEVREG g_DeviceAHCI;
|
---|
68 | #endif
|
---|
69 | #ifdef VBOX_WITH_BUSLOGIC
|
---|
70 | extern const PDMDEVREG g_DeviceBusLogic;
|
---|
71 | #endif
|
---|
72 | extern const PDMDEVREG g_DevicePCIBridge;
|
---|
73 | extern const PDMDEVREG g_DevicePciIch9Bridge;
|
---|
74 | #ifdef VBOX_WITH_LSILOGIC
|
---|
75 | extern const PDMDEVREG g_DeviceLsiLogicSCSI;
|
---|
76 | extern const PDMDEVREG g_DeviceLsiLogicSAS;
|
---|
77 | #endif
|
---|
78 | #ifdef VBOX_WITH_NVME_IMPL
|
---|
79 | extern const PDMDEVREG g_DeviceNVMe;
|
---|
80 | #endif
|
---|
81 | #ifdef VBOX_WITH_EFI
|
---|
82 | extern const PDMDEVREG g_DeviceEFI;
|
---|
83 | #endif
|
---|
84 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
85 | extern const PDMDEVREG g_DevicePciRaw;
|
---|
86 | #endif
|
---|
87 | extern const PDMDEVREG g_DeviceGIMDev;
|
---|
88 | #ifdef VBOX_WITH_VIRTUALKD
|
---|
89 | extern const PDMDEVREG g_DeviceVirtualKD;
|
---|
90 | #endif
|
---|
91 |
|
---|
92 | extern const PDMDRVREG g_DrvMouseQueue;
|
---|
93 | extern const PDMDRVREG g_DrvKeyboardQueue;
|
---|
94 | extern const PDMDRVREG g_DrvBlock;
|
---|
95 | extern const PDMDRVREG g_DrvVBoxHDD;
|
---|
96 | extern const PDMDRVREG g_DrvVD;
|
---|
97 | extern const PDMDRVREG g_DrvHostDVD;
|
---|
98 | extern const PDMDRVREG g_DrvHostFloppy;
|
---|
99 | extern const PDMDRVREG g_DrvMediaISO;
|
---|
100 | extern const PDMDRVREG g_DrvRawImage;
|
---|
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 | extern const PDMDRVREG g_DrvHostNullAudio;
|
---|
121 | #if defined(RT_OS_WINDOWS)
|
---|
122 | extern const PDMDRVREG g_DrvHostDSound;
|
---|
123 | #endif
|
---|
124 | #if defined(RT_OS_LINUX)
|
---|
125 | extern const PDMDRVREG g_DrvHostPulseAudio;
|
---|
126 | extern const PDMDRVREG g_DrvHostALSAAudio;
|
---|
127 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
128 | #endif
|
---|
129 | #if defined(RT_OS_DARWIN)
|
---|
130 | extern const PDMDRVREG g_DrvHostCoreAudio;
|
---|
131 | #endif
|
---|
132 | #if defined(RT_OS_SOLARIS)
|
---|
133 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
134 | extern const PDMDRVREG g_DrvHostSolAudio;
|
---|
135 | #endif
|
---|
136 | #if defined(RT_OS_FREEBSD)
|
---|
137 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
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 | #endif
|
---|
155 | #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
156 | extern const PDMDRVREG g_DrvPciRaw;
|
---|
157 | #endif
|
---|
158 |
|
---|
159 | #ifdef VBOX_WITH_USB
|
---|
160 | extern const PDMUSBREG g_UsbDevProxy;
|
---|
161 | extern const PDMUSBREG g_UsbMsd;
|
---|
162 | #endif
|
---|
163 | #ifdef VBOX_WITH_VUSB
|
---|
164 | extern const PDMUSBREG g_UsbHid;
|
---|
165 | extern const PDMUSBREG g_UsbHidKbd;
|
---|
166 | extern const PDMUSBREG g_UsbHidMou;
|
---|
167 | #endif
|
---|
168 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
169 | extern const PDMUSBREG g_DevWebcam;
|
---|
170 | #endif
|
---|
171 |
|
---|
172 | #ifdef VBOX_WITH_SCSI
|
---|
173 | extern const PDMDRVREG g_DrvSCSI;
|
---|
174 | # if defined(RT_OS_LINUX)
|
---|
175 | extern const PDMDRVREG g_DrvSCSIHost;
|
---|
176 | # endif
|
---|
177 | #endif
|
---|
178 |
|
---|
179 |
|
---|
180 | /* VBoxAcpi.cpp */
|
---|
181 | int acpiPrepareDsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbDsdt);
|
---|
182 | int acpiCleanupDsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
183 | int acpiPrepareSsdt(PPDMDEVINS pDevIns, void **ppvPtr, size_t *pcbSsdt);
|
---|
184 | int acpiCleanupSsdt(PPDMDEVINS pDevIns, void *pvPtr);
|
---|
185 |
|
---|
186 | RT_C_DECLS_END
|
---|
187 |
|
---|
188 | #endif
|
---|
189 |
|
---|