VirtualBox

source: vbox/trunk/src/VBox/VMM/HWACCMInternal.mac@ 15540

Last change on this file since 15540 was 15440, checked in by vboxsync, 16 years ago

Sync CR2 properly for VT-x EPT (unable to access the 64 bits cr2 from 32 bits mode).

File size: 1.9 KB
Line 
1;$Id$
2;; @file
3; HWACCM - Internal header file.
4;
5;
6; Copyright (C) 2006-2007 Sun Microsystems, Inc.
7;
8; This file is part of VirtualBox Open Source Edition (OSE), as
9; available from http://www.virtualbox.org. This file is free software;
10; you can redistribute it and/or modify it under the terms of the GNU
11; General Public License (GPL) as published by the Free Software
12; Foundation, in version 2 as it comes in the "COPYING" file of the
13; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15;
16; Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
17; Clara, CA 95054 USA or visit http://www.sun.com if you need
18; additional information or have any questions.
19;
20
21%define VMX_USE_CACHED_VMCS_ACCESSES
22
23;Maximum number of cached entries.
24%define VMCSCACHE_MAX_ENTRY 256
25
26; Structure for storing read and write VMCS actions.
27struc VMCSCACHE
28 .cr2 resq 1
29 .Write.cValidEntries resd 1
30 .Write.uAlignment resd 1
31 .Write.aField resd VMCSCACHE_MAX_ENTRY
32 .Write.aFieldVal resq VMCSCACHE_MAX_ENTRY
33 .Read.cValidEntries resd 1
34 .Read.uAlignment resd 1
35 .Read.aField resd VMCSCACHE_MAX_ENTRY
36 .Read.aFieldVal resq VMCSCACHE_MAX_ENTRY
37%ifdef DEBUG
38 .TestIn.pPageCpuPhys resq 1
39 .TestIn.pVMCSPhys resq 1
40 .TestIn.pCache resq 1
41 .TestIn.pCtx resq 1
42 .TestOut.pVMCSPhys resq 1
43 .TestOut.pCache resq 1
44 .TestOut.pCtx resq 1
45 .ScratchPad.param1 resq 1
46 .ScratchPad.param2 resq 1
47 .ScratchPad.param3 resq 1
48 .ScratchPad.param4 resq 1
49%endif
50endstruc
51
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