VirtualBox

Ignore:
Timestamp:
Sep 25, 2007 10:27:37 PM (17 years ago)
Author:
vboxsync
Message:

Use GVMMR3CreateVM. the new GVM structure is a ring-0 only VM structure. the old VM structure is the shared ring-0, ring-3 and GC VM structure.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c

    r4971 r5031  
    9999    { "RTMemAllocZ",                            (void *)RTMemAllocZ },
    100100    { "RTMemFree",                              (void *)RTMemFree },
     101    /*{ "RTMemDup",                               (void *)RTMemDup },*/
     102    { "RTMemRealloc",                           (void *)RTMemRealloc },
     103    { "RTR0MemObjAllocLow",                     (void *)RTR0MemObjAllocLow },
     104    { "RTR0MemObjAllocPage",                    (void *)RTR0MemObjAllocPage },
     105    { "RTR0MemObjAllocPhys",                    (void *)RTR0MemObjAllocPhys },
     106    { "RTR0MemObjAllocPhysNC",                  (void *)RTR0MemObjAllocPhysNC },
     107    { "RTR0MemObjLockUser",                     (void *)RTR0MemObjLockUser },
     108    { "RTR0MemObjMapKernel",                    (void *)RTR0MemObjMapKernel },
     109    { "RTR0MemObjMapUser",                      (void *)RTR0MemObjMapUser },
     110    { "RTR0MemObjAddress",                      (void *)RTR0MemObjAddress },
     111    { "RTR0MemObjAddressR3",                    (void *)RTR0MemObjAddressR3 },
     112    { "RTR0MemObjSize",                         (void *)RTR0MemObjSize },
     113    { "RTR0MemObjIsMapping",                    (void *)RTR0MemObjIsMapping },
     114    { "RTR0MemObjGetPagePhysAddr",              (void *)RTR0MemObjGetPagePhysAddr },
     115    { "RTR0MemObjFree",                         (void *)RTR0MemObjFree },
    101116/* These doesn't work yet on linux - use fast mutexes!
    102117    { "RTSemMutexCreate",                       (void *)RTSemMutexCreate },
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r4987 r5031  
    525525    {
    526526        AssertPtrReturn(pReqHdr, VERR_INVALID_POINTER);
    527         AssertReturn(pReqHdr->u32Magic != SUPVMMR0REQHDR_MAGIC, VERR_INVALID_MAGIC);
     527        AssertReturn(pReqHdr->u32Magic == SUPVMMR0REQHDR_MAGIC, VERR_INVALID_MAGIC);
    528528        const size_t cbReq = pReqHdr->cbReq;
    529529
  • trunk/src/VBox/HostDrivers/Support/SUPR0.def

    r4974 r5031  
    1414;  distribution. VirtualBox OSE is distributed in the hope that it will
    1515;  be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1617
    1718LIBRARY SUPR0.dll
     
    3536    RTMemAllocZ
    3637    RTMemFree
     38    RTMemRealloc
     39    RTR0MemObjAllocLow
     40    RTR0MemObjAllocPage
     41    RTR0MemObjAllocPhys
     42    RTR0MemObjAllocPhysNC
     43    RTR0MemObjLockUser
     44    RTR0MemObjMapKernel
     45    RTR0MemObjMapUser
     46    RTR0MemObjAddress
     47    RTR0MemObjAddressR3
     48    RTR0MemObjSize
     49    RTR0MemObjIsMapping
     50    RTR0MemObjGetPagePhysAddr
     51    RTR0MemObjFree
    3752    ; broken - RTSemMutexCreate
    3853    ; broken - RTSemMutexRequest
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