Changeset 55129 in vbox for trunk/src/VBox/VMM/VMMAll/HMAll.cpp
- Timestamp:
- Apr 8, 2015 11:31:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMAll.cpp
r55118 r55129 510 510 * Notifies HM that paravirtualized hypercalls are now enabled. 511 511 * 512 * @param pV M Pointer to the VM.513 */ 514 VMM_INT_DECL(void) HMHypercallsEnable(PVM pVM)515 { 516 pV M->hm.s.fHypercallsEnabled = true;512 * @param pVCpu Pointer to the VMCPU. 513 */ 514 VMM_INT_DECL(void) HMHypercallsEnable(PVMCPU pVCpu) 515 { 516 pVCpu->hm.s.fHypercallsEnabled = true; 517 517 } 518 518 … … 521 521 * Notifies HM that paravirtualized hypercalls are now disabled. 522 522 * 523 * @param pVM Pointer to the VM. 524 */ 525 VMM_INT_DECL(void) HMHypercallsDisable(PVM pVM) 526 { 527 pVM->hm.s.fHypercallsEnabled = false; 528 } 529 523 * @param pVCpu Pointer to the VMCPU. 524 */ 525 VMM_INT_DECL(void) HMHypercallsDisable(PVMCPU pVCpu) 526 { 527 pVCpu->hm.s.fHypercallsEnabled = false; 528 } 529 530 531 /** 532 * Notifies HM that GIM provider wants to trap #UD. 533 * 534 * @param pVCpu Pointer to the VMCPU. 535 */ 536 VMM_INT_DECL(void) HMTrapXcptUDForGIMEnable(PVMCPU pVCpu) 537 { 538 pVCpu->hm.s.fGIMTrapXcptUD = true; 539 HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_XCPT_INTERCEPTS); 540 } 541 542 543 /** 544 * Notifies HM that GIM provider no longer wants to trap #UD. 545 * 546 * @param pVCpu Pointer to the VMCPU. 547 */ 548 VMM_INT_DECL(void) HMTrapXcptUDForGIMDisable(PVMCPU pVCpu) 549 { 550 pVCpu->hm.s.fGIMTrapXcptUD = false; 551 HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_XCPT_INTERCEPTS); 552 } 553
Note:
See TracChangeset
for help on using the changeset viewer.