VirtualBox

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

Last change on this file since 45907 was 41857, checked in by vboxsync, 13 years ago

Word and diagram wrt contexts.

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette