- Timestamp:
- Mar 5, 2007 4:09:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r1227 r1229 536 536 */ 537 537 case VMMR0_DO_VMMR0_INIT: 538 return VMMR0Init(pVM, (unsigned)(uintptr_t)pvArg); 538 { 539 RTCCUINTREG fFlags = ASMIntDisableFlags(); 540 int rc = VMMR0Init(pVM, (unsigned)(uintptr_t)pvArg); 541 ASMSetFlags(fFlags); 542 return rc; 543 } 539 544 540 545 /* … … 542 547 */ 543 548 case VMMR0_DO_VMMR0_TERM: 544 return VMMR0Term(pVM); 549 { 550 RTCCUINTREG fFlags = ASMIntDisableFlags(); 551 int rc = VMMR0Term(pVM); 552 ASMSetFlags(fFlags); 553 return rc; 554 } 545 555 546 556 /* … … 548 558 */ 549 559 case VMMR0_DO_HWACC_SETUP_VM: 550 return HWACCMR0SetupVMX(pVM); 560 { 561 RTCCUINTREG fFlags = ASMIntDisableFlags(); 562 int rc = HWACCMR0SetupVMX(pVM); 563 ASMSetFlags(fFlags); 564 return rc; 565 } 551 566 552 567 /* … … 560 575 return VERR_NOT_SUPPORTED; 561 576 577 RTCCUINTREG fFlags = ASMIntDisableFlags(); 562 578 int rc = pVM->vmm.s.pfnR0HostToGuest(pVM); 579 ASMSetFlags(fFlags); 563 580 return rc; 564 581 }
Note:
See TracChangeset
for help on using the changeset viewer.