Changeset 98955 in vbox for trunk/include/VBox/vmm/cpumctx-x86-amd64.h
- Timestamp:
- Mar 14, 2023 12:20:15 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156304
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpumctx-x86-amd64.h
r98954 r98955 1 1 /** @file 2 * CPUM - CPU Monitor(/ Manager), Context Structures .2 * CPUM - CPU Monitor(/ Manager), Context Structures for the x86/amd64 emulation/virtualization. 3 3 */ 4 4 … … 34 34 */ 35 35 36 #ifndef VBOX_INCLUDED_vmm_cpumctx_ h37 #define VBOX_INCLUDED_vmm_cpumctx_ h36 #ifndef VBOX_INCLUDED_vmm_cpumctx_x86_amd64_h 37 #define VBOX_INCLUDED_vmm_cpumctx_x86_amd64_h 38 38 #ifndef RT_WITHOUT_PRAGMA_ONCE 39 39 # pragma once … … 123 123 uint64_t esp; 124 124 } CPUMSYSENTER; 125 126 /** @def CPUM_UNION_NM127 * For compilers (like DTrace) that does not grok nameless unions, we have a128 * little hack to make them palatable.129 */130 /** @def CPUM_STRUCT_NM131 * For compilers (like DTrace) that does not grok nameless structs (it is132 * non-standard C++), we have a little hack to make them palatable.133 */134 #ifdef VBOX_FOR_DTRACE_LIB135 # define CPUM_UNION_NM(a_Nm) a_Nm136 # define CPUM_STRUCT_NM(a_Nm) a_Nm137 #elif defined(IPRT_WITHOUT_NAMED_UNIONS_AND_STRUCTS)138 # define CPUM_UNION_NM(a_Nm) a_Nm139 # define CPUM_STRUCT_NM(a_Nm) a_Nm140 #else141 # define CPUM_UNION_NM(a_Nm)142 # define CPUM_STRUCT_NM(a_Nm)143 #endif144 /** @def CPUM_UNION_STRUCT_NM145 * Combines CPUM_UNION_NM and CPUM_STRUCT_NM to avoid hitting the right side of146 * the screen in the compile time assertions.147 */148 #define CPUM_UNION_STRUCT_NM(a_UnionNm, a_StructNm) CPUM_UNION_NM(a_UnionNm .) CPUM_STRUCT_NM(a_StructNm)149 125 150 126 /** A general register (union). */ … … 1113 1089 RT_C_DECLS_END 1114 1090 1115 #endif /* !VBOX_INCLUDED_vmm_cpumctx_ h */1116 1091 #endif /* !VBOX_INCLUDED_vmm_cpumctx_x86_amd64_h */ 1092
Note:
See TracChangeset
for help on using the changeset viewer.