Changeset 100728 in vbox for trunk/include
- Timestamp:
- Jul 28, 2023 12:01:08 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum-armv8.h
r99956 r100728 41 41 42 42 #include <VBox/types.h> 43 #include <iprt/armv8.h> 44 43 45 44 46 RT_C_DECLS_BEGIN … … 263 265 264 266 267 #if !defined(IPRT_WITHOUT_NAMED_UNIONS_AND_STRUCTS) || defined(DOXYGEN_RUNNING) 268 /** @name Inlined Guest Getters and predicates Functions. 269 * @{ */ 270 271 /** 272 * Tests if the guest is running in 64 bits mode or not. 273 * 274 * @returns true if in 64 bits mode, otherwise false. 275 * @param pCtx Current CPU context. 276 */ 277 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(PCPUMCTX pCtx) 278 { 279 return !RT_BOOL(pCtx->fPState & ARMV8_SPSR_EL2_AARCH64_M4); 280 } 281 282 /** @} */ 283 #endif /* !IPRT_WITHOUT_NAMED_UNIONS_AND_STRUCTS || DOXYGEN_RUNNING */ 284 285 265 286 #ifndef VBOX_FOR_DTRACE_LIB 266 287
Note:
See TracChangeset
for help on using the changeset viewer.