Changeset 47645 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 9, 2013 1:47:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r47457 r47645 462 462 { 463 463 RTThreadCtxHooksRelease(pVCpu->vmm.s.hR0ThreadCtx); 464 } 465 466 467 /** 468 * Whether thread-context hooks are created (implying they're supported) on this 469 * platform. 470 * 471 * @returns true if the hooks are created, false otherwise. 472 * @param pVCpu Pointer to the VMCPU. 473 * 474 * @remarks Can be called from any thread. 475 */ 476 VMMR0DECL(bool) VMMR0ThreadCtxHooksAreCreated(PVMCPU pVCpu) 477 { 478 return pVCpu->vmm.s.hR0ThreadCtx != NIL_RTTHREADCTX; 479 } 480 481 482 /** 483 * Whether thread-context hooks are registered for this VCPU. 484 * 485 * @returns true if registered, false otherwise. 486 * @param pVCpu Pointer to the VMCPU. 487 */ 488 VMMR0DECL(bool) VMMR0ThreadCtxHooksAreRegistered(PVMCPU pVCpu) 489 { 490 return RTThreadCtxHooksAreRegistered(pVCpu->vmm.s.hR0ThreadCtx); 464 491 } 465 492
Note:
See TracChangeset
for help on using the changeset viewer.