Changeset 48562 in vbox
- Timestamp:
- Sep 19, 2013 7:26:43 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89113
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm.h
r48130 r48562 38 38 39 39 RT_C_DECLS_BEGIN 40 41 /** @def VMCPU_HMCF_CLEAR 42 * Clears a HM-context flag for the given VCPU. 43 * 44 * @param pVCpu Pointer to the VMCPU. 45 * @param fFlag The flag to clear. 46 */ 47 #define VMCPU_HMCF_CLEAR(pVCpu, fFlag) ((pVCpu)->hm.s.fContextUseFlags &= ~(fFlag)) 48 49 /** @def VMCPU_FF_SET 50 * Sets a HM-context flag for the given VCPU. 51 * 52 * @param pVCpu Pointer to the VMCPU. 53 * @param fFlag The flag to set. 54 */ 55 #define VMCPU_HMCF_SET(pVCpu, fFlag) ((pVCpu)->hm.s.fContextUseFlags |= (fFlag)) 56 57 /** @def VMCPU_HMCF_IS_SET 58 * Checks if -only- the specified HM-context flag is set and nothing else. 59 * 60 * @param pVCpu Pointer to the VMCPU. 61 * @param fFlag The flag to check. 62 */ 63 #define VMCPU_HMCF_IS_SET(pVCpu, fFlag) (((pVCpu)->hm.s.fContextUseFlags & (fFlag)) == (fFlag)) 64 65 /** @def VMCPU_HMCF_IS_PENDING 66 * Checks if a HM-context flags is pending. 67 * 68 * @param pVCpu Pointer to the VMCPU. 69 * @param fFlags The flags to check for. 70 */ 71 #define VMCPU_HMCF_IS_PENDING(pVCpu, fFlags) RT_BOOL((pVCpu)->hm.s.fContextUseFlags & (fFlags)) 40 72 41 73 /**
Note:
See TracChangeset
for help on using the changeset viewer.