VirtualBox

Changeset 104849 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Jun 5, 2024 9:42:06 AM (8 months ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/Runtime/r0drv
Files:
2 edited

Legend:

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

    r104848 r104849  
    329329    return VINF_SUCCESS;
    330330}
    331 RT_EXPORT_SYMBOL(RTR0MemObjWasZeroInitialized);
     331RT_EXPORT_SYMBOL(RTR0MemObjZeroInitialize);
    332332
    333333
  • trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c

    r104848 r104849  
    12221222    for (iPage = 0; iPage < cPages; iPage++)
    12231223    {
    1224         void          *pvPage;
     1224        void    *pvPage;
    12251225
    12261226        /* Get the physical address of the page. */
    1227         RTHCPHYS const HCPhys = rtR0MemObjNativeGetPagePhysAddr(&pMemSolaris->Core, iPage);
     1227        RTHCPHYS HCPhys = rtR0MemObjNativeGetPagePhysAddr(&pMemSolaris->Core, iPage);
    12281228        AssertReturn(HCPhys != NIL_RTHCPHYS, VERR_INTERNAL_ERROR_3);
    12291229        Assert(!(HCPhys & PAGE_OFFSET_MASK));
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