VirtualBox

Changeset 87106 in vbox for trunk/src


Ignore:
Timestamp:
Dec 18, 2020 9:09:01 PM (4 years ago)
Author:
vboxsync
Message:

Runtime/memobj-r0drv-solaris.c: Fix mapping memory into kernel space, 6.1 regression. bugref:9218 bugref:9894

File:
1 edited

Legend:

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

    r82968 r87106  
    977977    while (off < cbSub)
    978978    {
    979         RTHCPHYS HCPhys = RTR0MemObjGetPagePhysAddr(pMemToMap, (offSub + offSub) >> PAGE_SHIFT);
     979        RTHCPHYS HCPhys = RTR0MemObjGetPagePhysAddr(pMemToMap, (offSub + off) >> PAGE_SHIFT);
    980980        AssertBreakStmt(HCPhys != NIL_RTHCPHYS, rc = VERR_INTERNAL_ERROR_2);
    981981        pfn_t pfn = HCPhys >> PAGE_SHIFT;
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