VirtualBox

Ignore:
Timestamp:
Mar 14, 2007 6:28:14 PM (18 years ago)
Author:
vboxsync
Message:

No longer require contiguous memory for the VM structure.
Did long overdue IOCtl cleanup wrt R3/R0 pointers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp

    r1 r1481  
    160160}
    161161
    162 INTNETR3DECL(int) SUPR0MemAlloc(PSUPDRVSESSION pSession, unsigned cb, void **ppvR0, void **ppvR3)
     162INTNETR3DECL(int) SUPR0MemAlloc(PSUPDRVSESSION pSession, uint32_t cb, PRTR0PTR ppvR0, PRTR3PTR ppvR3)
    163163{
    164164    if (pSession != g_pSession)
     
    171171    if (!pv)
    172172        return VERR_NO_MEMORY;
    173     *ppvR0 = pv;
     173    *ppvR0 = (RTR0PTR)pv;
    174174    if (ppvR3)
    175175        *ppvR3 = pv;
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