VirtualBox

Ignore:
Timestamp:
Jun 7, 2024 1:10:12 PM (8 months ago)
Author:
vboxsync
Message:

VMM/PGM,SUPDrv,IPRT: Added a RTR0MemObjZeroInitialize function to IPRT/SUPDrv for helping zero initializing MMIO2 backing memory. [solaris fix] bugref:10687

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c

    r104868 r104869  
    12191219DECLHIDDEN(int) rtR0MemObjNativeZeroInitWithoutMapping(PRTR0MEMOBJINTERNAL pMem)
    12201220{
     1221#ifdef RT_ARCH_AMD64
    12211222    PRTR0MEMOBJSOL const pMemSolaris = (PRTR0MEMOBJSOL)pMem;
    12221223    size_t const         cPages      = pMemSolaris->Core.cb >> PAGE_SHIFT;
     
    12411242    }
    12421243    return VINF_SUCCESS;
    1243 }
    1244 
     1244#else
     1245    RT_NOREF(pMem);
     1246    return VERR_NOT_IMPLEMENTED;
     1247#endif
     1248}
     1249
Note: See TracChangeset for help on using the changeset viewer.

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