Changeset 48544 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Sep 19, 2013 4:10:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r48368 r48544 3117 3117 * 3118 3118 * @returns boolean 3119 * @param pVM Pointer to the VM .3119 * @param pVM Pointer to the VMCPU. 3120 3120 */ 3121 3121 VMMDECL(bool) CPUMIsGuestDebugStateActive(PVMCPU pVCpu) … … 3123 3123 return RT_BOOL(pVCpu->cpum.s.fUseFlags & CPUM_USED_DEBUG_REGS_GUEST); 3124 3124 } 3125 3126 3127 /** 3128 * Checks if the guest debug state is to be made active during the world-switch 3129 * (currently only used for the 32->64 switcher case). 3130 * 3131 * @returns boolean 3132 * @param pVM Pointer to the VMCPU. 3133 */ 3134 VMMDECL(bool) CPUMIsGuestDebugStateActivePending(PVMCPU pVCpu) 3135 { 3136 return RT_BOOL(pVCpu->cpum.s.fUseFlags & CPUM_SYNC_DEBUG_REGS_GUEST); 3137 } 3138 3125 3139 3126 3140 /** … … 3133 3147 { 3134 3148 return RT_BOOL(pVCpu->cpum.s.fUseFlags & CPUM_USED_DEBUG_REGS_HYPER); 3149 } 3150 3151 3152 /** 3153 * Checks if the hyper debug state is to be made active during the world-switch 3154 * (currently only used for the 32->64 switcher case). 3155 * 3156 * @returns boolean 3157 * @param pVM Pointer to the VMCPU. 3158 */ 3159 VMMDECL(bool) CPUMIsHyperDebugStateActivePending(PVMCPU pVCpu) 3160 { 3161 return RT_BOOL(pVCpu->cpum.s.fUseFlags & CPUM_SYNC_DEBUG_REGS_HYPER); 3135 3162 } 3136 3163
Note:
See TracChangeset
for help on using the changeset viewer.