VirtualBox

Changeset 58 in kStuff for trunk/include/k/kErrors.h


Ignore:
Timestamp:
Oct 12, 2013 8:18:21 PM (11 years ago)
Author:
bird
Message:

Mach-O: Carve segments from the mach-o segments instead of the sections inside them. This works better for non-object files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/k/kErrors.h

    r54 r58  
    208208/** The image has no UUID. */
    209209#define KLDR_ERR_NO_IMAGE_UUID                          (KLDR_ERR_BASE + 38)
     210/** Duplicate segment name. */
     211#define KLDR_ERR_DUPLICATE_SEGMENT_NAME                 (KLDR_ERR_BASE + 39)
    210212/** @} */
    211213
     
    214216 */
    215217/** The base of the kLdrModPE specific status codes. */
    216 #define KLDR_ERR_PE_BASE                                (KLDR_ERR_BASE + 39)
     218#define KLDR_ERR_PE_BASE                                (KLDR_ERR_BASE + 40)
    217219/** The machine isn't supported by the interpreter. */
    218220#define KLDR_ERR_PE_UNSUPPORTED_MACHINE                 (KLDR_ERR_PE_BASE + 0)
     
    303305/** Unsupported fixup type. */
    304306#define KLDR_ERR_MACHO_UNSUPPORTED_FIXUP_TYPE           (KLDR_ERR_MACHO_BASE + 16)
     307/** Both debug and non-debug sections in segment. */
     308#define KLDR_ERR_MACHO_MIXED_DEBUG_SECTION_FLAGS        (KLDR_ERR_MACHO_BASE + 17)
     309/** The segment bits are non-contiguous in the file. */
     310#define KLDR_ERR_MACHO_NON_CONT_SEG_BITS                (KLDR_ERR_MACHO_BASE + 18)
    305311/** @} */
    306312
     
    309315 */
    310316/** The base of the kCpu specific status codes. */
    311 #define KCPU_ERR_BASE                                   (KLDR_ERR_MACHO_BASE + 18)
     317#define KCPU_ERR_BASE                                   (KLDR_ERR_MACHO_BASE + 19)
    312318/** The specified ARCH+CPU pairs aren't compatible. */
    313319#define KCPU_ERR_ARCH_CPU_NOT_COMPATIBLE                (KCPU_ERR_BASE + 0)
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