VirtualBox

Ignore:
Timestamp:
Jan 10, 2012 6:15:04 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75626
Message:

rtr0memobj: Status code adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp

    r36555 r39744  
    508508                }
    509509
    510                 rc = VERR_NO_MEMORY;
     510                if (enmType == RTR0MEMOBJTYPE_PHYS_NC)
     511                    rc = VERR_NO_PHYS_MEMORY;
     512                else if (enmType == RTR0MEMOBJTYPE_LOW)
     513                    rc = VERR_NO_LOW_MEMORY;
     514                else if (enmType == RTR0MEMOBJTYPE_CONT)
     515                    rc = VERR_NO_CONT_MEMORY;
     516                else
     517                    rc = VERR_NO_MEMORY;
    511518            }
    512519            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