Line | |
---|
1 | ; Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
2 | ;
|
---|
3 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
4 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
5 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
6 | ; General Public License as published by the Free Software Foundation,
|
---|
7 | ; in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
8 | ; distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
9 | ; be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
10 | ;
|
---|
11 | ; If you received this file as part of a commercial VirtualBox
|
---|
12 | ; distribution, then only the terms of your commercial VirtualBox
|
---|
13 | ; license agreement apply instead of the previous paragraph.
|
---|
14 |
|
---|
15 | %include "VBox/nasm.mac"
|
---|
16 |
|
---|
17 | struc VMMR0JMPBUF
|
---|
18 | %ifdef __X86__
|
---|
19 | ; traditional jmp_buf
|
---|
20 | .ebx resd 1
|
---|
21 | .esi resd 1
|
---|
22 | .edi resd 1
|
---|
23 | .ebp resd 1
|
---|
24 | .esp resd 1
|
---|
25 | .eip resd 1
|
---|
26 |
|
---|
27 | ; additional state and stack info.
|
---|
28 | .fInRing3Call resd 1
|
---|
29 | .pvSavedStack resd 1
|
---|
30 | .cbSavedStack resd 1
|
---|
31 | .espCheck resd 1
|
---|
32 | .espResume resd 1
|
---|
33 | %endif
|
---|
34 | %ifdef __AMD64__
|
---|
35 | ; traditional jmp_buf
|
---|
36 | .rbx resq 1
|
---|
37 | %ifdef __WIN__
|
---|
38 | .rsi resq 1
|
---|
39 | .rdi resq 1
|
---|
40 | %endif
|
---|
41 | .rbp resq 1
|
---|
42 | .r12 resq 1
|
---|
43 | .r13 resq 1
|
---|
44 | .r14 resq 1
|
---|
45 | .r15 resq 1
|
---|
46 | .rsp resq 1
|
---|
47 | .rip resq 1
|
---|
48 |
|
---|
49 | ; additional state and stack info.
|
---|
50 | .fInRing3Call resd 1
|
---|
51 | .cbSavedStack resd 1
|
---|
52 | .pvSavedStack resq 1
|
---|
53 | .rspCheck resq 1
|
---|
54 | .rspResume resq 1
|
---|
55 | %endif
|
---|
56 | endstruc
|
---|
57 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.