Changeset 64373 in vbox for trunk/src/VBox/Devices/GIMDev/GIMDev.cpp
- Timestamp:
- Oct 23, 2016 7:03:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/GIMDev/GIMDev.cpp
r64357 r64373 285 285 { 286 286 Assert(!pCur->fRegistered); 287 rc = PDMDevHlpMMIO2Register(pDevIns, pCur->iRegion, pCur->cbRegion, 0 /* fFlags */, &pCur->pvPageR3,288 287 rc = PDMDevHlpMMIO2Register(pDevIns, NULL, pCur->iRegion, pCur->cbRegion, 0 /* fFlags */, &pCur->pvPageR3, 288 pCur->szDescription); 289 289 if (RT_FAILURE(rc)) 290 290 return rc; … … 294 294 #if defined(VBOX_WITH_2X_4GB_ADDR_SPACE) 295 295 RTR0PTR pR0Mapping = 0; 296 rc = PDMDevHlpMMIO2MapKernel(pDevIns, pCur->iRegion, 0 /* off */, pCur->cbRegion, pCur->szDescription,296 rc = PDMDevHlpMMIO2MapKernel(pDevIns, NULL, pCur->iRegion, 0 /* off */, pCur->cbRegion, pCur->szDescription, 297 297 &pR0Mapping); 298 298 AssertLogRelMsgRCReturn(rc, ("PDMDevHlpMapMMIO2IntoR0(%#x,) -> %Rrc\n", pCur->cbRegion, rc), rc); … … 308 308 { 309 309 RTRCPTR pRCMapping = 0; 310 rc = PDMDevHlpMMHyperMapMMIO2(pDevIns, pCur->iRegion, 0 /* off */, pCur->cbRegion, pCur->szDescription,310 rc = PDMDevHlpMMHyperMapMMIO2(pDevIns, NULL, pCur->iRegion, 0 /* off */, pCur->cbRegion, pCur->szDescription, 311 311 &pRCMapping); 312 312 AssertLogRelMsgRCReturn(rc, ("PDMDevHlpMMHyperMapMMIO2(%#x,) -> %Rrc\n", pCur->cbRegion, rc), rc);
Note:
See TracChangeset
for help on using the changeset viewer.