VirtualBox

Changeset 39703 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 4, 2012 10:43:51 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75550
Message:

Runtime/r0drv: get the physical address of Linux kernel kmap mappings too. Make it work on RHEL3.

File:
1 edited

Legend:

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

    r39697 r39703  
    818818#endif
    819819
    820 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 5)
     820/* As usual, RHEL 3 had pte_offset_map earlier. */
     821#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 5) || defined(pte_offset_map)
    821822    pEntry = pte_offset_map(&u.Middle, ulAddr);
    822823#else
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