1 | /* $Id: VBoxDD.h 53523 2014-12-12 13:46:29Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Built-in drivers & devices (part 1) header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2014 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 | #ifndef VBOX_WITH_PDM_AUDIO_DRIVER
|
---|
59 | extern const PDMDEVREG g_DeviceAudioSniffer;
|
---|
60 | #endif
|
---|
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_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 | #ifdef VBOX_WITH_PDM_AUDIO_DRIVER
|
---|
121 | extern const PDMDRVREG g_DrvHostNullAudio;
|
---|
122 | # if defined(RT_OS_WINDOWS)
|
---|
123 | extern const PDMDRVREG g_DrvHostDSound;
|
---|
124 | # endif
|
---|
125 | # if defined(RT_OS_LINUX)
|
---|
126 | extern const PDMDRVREG g_DrvHostPulseAudio;
|
---|
127 | extern const PDMDRVREG g_DrvHostALSAAudio;
|
---|
128 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
129 | # endif
|
---|
130 | # if defined(RT_OS_DARWIN)
|
---|
131 | extern const PDMDRVREG g_DrvHostCoreAudio;
|
---|
132 | # endif
|
---|
133 | # if defined(RT_OS_SOLARIS)
|
---|
134 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
135 | extern const PDMDRVREG g_DrvHostSolAudio;
|
---|
136 | # endif
|
---|
137 | # if defined(RT_OS_FREEBSD)
|
---|
138 | extern const PDMDRVREG g_DrvHostOSSAudio;
|
---|
139 | # endif
|
---|
140 | #endif
|
---|
141 | extern const PDMDRVREG g_DrvACPI;
|
---|
142 | extern const PDMDRVREG g_DrvAcpiCpu;
|
---|
143 | extern const PDMDRVREG g_DrvVUSBRootHub;
|
---|
144 | #ifdef VBOX_WITH_USB_VIDEO_IMPL
|
---|
145 | extern const PDMDRVREG g_DrvHostWebcam;
|
---|
146 | #endif
|
---|
147 | extern const PDMDRVREG g_DrvChar;
|
---|
148 | extern const PDMDRVREG g_DrvNamedPipe;
|
---|
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 |
|
---|