1 | /* $Id: IEMAllIntprTables.h 106061 2024-09-16 14:03:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IEM - Instruction Decoding and Emulation, Interpreter Tables Common Header.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2011-2024 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef VMM_INCLUDED_SRC_VMMAll_IEMAllIntprTables_h
|
---|
29 | #define VMM_INCLUDED_SRC_VMMAll_IEMAllIntprTables_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 |
|
---|
35 | /*********************************************************************************************************************************
|
---|
36 | * Header Files *
|
---|
37 | *********************************************************************************************************************************/
|
---|
38 | #ifndef LOG_GROUP /* defined when included by tstIEMCheckMc.cpp */
|
---|
39 | # define LOG_GROUP LOG_GROUP_IEM
|
---|
40 | #endif
|
---|
41 | #define VMCPU_INCL_CPUM_GST_CTX
|
---|
42 | #include <VBox/vmm/iem.h>
|
---|
43 | #include <VBox/vmm/cpum.h>
|
---|
44 | #include <VBox/vmm/apic.h>
|
---|
45 | #include <VBox/vmm/pdm.h>
|
---|
46 | #include <VBox/vmm/pgm.h>
|
---|
47 | #include <VBox/vmm/iom.h>
|
---|
48 | #include <VBox/vmm/em.h>
|
---|
49 | #include <VBox/vmm/hm.h>
|
---|
50 | #include <VBox/vmm/nem.h>
|
---|
51 | #include <VBox/vmm/gim.h>
|
---|
52 | #ifdef VBOX_WITH_NESTED_HWVIRT_SVM
|
---|
53 | # include <VBox/vmm/em.h>
|
---|
54 | # include <VBox/vmm/hm_svm.h>
|
---|
55 | #endif
|
---|
56 | #ifdef VBOX_WITH_NESTED_HWVIRT_VMX
|
---|
57 | # include <VBox/vmm/hmvmxinline.h>
|
---|
58 | #endif
|
---|
59 | #include <VBox/vmm/tm.h>
|
---|
60 | #include <VBox/vmm/dbgf.h>
|
---|
61 | #include <VBox/vmm/dbgftrace.h>
|
---|
62 | #ifndef TST_IEM_CHECK_MC
|
---|
63 | # include "IEMInternal.h"
|
---|
64 | #endif
|
---|
65 | #include <VBox/vmm/vmcc.h>
|
---|
66 | #include <VBox/log.h>
|
---|
67 | #include <VBox/err.h>
|
---|
68 | #include <VBox/param.h>
|
---|
69 | #include <VBox/dis.h>
|
---|
70 | #include <iprt/asm-math.h>
|
---|
71 | #include <iprt/assert.h>
|
---|
72 | #include <iprt/string.h>
|
---|
73 | #include <iprt/x86.h>
|
---|
74 |
|
---|
75 | #ifndef TST_IEM_CHECK_MC
|
---|
76 | # include "IEMInline.h"
|
---|
77 | # include "IEMOpHlp.h"
|
---|
78 | # include "IEMMc.h"
|
---|
79 | #endif
|
---|
80 |
|
---|
81 |
|
---|
82 | /*********************************************************************************************************************************
|
---|
83 | * Defined Constants And Macros *
|
---|
84 | *********************************************************************************************************************************/
|
---|
85 | #define g_apfnOneByteMap g_apfnIemInterpretOnlyOneByteMap
|
---|
86 | #define g_apfnTwoByteMap g_apfnIemInterpretOnlyTwoByteMap
|
---|
87 | #define g_apfnThreeByte0f3a g_apfnIemInterpretOnlyThreeByte0f3a
|
---|
88 | #define g_apfnThreeByte0f38 g_apfnIemInterpretOnlyThreeByte0f38
|
---|
89 | #define g_apfnVexMap1 g_apfnIemInterpretOnlyVecMap1
|
---|
90 | #define g_apfnVexMap2 g_apfnIemInterpretOnlyVecMap2
|
---|
91 | #define g_apfnVexMap3 g_apfnIemInterpretOnlyVecMap3
|
---|
92 |
|
---|
93 |
|
---|
94 |
|
---|
95 | /*
|
---|
96 | * Include common bits.
|
---|
97 | */
|
---|
98 | #include "IEMAllInstCommonBodyMacros.h"
|
---|
99 | #include "IEMAllInstCommon.cpp.h"
|
---|
100 |
|
---|
101 | #endif /* !VMM_INCLUDED_SRC_VMMAll_IEMAllIntprTables_h */
|
---|