Changeset 54719 in vbox
- Timestamp:
- Mar 11, 2015 4:19:50 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/VBox/vmm/vmm.h (modified) (1 diff)
-
src/VBox/VMM/VMMR0/VMMR0.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vmm.h
r54718 r54719 509 509 VMMR0_INT_DECL(bool) VMMR0IsLongJumpArmed(PVMCPU pVCpu); 510 510 VMMR0_INT_DECL(bool) VMMR0IsInRing3LongJump(PVMCPU pVCpu); 511 VMMR0 DECL(int)VMMR0ThreadCtxHooksCreate(PVMCPU pVCpu);512 VMMR0 DECL(void)VMMR0ThreadCtxHooksRelease(PVMCPU pVCpu);513 VMMR0 DECL(bool)VMMR0ThreadCtxHooksAreCreated(PVMCPU pVCpu);514 VMMR0 DECL(int)VMMR0ThreadCtxHooksRegister(PVMCPU pVCpu, PFNRTTHREADCTXHOOK pfnHook);515 VMMR0 DECL(void)VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu);516 VMMR0 DECL(bool)VMMR0ThreadCtxHooksAreRegistered(PVMCPU pVCpu);511 VMMR0_INT_DECL(int) VMMR0ThreadCtxHooksCreate(PVMCPU pVCpu); 512 VMMR0_INT_DECL(void) VMMR0ThreadCtxHooksRelease(PVMCPU pVCpu); 513 VMMR0_INT_DECL(bool) VMMR0ThreadCtxHooksAreCreated(PVMCPU pVCpu); 514 VMMR0_INT_DECL(int) VMMR0ThreadCtxHooksRegister(PVMCPU pVCpu, PFNRTTHREADCTXHOOK pfnHook); 515 VMMR0_INT_DECL(void) VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu); 516 VMMR0_INT_DECL(bool) VMMR0ThreadCtxHooksAreRegistered(PVMCPU pVCpu); 517 517 518 518 # ifdef LOG_ENABLED -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r54718 r54719 454 454 * @thread EMT(pVCpu) 455 455 */ 456 VMMR0 DECL(int) VMMR0ThreadCtxHooksCreate(PVMCPU pVCpu)456 VMMR0_INT_DECL(int) VMMR0ThreadCtxHooksCreate(PVMCPU pVCpu) 457 457 { 458 458 VMCPU_ASSERT_EMT(pVCpu); … … 478 478 * @remarks Can be called from any thread. 479 479 */ 480 VMMR0 DECL(void) VMMR0ThreadCtxHooksRelease(PVMCPU pVCpu)480 VMMR0_INT_DECL(void) VMMR0ThreadCtxHooksRelease(PVMCPU pVCpu) 481 481 { 482 482 RTThreadCtxHooksRelease(pVCpu->vmm.s.hR0ThreadCtx); … … 493 493 * @thread EMT(pVCpu) 494 494 */ 495 VMMR0 DECL(int) VMMR0ThreadCtxHooksRegister(PVMCPU pVCpu, PFNRTTHREADCTXHOOK pfnThreadHook)495 VMMR0_INT_DECL(int) VMMR0ThreadCtxHooksRegister(PVMCPU pVCpu, PFNRTTHREADCTXHOOK pfnThreadHook) 496 496 { 497 497 VMCPU_ASSERT_EMT(pVCpu); … … 507 507 * @thread EMT(pVCpu) 508 508 */ 509 VMMR0 DECL(void) VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu)509 VMMR0_INT_DECL(void) VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu) 510 510 { 511 511 /* Clear the VCPU <-> host CPU mapping as we've left HM context. See @bugref{7726} comment #19. */ … … 528 528 * @param pVCpu Pointer to the VMCPU. 529 529 */ 530 VMMR0 DECL(bool) VMMR0ThreadCtxHooksAreCreated(PVMCPU pVCpu)530 VMMR0_INT_DECL(bool) VMMR0ThreadCtxHooksAreCreated(PVMCPU pVCpu) 531 531 { 532 532 return pVCpu->vmm.s.hR0ThreadCtx != NIL_RTTHREADCTX; … … 540 540 * @param pVCpu Pointer to the VMCPU. 541 541 */ 542 VMMR0 DECL(bool) VMMR0ThreadCtxHooksAreRegistered(PVMCPU pVCpu)542 VMMR0_INT_DECL(bool) VMMR0ThreadCtxHooksAreRegistered(PVMCPU pVCpu) 543 543 { 544 544 return RTThreadCtxHooksAreRegistered(pVCpu->vmm.s.hR0ThreadCtx);
Note:
See TracChangeset
for help on using the changeset viewer.

