VirtualBox

Changeset 21277 in vbox


Ignore:
Timestamp:
Jul 6, 2009 10:23:46 PM (16 years ago)
Author:
vboxsync
Message:

I'm not paying attention here...

File:
1 edited

Legend:

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

    r21275 r21277  
    4141RTR0DECL(int) RTR0MemUserCopyFrom(void *pvDst, RTR3PTR R3PtrSrc, size_t cb)
    4242{
    43     int rc = ddi_copyin((const char *)R3PtrSrc, pvDst, 0 /*flags*/);
     43    int rc = ddi_copyin((const char *)R3PtrSrc, pvDst, cb, 0 /*flags*/);
    4444    if (RT_LIKELY(rc == 0))
    4545        return VINF_SUCCESS;
     
    5050RTR0DECL(int) RTR0MemUserCopyTo(RTR3PTR R3PtrDst, void const *pvSrc, size_t cb)
    5151{
    52     int rc = ddi_copyout(pvSrc, (void *)R3PtrDst, cb);
     52    int rc = ddi_copyout(pvSrc, (void *)R3PtrDst, cb, 0 /*flags*/);
    5353    if (RT_LIKELY(rc == 0))
    5454        return VINF_SUCCESS;
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