VirtualBox

Changeset 80118 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Aug 4, 2019 2:39:54 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132559
Message:

VMM: Kicking out raw-mode and 32-bit hosts - MM, PGM, ++. bugref:9517 bugref:9511

Location:
trunk/src/VBox/Devices/VMMDev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r78995 r80118  
    42794279
    42804280
     4281#ifdef VBOX_WITH_RAW_MODE_KEEP
    42814282/**
    42824283 * @interface_method_impl{PDMDEVREG,pfnRelocate}
     
    42944295    }
    42954296}
     4297#endif
    42964298
    42974299
     
    43584360    pThis->pDevInsR3 = pDevIns;
    43594361    pThis->pDevInsR0 = PDMDEVINS_2_R0PTR(pDevIns);
     4362#ifdef VBOX_WITH_RAW_MODE_KEEP
    43604363    pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns);
     4364#endif
    43614365
    43624366    /* PCI vendor, just a free bogus value */
     
    45934597                                       N_("Failed to map first page of the VMMDev ram into kernel space: %Rrc"), rc);
    45944598
    4595 #ifdef VBOX_WITH_RAW_MODE
     4599#ifdef VBOX_WITH_RAW_MODE_KEEP
    45964600        rc = PDMDevHlpMMHyperMapMMIO2(pDevIns, &pThis->PciDev, 1 /*iRegion*/, 0 /*off*/, PAGE_SIZE, "VMMDev", &pThis->pVMMDevRAMRC);
    45974601        if (RT_FAILURE(rc))
     
    47604764    vmmdevDestruct,
    47614765    /* pfnRelocate */
     4766# ifdef VBOX_WITH_RAW_MODE_KEEP
    47624767    vmmdevRelocate,
     4768# else
     4769    NULL,
     4770# endif
    47634771    /* pfnMemSetup */
    47644772    NULL,
  • trunk/src/VBox/Devices/VMMDev/VMMDevState.h

    r77243 r80118  
    140140    uint32_t fHostCursorRequested;
    141141
    142 //#if HC_ARCH_BITS == 32
    143 //    /** Alignment padding. */
    144 //    uint32_t u32Alignment0;
    145 //#endif
    146 
     142#ifdef VBOX_WITH_RAW_MODE_KEEP
    147143    /** Pointer to device instance - RC pointer. */
    148144    PPDMDEVINSRC pDevInsRC;
     145#else
     146    uint32_t u32Alignment0;
     147#endif
    149148    /** Pointer to device instance - R3 poitner. */
    150149    PPDMDEVINSR3 pDevInsR3;
     
    205204    /** R0 pointer to VMMDev RAM area - first page only, could be NULL! */
    206205    R0PTRTYPE(VMMDevMemory *)   pVMMDevRAMR0;
     206#ifdef VBOX_WITH_RAW_MODE_KEEP
    207207    /** R0 pointer to VMMDev RAM area - first page only, could be NULL! */
    208208    RCPTRTYPE(VMMDevMemory *)   pVMMDevRAMRC;
    209 #if HC_ARCH_BITS != 32
    210209    RTRCPTR                     RCPtrAlignment3b;
    211210#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette