3349N/A * IPRT - Convert Darwin Mach returns codes to iprt status codes. 3349N/A * Copyright (C) 2006-2012 Oracle Corporation 3349N/A * This file is part of VirtualBox Open Source Edition (OSE), as 3349N/A * you can redistribute it and/or modify it under the terms of the GNU 3349N/A * General Public License (GPL) as published by the Free Software 3349N/A * Foundation, in version 2 as it comes in the "COPYING" file of the 3349N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 3349N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 3349N/A * The contents of this file may alternatively be used under the terms 3349N/A * of the Common Development and Distribution License Version 1.0 3349N/A * (CDDL) only, as it comes in the "COPYING.CDDL" file of the 3349N/A * VirtualBox OSE distribution, in which case the provisions of the 3349N/A * CDDL are applicable instead of those of the GPL. 3349N/A * You may elect to license modified versions of this file under the 3349N/A * terms and conditions of either the GPL or the CDDL or both. 3349N/A/******************************************************************************* 3349N/A*******************************************************************************/ 3349N/A * 'optimized' success case. 3349N/A //case KERN_RESOURCE_SHORTAGE: 3349N/A //case KERN_MEMORY_FAILURE: 3349N/A //case KERN_ALREADY_IN_SET: 3349N/A //case KERN_UREFS_OVERFLOW: 3349N/A //case KERN_INVALID_CAPABILITY: 3349N/A //case KERN_MEMORY_PRESENT: 3349N/A //case KERN_MEMORY_DATA_MOVED: 3349N/A //case KERN_MEMORY_RESTART_COPY: 3349N/A //case KERN_INVALID_PROCESSOR_SET: 3349N/A //case KERN_INVALID_POLICY: 3349N/A //case KERN_INVALID_OBJECT: 3349N/A //case KERN_ALREADY_WAITING: 3349N/A //case KERN_EXCEPTION_PROTECTED: 3349N/A //case KERN_INVALID_LEDGER: 3349N/A //case KERN_INVALID_MEMORY_CONTROL: 3349N/A //case KERN_INVALID_SECURITY: 3349N/A //case KERN_LOCK_SET_DESTROYED: 3349N/A //case KERN_LOCK_OWNED_SELF: 3349N/A //case KERN_RPC_SERVER_TERMINATED: 3349N/A //case KERN_RPC_TERMINATE_ORPHAN: 3349N/A //case KERN_RPC_CONTINUE_ORPHAN: 3349N/A * CoreFoundation COM (may overlap with I/O Kit and Mach).