Changeset 7523 in vbox
- Timestamp:
- Mar 25, 2008 9:52:30 AM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevice.cpp
r6796 r7523 31 31 #include <VBox/vm.h> 32 32 #include <VBox/vmm.h> 33 #include <VBox/hwaccm.h>34 33 35 34 #include <VBox/version.h> … … 1276 1275 Port, cPorts, pvUser, pszOut, pszOut, pszIn, pszIn, pszOutStr, pszOutStr, pszInStr, pszInStr, pszDesc, pszDesc)); 1277 1276 1278 if (!HWACCMR3IsAllowed(pDevIns->Internal.s.pVMHC))1279 return VINF_SUCCESS; /* NOP */1280 1281 1277 /* 1282 1278 * Resolve the functions (one of the can be NULL). … … 1418 1414 LogFlow(("pdmR3DevHlp_MMIORegisterHC: caller='%s'/%d: GCPhysStart=%VGp cbRange=%#x pvUser=%p pszWrite=%p:{%s} pszRead=%p:{%s} pszFill=%p:{%s} pszDesc=%p:{%s}\n", 1419 1415 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pszWrite, pszWrite, pszRead, pszRead, pszFill, pszFill, pszDesc, pszDesc)); 1420 1421 if (!HWACCMR3IsAllowed(pDevIns->Internal.s.pVMHC))1422 return VINF_SUCCESS; /* NOP */1423 1416 1424 1417 /* … … 2534 2527 * Resolve and init the R0 bits. 2535 2528 */ 2536 if ( HWACCMR3IsAllowed(pVM) 2537 && pPciBusReg->pszSetIrqR0) 2529 if (pPciBusReg->pszSetIrqR0) 2538 2530 { 2539 2531 int rc = PDMR3GetSymbolR0Lazy(pVM, pDevIns->pDevReg->szR0Mod, pPciBusReg->pszSetIrqR0, &pPciBus->pfnSetIrqR0); … … 2672 2664 * R0 stuff. 2673 2665 */ 2674 if ( HWACCMR3IsAllowed(pVM) 2675 && pPicReg->pszSetIrqR0) 2666 if (pPicReg->pszSetIrqR0) 2676 2667 { 2677 2668 int rc = PDMR3GetSymbolR0Lazy(pVM, pDevIns->pDevReg->szR0Mod, pPicReg->pszSetIrqR0, &pVM->pdm.s.Pic.pfnSetIrqR0); … … 2868 2859 * Resolve & initialize the R0 bits. 2869 2860 */ 2870 if ( HWACCMR3IsAllowed(pVM) 2871 && pApicReg->pszGetInterruptR0) 2861 if (pApicReg->pszGetInterruptR0) 2872 2862 { 2873 2863 int rc = PDMR3GetSymbolR0Lazy(pVM, pDevIns->pDevReg->szR0Mod, pApicReg->pszGetInterruptR0, &pVM->pdm.s.Apic.pfnGetInterruptR0); … … 3033 3023 * Resolve & initialize the R0 bits. 3034 3024 */ 3035 if ( HWACCMR3IsAllowed(pVM) 3036 && pIoApicReg->pszSetIrqR0) 3025 if (pIoApicReg->pszSetIrqR0) 3037 3026 { 3038 3027 int rc = PDMR3GetSymbolR0Lazy(pVM, pDevIns->pDevReg->szR0Mod, pIoApicReg->pszSetIrqR0, &pVM->pdm.s.IoApic.pfnSetIrqR0); -
trunk/src/VBox/VMM/PGMHandler.cpp
r6914 r7523 101 101 R0PTRTYPE(PFNPGMR0PHYSHANDLER) pfnHandlerR0 = NIL_RTR0PTR; 102 102 int rc = VINF_SUCCESS; 103 if (pszHandlerR0 && HWACCMR3IsAllowed(pVM))103 if (pszHandlerR0) 104 104 rc = PDMR3GetSymbolR0Lazy(pVM, pszModR0, pszHandlerR0, &pfnHandlerR0); 105 105 if (VBOX_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.