Changeset 80118 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Aug 4, 2019 2:39:54 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132559
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r78015 r80118 5986 5986 static DECLCALLBACK(void) vgaR3Relocate(PPDMDEVINS pDevIns, RTGCINTPTR offDelta) 5987 5987 { 5988 # ifdef VBOX_WITH_RAW_MODE_KEEP 5988 5989 if (offDelta) 5989 5990 { … … 5994 5995 pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns); 5995 5996 } 5997 # else 5998 RT_NOREF(pDevIns, offDelta); 5999 # endif 5996 6000 } 5997 6001 … … 6340 6344 pThis->pDevInsR3 = pDevIns; 6341 6345 pThis->pDevInsR0 = PDMDEVINS_2_R0PTR(pDevIns); 6346 #ifdef VBOX_WITH_RAW_MODE_KEEP 6342 6347 pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns); 6348 #endif 6343 6349 6344 6350 vgaR3Reset(pDevIns); … … 6489 6495 pThis->vram_ptrR0 = (RTR0PTR)pThis->vram_ptrR3; /** @todo @bugref{1865} Map parts into R0 or just use PGM access (Mac only). */ 6490 6496 6497 #ifdef VBOX_WITH_RAW_MODE_KEEP 6491 6498 if (pThis->fGCEnabled) 6492 6499 { … … 6496 6503 AssertLogRelMsgRCReturn(rc, ("PDMDevHlpMMHyperMapMMIO2(%#x,) -> %Rrc\n", VGA_MAPPING_SIZE, rc), rc); 6497 6504 pThis->vram_ptrRC = pRCMapping; 6498 # ifdef VBOX_WITH_VMSVGA6505 # ifdef VBOX_WITH_VMSVGA 6499 6506 /* Don't need a mapping in RC */ 6500 #endif 6501 } 6507 # endif 6508 } 6509 #endif 6502 6510 6503 6511 #if defined(VBOX_WITH_2X_4GB_ADDR_SPACE) -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r77965 r80118 278 278 uint32_t u32Marker; 279 279 280 # ifdef VBOX_WITH_RAW_MODE_KEEP 280 281 /** Pointer to the device instance - RC Ptr. */ 281 282 PPDMDEVINSRC pDevInsRC; … … 283 284 RCPTRTYPE(uint8_t *) vram_ptrRC; 284 285 uint32_t Padding1; 286 # endif 285 287 286 288 /** Pointer to the device instance - R3 Ptr. */
Note:
See TracChangeset
for help on using the changeset viewer.