VirtualBox

source: vbox/trunk/include/iprt/x86extra.mac@ 47241

Last change on this file since 47241 was 47131, checked in by vboxsync, 11 years ago

iprt/x86extra.mac: Added all the trap enums.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1;; @file
2; IPRT - X86 and AMD64 Structures and Definitions that are not automatically
3; converted from the C header file.
4;
5
6;
7; Copyright (C) 2012-2013 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; The contents of this file may alternatively be used under the terms
18; of the Common Development and Distribution License Version 1.0
19; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20; VirtualBox OSE distribution, in which case the provisions of the
21; CDDL are applicable instead of those of the GPL.
22;
23; You may elect to license modified versions of this file under the
24; terms and conditions of either the GPL or the CDDL or both.
25;
26
27%ifndef ___iprt_x86extra_mac
28%define ___iprt_x86extra_mac
29
30
31%define X86_XCPT_DE 0x00
32%define X86_XCPT_DB 0x01
33%define X86_XCPT_NMI 0x02
34%define X86_XCPT_BP 0x03
35%define X86_XCPT_OF 0x04
36%define X86_XCPT_BR 0x05
37%define X86_XCPT_UD 0x06
38%define X86_XCPT_NM 0x07
39%define X86_XCPT_DF 0x08
40%define X86_XCPT_CO_SEG_OVERRUN 0x09
41%define X86_XCPT_TS 0x0a
42%define X86_XCPT_NP 0x0b
43%define X86_XCPT_SS 0x0c
44%define X86_XCPT_GP 0x0d
45%define X86_XCPT_PF 0x0e
46%define X86_XCPT_MF 0x10
47%define X86_XCPT_AC 0x11
48%define X86_XCPT_MC 0x12
49%define X86_XCPT_XF 0x13
50
51%define PAGE_SIZE 0x1000
52
53
54;;
55; 32-bit protected mode fstenv image.
56;
57struc X86FSTENV32P
58 .FCW resw 1
59 .padding1 resw 1
60 .FSW resw 1
61 .padding2 resw 1
62 .FTW resw 1
63 .padding3 resw 1
64 .FPUIP resd 1
65 .FPUCS resw 1
66 .FOP resw 1
67 .FPUDP resd 1
68 .FPUDS resw 1
69 .padding4 resw 1
70endstruc
71
72
73;;
74; The image saved by FXSAVE.
75;
76struc X86FXSTATE
77 .FCW resw 1
78 .FSW resw 1
79 .FTW resw 1
80 .FOP resw 1
81 .FPUIP resd 1
82 .FPUCS resw 1
83 .Rsrvd1 resw 1
84 .FPUDP resd 1
85 .FPUDS resw 1
86 .Rsrvd2 resw 1
87 .MXCSR resd 1
88 .MXCSR_MASK resd 1
89 .st0 resd 4
90 .st1 resd 4
91 .st2 resd 4
92 .st3 resd 4
93 .st4 resd 4
94 .st5 resd 4
95 .st6 resd 4
96 .st7 resd 4
97 .xmm0 resd 4
98 .xmm1 resd 4
99 .xmm2 resd 4
100 .xmm3 resd 4
101 .xmm4 resd 4
102 .xmm5 resd 4
103 .xmm6 resd 4
104 .xmm7 resd 4
105 .xmm8 resd 4
106 .xmm9 resd 4
107 .xmm10 resd 4
108 .xmm11 resd 4
109 .xmm12 resd 4
110 .xmm13 resd 4
111 .xmm14 resd 4
112 .xmm15 resd 4
113 .au32RsrvdRest resd 24
114endstruc
115
116
117%endif
118
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