VirtualBox

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

Last change on this file since 43025 was 42822, checked in by vboxsync, 12 years ago

Build fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1;$Id: HWACCMInternal.mac 42822 2012-08-15 11:13:30Z vboxsync $
2;; @file
3; HWACCM - Internal header file.
4;
5;
6; Copyright (C) 2006-2007 Oracle Corporation
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
17%define VMX_USE_CACHED_VMCS_ACCESSES
18
19; @todo: Broken on OS X Snow Leopard @bugref{6313}.
20%ifndef VBOX_WITH_HYBRID_32BIT_KERNEL
21%define VBOX_WITH_AUTO_MSR_LOAD_RESTORE
22%endif
23
24;Maximum number of cached entries.
25%define VMCSCACHE_MAX_ENTRY 128
26
27; Structure for storing read and write VMCS actions.
28struc VMCSCACHE
29%ifdef VBOX_WITH_CRASHDUMP_MAGIC
30 .aMagic resb 16
31 .uMagic resq 1
32 .u64TimeEntry resq 1
33 .u64TimeSwitch resq 1
34 .cResume resq 1
35 .interPD resq 1
36 .pSwitcher resq 1
37 .uPos resd 1
38 .idCpu resd 1
39%endif
40 .cr2 resq 1
41 .Write.cValidEntries resd 1
42 .Write.uAlignment resd 1
43 .Write.aField resd VMCSCACHE_MAX_ENTRY
44 .Write.aFieldVal resq VMCSCACHE_MAX_ENTRY
45 .Read.cValidEntries resd 1
46 .Read.uAlignment resd 1
47 .Read.aField resd VMCSCACHE_MAX_ENTRY
48 .Read.aFieldVal resq VMCSCACHE_MAX_ENTRY
49%ifdef DEBUG
50 .TestIn.HCPhysCpuPage resq 1
51 .TestIn.HCPhysVMCS resq 1
52 .TestIn.pCache resq 1
53 .TestIn.pCtx resq 1
54 .TestOut.HCPhysVMCS resq 1
55 .TestOut.pCache resq 1
56 .TestOut.pCtx resq 1
57 .TestOut.eflags resq 1
58 .TestOut.cr8 resq 1
59 .ScratchPad.param1 resq 1
60 .ScratchPad.param2 resq 1
61 .ScratchPad.param3 resq 1
62 .ScratchPad.param4 resq 1
63%endif
64endstruc
65
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