Changeset 332 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jan 25, 2007 8:49:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r306 r332 1200 1200 #if 0 1201 1201 if (pData->RDRAPhysOld != 0 && pData->GCRDRA != pData->RDRAPhysOld) 1202 PGMHandlerPhysicalDeregister( pDevIns->pDevHlp->pfnGetVM(pDevIns),1202 PGMHandlerPhysicalDeregister(PDMDevHlpGetVM(pDevIns), 1203 1203 pData->RDRAPhysOld & ~PAGE_OFFSET_MASK); 1204 1204 if ( pData->TRDAPhysOld != 0 && pData->GCTDRA != pData->TRDAPhysOld … … 1209 1209 { 1210 1210 int rc; 1211 rc = PGMR3HandlerPhysicalRegister( pDevIns->pDevHlp->pfnGetVM(pDevIns),1211 rc = PGMR3HandlerPhysicalRegister(PDMDevHlpGetVM(pDevIns), 1212 1212 PGMPHYSHANDLERTYPE_PHYSICAL_WRITE, 1213 1213 pData->GCRDRA & ~PAGE_OFFSET_MASK, … … 1228 1228 { 1229 1229 if (pData->TRDAPhysOld != 0) 1230 PGMHandlerPhysicalDeregister( pDevIns->pDevHlp->pfnGetVM(pDevIns),1230 PGMHandlerPhysicalDeregister(PDMDevHlpVM(pDevIns), 1231 1231 pData->TRDAPhysOld & ~PAGE_OFFSET_MASK); 1232 1232 1233 1233 int rc; 1234 1234 1235 rc = PGMR3HandlerPhysicalRegister( pDevIns->pDevHlp->pfnGetVM(pDevIns),1235 rc = PGMR3HandlerPhysicalRegister(PDMDevHlpGetVM(pDevIns), 1236 1236 PGMPHYSHANDLERTYPE_PHYSICAL_WRITE, 1237 1237 pData->GCTDRA & ~PAGE_OFFSET_MASK, … … 3942 3942 3943 3943 #ifdef PCNET_NO_POLLING 3944 rc = PDMR3GetSymbolR0Lazy( pDevIns->pDevHlp->pfnGetVM(pDevIns), NULL, "EMInterpretInstruction", (void **)&pData->pfnEMInterpretInstructionR0);3944 rc = PDMR3GetSymbolR0Lazy(PDMDevHlpGetVM(pDevIns), NULL, "EMInterpretInstruction", (void **)&pData->pfnEMInterpretInstructionR0); 3945 3945 if (VBOX_SUCCESS(rc)) 3946 3946 { … … 3949 3949 */ 3950 3950 RTGCPTR pfnHandlerGC; 3951 rc = PDMR3GetSymbolGCLazy( pDevIns->pDevHlp->pfnGetVM(pDevIns), NULL, "EMInterpretInstruction", (RTGCPTR *)&pData->pfnEMInterpretInstructionGC);3951 rc = PDMR3GetSymbolGCLazy(PDMDevHlpGetVM(pDevIns), NULL, "EMInterpretInstruction", (RTGCPTR *)&pData->pfnEMInterpretInstructionGC); 3952 3952 } 3953 3953 if (VBOX_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.