VirtualBox

Changeset 16404 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jan 30, 2009 6:33:23 AM (16 years ago)
Author:
vboxsync
Message:

kStuff: some preps for the 64-bit mach-o code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrkStuff.cpp

    r8245 r16404  
    176176        case KLDR_ERR_NOT_MAPPED:                           return VERR_WRONG_ORDER;
    177177        case KLDR_ERR_ADDRESS_OVERFLOW:                     return VERR_NUMBER_TOO_BIG;
     178        case KLDR_ERR_TODO:                                 return VERR_NOT_IMPLEMENTED;
    178179
    179180        case KLDR_ERR_NOT_LOADED_DYNAMICALLY:
     
    216217        case KLDR_ERR_LX_BAD_FORWARDER:
    217218        case KLDR_ERR_LX_NRICHAIN_NOT_SUPPORTED:
     219            return VERR_GENERAL_FAILURE;
     220
     221        case KLDR_ERR_MACHO_OTHER_ENDIAN_NOT_SUPPORTED:
     222        case KLDR_ERR_MACHO_BAD_HEADER:
     223        case KLDR_ERR_MACHO_UNSUPPORTED_FILE_TYPE:
     224        case KLDR_ERR_MACHO_UNSUPPORTED_MACHINE:
     225        case KLDR_ERR_MACHO_BAD_LOAD_COMMAND:
     226        case KLDR_ERR_MACHO_UNKNOWN_LOAD_COMMAND:
     227        case KLDR_ERR_MACHO_UNSUPPORTED_LOAD_COMMAND:
     228        case KLDR_ERR_MACHO_BAD_SECTION:
     229        case KLDR_ERR_MACHO_UNSUPPORTED_SECTION:
     230#ifdef KLDR_ERR_MACHO_UNSUPPORTED_INIT_SECTION
     231        case KLDR_ERR_MACHO_UNSUPPORTED_INIT_SECTION:
     232        case KLDR_ERR_MACHO_UNSUPPORTED_TERM_SECTION:
     233#endif
     234        case KLDR_ERR_MACHO_UNKNOWN_SECTION:
     235        case KLDR_ERR_MACHO_BAD_SECTION_ORDER:
     236        case KLDR_ERR_MACHO_BIT_MIX:
     237        case KLDR_ERR_MACHO_BAD_OBJECT_FILE:
     238        case KLDR_ERR_MACHO_BAD_SYMBOL:
     239        case KLDR_ERR_MACHO_UNSUPPORTED_FIXUP_TYPE:
     240            AssertMsgFailed(("krc=%d (%#x); KLDR_ERR_MACHO_BASE=%d; off=%d\n", krc, krc, KLDR_ERR_MACHO_BASE, krc - KLDR_ERR_MACHO_BASE));
    218241            return VERR_GENERAL_FAILURE;
    219242
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