Changeset 76678 in vbox for trunk/include/iprt
- Timestamp:
- Jan 7, 2019 1:48:16 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo
-
old new 8 8 /branches/VBox-5.0:104445,104938,104943,104950,104952-104953,104987-104988,104990,106453 9 9 /branches/VBox-5.1:112367,115992,116543,116550,116568,116573 10 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,12 5768,125779-125780,12581210 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124260,124263,124271,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812 11 11 /branches/andy/draganddrop:90781-91268 12 12 /branches/andy/guestctrl20:78916,78930
-
- Property svn:mergeinfo
-
trunk/include/iprt/x86.h
r76585 r76678 619 619 /** EDX Bit 27 - IBRS & IBPB - Supports the STIBP flag in IA32_SPEC_CTRL. */ 620 620 #define X86_CPUID_STEXT_FEATURE_EDX_STIBP RT_BIT_32(27) 621 621 /** EDX Bit 28 - FLUSH_CMD - Supports IA32_FLUSH_CMD MSR. */ 622 #define X86_CPUID_STEXT_FEATURE_EDX_FLUSH_CMD RT_BIT_32(28) 622 623 /** EDX Bit 29 - ARCHCAP - Supports the IA32_ARCH_CAPABILITIES MSR. */ 623 624 #define X86_CPUID_STEXT_FEATURE_EDX_ARCHCAP RT_BIT_32(29) … … 1242 1243 #define MSR_IA32_MTRR_CAP 0xFE 1243 1244 1244 /** Architecture capabilities (bugfixes). 1245 * @note May move */ 1245 /** Architecture capabilities (bugfixes). */ 1246 1246 #define MSR_IA32_ARCH_CAPABILITIES UINT32_C(0x10a) 1247 /** CPU is no subject to spectreproblems. */1248 #define MSR_IA32_ARCH_CAP_F_ SPECTRE_FIXRT_BIT_32(0)1247 /** CPU is no subject to meltdown problems. */ 1248 #define MSR_IA32_ARCH_CAP_F_RDCL_NO RT_BIT_32(0) 1249 1249 /** CPU has better IBRS and you can leave it on all the time. */ 1250 #define MSR_IA32_ARCH_CAP_F_BETTER_IBRS RT_BIT_32(1) 1250 #define MSR_IA32_ARCH_CAP_F_IBRS_ALL RT_BIT_32(1) 1251 /** CPU has return stack buffer (RSB) override. */ 1252 #define MSR_IA32_ARCH_CAP_F_RSBO RT_BIT_32(2) 1253 /** Virtual machine monitors need not flush the level 1 data cache on VM entry. 1254 * This is also the case when MSR_IA32_ARCH_CAP_F_RDCL_NO is set. */ 1255 #define MSR_IA32_ARCH_CAP_F_VMM_NEED_NOT_FLUSH_L1D RT_BIT_32(3) 1256 1257 /** Flush command register. */ 1258 #define MSR_IA32_FLUSH_CMD UINT32_C(0x10b) 1259 /** Flush the level 1 data cache when this bit is written. */ 1260 #define MSR_IA32_FLUSH_CMD_F_L1D RT_BIT_32(0) 1251 1261 1252 1262 /** Cache control/info. */ -
trunk/include/iprt/x86.mac
r76557 r76678 185 185 %define X86_CPUID_STEXT_FEATURE_EDX_IBRS_IBPB RT_BIT_32(26) 186 186 %define X86_CPUID_STEXT_FEATURE_EDX_STIBP RT_BIT_32(27) 187 %define X86_CPUID_STEXT_FEATURE_EDX_FLUSH_CMD RT_BIT_32(28) 187 188 %define X86_CPUID_STEXT_FEATURE_EDX_ARCHCAP RT_BIT_32(29) 188 189 %define X86_CPUID_EXT_FEATURE_ECX_LAHF_SAHF RT_BIT_32(0) … … 432 433 %define MSR_IA32_MTRR_CAP 0xFE 433 434 %define MSR_IA32_ARCH_CAPABILITIES 0x10a 434 %define MSR_IA32_ARCH_CAP_F_SPECTRE_FIX RT_BIT_32(0) 435 %define MSR_IA32_ARCH_CAP_F_BETTER_IBRS RT_BIT_32(1) 435 %define MSR_IA32_ARCH_CAP_F_RDCL_NO RT_BIT_32(0) 436 %define MSR_IA32_ARCH_CAP_F_IBRS_ALL RT_BIT_32(1) 437 %define MSR_IA32_ARCH_CAP_F_RSBO RT_BIT_32(2) 438 %define MSR_IA32_ARCH_CAP_F_VMM_NEED_NOT_FLUSH_L1D RT_BIT_32(3) 439 %define MSR_IA32_FLUSH_CMD 0x10b 440 %define MSR_IA32_FLUSH_CMD_F_L1D RT_BIT_32(0) 436 441 %define MSR_BBL_CR_CTL3 0x11e 437 442 %ifndef MSR_IA32_SYSENTER_CS
Note:
See TracChangeset
for help on using the changeset viewer.