VirtualBox

Changeset 22616 in vbox


Ignore:
Timestamp:
Aug 31, 2009 4:04:44 PM (15 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

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

    r22613 r22616  
    12521252#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) && defined(RT_ARCH_X86)
    12531253                    /* remap_page_range() limitation on x86 */
    1254                     AssertBreakStmt(u64Phys < _4G, rc = VERR_NO_MEMORY);
     1254                    AssertBreakStmt(Phys < _4G, rc = VERR_NO_MEMORY);
    12551255#endif
    12561256
     
    12611261                    rc = remap_pfn_range(vma, ulAddrCur, page_to_pfn(pMemLnxToMap->apPages[iPage]), PAGE_SIZE, fPg);
    12621262#elif defined(VBOX_USE_PAE_HACK)
    1263                     rc = remap_page_range(vma, ulAddrCur, u64Phys, PAGE_SIZE, fPg);
     1263                    rc = remap_page_range(vma, ulAddrCur, DummyPhys, PAGE_SIZE, fPg);
    12641264                    if (rc)
    12651265                    {
     
    12671267                        break;
    12681268                    }
    1269                     rc = fixPte(pTask->mm, ulAddrCur, u64Phys);
     1269                    rc = fixPte(pTask->mm, ulAddrCur, Phys);
    12701270#else /* 2.4 */
    1271                     rc = remap_page_range(ulAddrCur, u64Phys, PAGE_SIZE, fPg);
     1271                    rc = remap_page_range(ulAddrCur, Phys, PAGE_SIZE, fPg);
    12721272#endif
    12731273                    if (rc)
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