VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMInternal.mac@ 29698

Last change on this file since 29698 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1; $Id: VMMInternal.mac 28800 2010-04-27 08:22:32Z vboxsync $
2;; @file
3; VMM - Internal header file.
4;
5
6;
7; Copyright (C) 2006-2009 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%include "VBox/asmdefs.mac"
19
20;
21; Determin the default stack switching unless specified explicitly.
22;
23%ifndef VMM_R0_SWITCH_STACK
24 %ifndef VMM_R0_NO_SWITCH_STACK
25 %ifdef RT_OS_DARWIN
26 %define VMM_R0_SWITCH_STACK
27 %endif
28 %endif
29%endif
30
31
32struc VMMR0JMPBUF
33%ifdef RT_ARCH_X86
34 ; traditional jmp_buf
35 .ebx resd 1
36 .esi resd 1
37 .edi resd 1
38 .ebp resd 1
39 .esp resd 1
40 .eip resd 1
41 .eflags resd 1
42
43 ; additional state and stack info.
44 .fInRing3Call resd 1
45 .cbSavedStack resd 1
46 .pvSavedStack resd 1
47 .SpCheck resd 1
48 .SpResume resd 1
49 .SavedEsp resd 1
50 .SavedEbp resd 1
51%endif
52%ifdef RT_ARCH_AMD64
53 ; traditional jmp_buf
54 .rbx resq 1
55 %ifdef RT_OS_WINDOWS
56 .rsi resq 1
57 .rdi resq 1
58 %endif
59 .rbp resq 1
60 .r12 resq 1
61 .r13 resq 1
62 .r14 resq 1
63 .r15 resq 1
64 .rsp resq 1
65 .rip resq 1
66 %ifdef RT_OS_WINDOWS
67 .xmm6 resq 2
68 .xmm7 resq 2
69 .xmm8 resq 2
70 .xmm9 resq 2
71 .xmm10 resq 2
72 .xmm11 resq 2
73 .xmm12 resq 2
74 .xmm13 resq 2
75 .xmm14 resq 2
76 .xmm15 resq 2
77 %endif
78 .rflags resq 1
79
80 ; additional state and stack info.
81 .fInRing3Call resd 1
82 .cbSavedStack resd 1
83 .pvSavedStack resq 1
84 .SpCheck resq 1
85 .SpResume resq 1
86 .SavedEsp resq 1
87 .SavedEbp resq 1
88%endif
89
90 ; Statistics
91 .cbUsedMax resd 1
92 .cbUsedAvg resd 1
93 .cbUsedTotal resq 1
94 .cUsedTotal resq 1
95endstruc
96
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