VirtualBox

source: vbox/trunk/doc/VBox-doc.c@ 94521

Last change on this file since 94521 was 93422, checked in by vboxsync, 2 years ago

doxygen: add initial documantation for VBoxDRMClient service, bugref:10134.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 8.2 KB
Line 
1/* $Id: VBox-doc.c 93422 2022-01-24 20:03:33Z vboxsync $ */
2/** @file
3 * VirtualBox Top Level Documentation File.
4 */
5
6/*
7 * Copyright (C) 2006-2022 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
19/** @mainpage VirtualBox
20 *
21 * (add introduction here)
22 *
23 * @section pg_main_comp Components
24 *
25 * - VM / @ref pg_vmm "VMM" / GVM / @ref pg_gvmm "GVMM" - Virtual Machine
26 * Monitor.
27 * - @ref pg_cfgm
28 * - @ref pg_cpum
29 * - @ref pg_dbgf
30 * - @ref pg_dbgf_addr_space
31 * - @ref pg_dbgf_vmcore
32 * - @ref pg_dbgf_module
33 * - @ref pg_dbgc
34 * - VBoxDbg - Debugger GUI (Qt).
35 * - @ref grp_dis
36 * - @ref pg_em
37 * - @ref pg_gim
38 * - @ref pg_hm
39 * - @ref pg_iem
40 * - @ref pg_nem
41 * - @ref pg_gmm
42 * - @ref pg_mm
43 * - @ref pg_pgm
44 * - @ref pg_pgm_phys
45 * - @ref pg_pgm_pool
46 * - @ref pg_selm
47 * - @ref pg_iom
48 * - @ref pg_pdm
49 * - Devices / USB Devices, Drivers and their public interfaces.
50 * - Async I/O Completion API.
51 * - Async Task API.
52 * - Critical Section API.
53 * - Queue API.
54 * - Thread API.
55 * - @ref pg_pdm_block_cache
56 * - @ref pg_ssm
57 * - @ref pg_stam
58 * - @ref pg_tm
59 * - @ref pg_trpm
60 * - VMM docs:
61 * - @ref pg_vmm_guideline
62 * - @ref pg_raw
63 * - Pluggable Components (via PDM).
64 * - DevPCArch - PC Architecture Device (chipset, legacy ++).
65 * - DevPCBios - Basic Input Output System.
66 * - DevDMAC - DMA Controller.
67 * - DevPIC - Programmable Interrupt Controller.
68 * - DevPIT - Programmable Interval Timer (i8254).
69 * - DevRTC - Real Time Clock.
70 * - DevVGA - Video Graphic Array.
71 * - DevPCI - Peripheral Component Interface (Bus).
72 * - VBoxDev - Special PCI Device which serves as an interface between
73 * the VMM and the guest OS for the additions.
74 * - @ref pg_pdm_audio "Audio":
75 * - DevHda - Intel High Definition Audio Device Emulation.
76 * - DevIchAc97 - ICH AC'97 Device Emulation.
77 * - DevSB16 - SoundBlaster 16 Device Emulation.
78 * - DrvAudio - Intermediate driver.
79 * - DrvHostAudioAlsa - ALSA Host Audio Driver (Linux).
80 * - DrvHostAudioCoreAudio - Core Audio Host Audio Driver (macOS).
81 * - DrvHostAudioDebug - Debug Backend Driver.
82 * - DrvHostAudioDSound - DirectSound Host Audio Driver (Windows).
83 * - DrvHostAudioNull - NULL Backend Driver.
84 * - DrvHostAudioOss - Open Sound System Host Audio Driver (Linux,
85 * Solaris, ++).
86 * - DrvHostAudioPulseAudio - PulseAudio Host Audio Driver (Linux).
87 * - DrvHostAudioValidationKit - Validation Kit Test Driver.
88 * - DrvHostAudioWasApi - Windows Audio Session API Host Audio Driver.
89 * - Networking:
90 * - DevPCNet - AMD PCNet Device Emulation.
91 * - DevE1000 - Intel E1000 Device Emulation.
92 * - DevEEPROM - Intel E1000 EPROM Device Emulation.
93 * - SrvINetNetR0 - Internal Networking Ring-0 Service.
94 * - DevINIP - IP Stack Service for the internal networking.
95 * - DrvIntNet - Internal Networking Driver.
96 * - DrvNetSniffer - Wireshark Compatible Sniffer Driver (pass thru).
97 * - DrvNAT - Network Address Translation Driver.
98 * - DrvTAP - Host Interface Networking Driver.
99 * - Storage:
100 * - DevATA - ATA ((E)IDE) Device Emulation.
101 * - @ref pg_dev_ahci
102 * - DevFDC - Floppy Controller Device Emulation.
103 * - DrvBlock - Intermediate block driver.
104 * - DrvHostBase - Common code for the host drivers.
105 * - DrvHostDVD - Host DVD drive driver.
106 * - DrvHostFloppy - Host floppy drive driver.
107 * - DrvHostRawDisk - Host raw disk drive driver.
108 * - DrvMediaISO - ISO media driver.
109 * - DrvRawImage - Raw image driver (floppy images etc).
110 * - DrvVD - Intermediate Virtual Drive (Media) driver.
111 * - DrvVDI - VirtualBox Drive Image Container Driver.
112 * - DrvVmdk - VMDK Drive Image Container Driver.
113 * - USB:
114 * - @ref pg_dev_ohci
115 * - @ref pg_dev_ehci
116 * - @ref pg_dev_vusb
117 * - @ref pg_dev_vusb_old
118 * - Host Drivers.
119 * - SUPDRV - The Support driver (aka VBoxDrv).
120 * - @ref pg_sup
121 * - @ref pg_netflt
122 * - @ref pg_netadp
123 * - VBoxUSB - The USB support driver.
124 * - @ref pg_netflt
125 * - @ref pg_rawpci
126 * - Host Services.
127 * - @ref pg_hostclip
128 * - Shared Folders.
129 * - @ref pg_svc_guest_properties
130 * - @ref pg_svc_guest_control
131 * - Guest Additions.
132 * - VBoxGuest.
133 * - @ref pg_guest_lib
134 * - @ref pg_vgsvc
135 * - @ref pg_vgsvc_timesync
136 * - @ref pg_vgsvc_vminfo
137 * - @ref pg_vgsvc_vmstats
138 * - @ref pg_vgsvc_gstctrl
139 * - @ref pg_vgsvc_pagesharing
140 * - @ref pg_vgsvc_memballoon
141 * - @ref pg_vgsvc_cpuhotplug
142 * - @ref pg_vgsvc_automount
143 * - @ref pg_vgsvc_clipboard
144 * - VBoxControl.
145 * - Linux, Solaris and FreeBSD specific guest services and drivers.
146 * - @ref pg_vboxdrmcliet (Linux only).
147 * - VBoxClient.
148 * - VBoxVideo.
149 * - Windows Guests.
150 * - VBoxTray.
151 * - crOpenGL.
152 * - pam.
153 * - ...
154 * - Network Services:
155 * - @ref pg_net_dhcp
156 * - NAT
157 * - @ref pg_main
158 * - @ref pg_main_events
159 * - @ref pg_vrdb_usb
160 * - Frontends:
161 * - VirtualBox - The default Qt-based GUI.
162 * - VBoxHeadless - The headless frontend.
163 * - VBoxManage - The CLI.
164 * - VBoxShell - An interactive shell written in python.
165 * - VBoxSDL - A very simple GUI.
166 * - VBoxBFE - A bare metal edition which does not use COM/XPCOM (barely
167 * maintained atm).
168 * - IPRT - Runtime Library for hiding host OS differences.
169 * - Validation Kit:
170 * - @ref pg_validationkit_guideline
171 * - @ref pg_bs3kit
172 * - @ref pg_vbox_guideline
173 *
174 * @todo Make links to the components.
175 *
176 *
177 *
178 * @section Execution Contexts
179 *
180 * VirtualBox defines a number of different execution context, this can be
181 * confusing at first. So, to start with take a look at this diagram:
182 *
183 * @image html VMMContexts.png
184 *
185 * Context definitions:
186 * - Host context (HC) - This is the context where the host OS runs and
187 * runs VirtualBox within it. The absense of IN_RC and IN_GUEST
188 * indicates that we're in HC. IN_RING0 indicates ring-0 (kernel) and
189 * IN_RING3 indicates ring-3.
190 * - Raw-mode Context (RC) - This is the special VMM context where we
191 * execute the guest code directly on the CPU. Kernel code is patched
192 * and execute in ring-1 instead of ring-0 (ring compression). Ring-3
193 * code execute unmodified. Only VMMs use ring-1, so we don't need to
194 * worry about that (it's guarded against in the scheduler (EM)). We can
195 * in theory run ring-2 there, but since practially only only OS/2 uses
196 * ring-2, it is of little importance. The macro IN_RC indicates that
197 * we're compiling something for RC.
198 * Note! This used to be called GC (see below) earlier, so a bunch of RC
199 * things are using GC markers.
200 * - Guest Context (GC) - This is where the guest code is executed. When
201 * compiling, IN_GUEST indicates that it's for GC. IN_RING0 and
202 * IN_RING3 are also set when applicable, these are accompanied by
203 * IN_GUEST_R0 and IN_GUEST_R3 respecitively.
204 * - Intermediate context - This is a special memory context used within
205 * the world switchers (HC -> RC and back), it features some identity
206 * mapped code pages so we can switch to real mode if necessary.
207 *
208 */
209
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use