Ignore:
Timestamp:
Feb 19, 2009, 1:56:15 AM (16 years ago)
Author:
bird
Message:

A blind shot at FAT Mach-O images.

File:
1 edited

Legend:

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

    r21 r25  
    196196/** Not implemented yet. */
    197197#define KLDR_ERR_TODO                                   (KLDR_ERR_BASE + 34)
     198/** No image matching the requested CPU. */
     199#define KLDR_ERR_CPU_ARCH_MISMATCH                      (KLDR_ERR_BASE + 35)
     200/** Invalid FAT image header. */
     201#define KLDR_ERR_FAT_INVALID                            (KLDR_ERR_BASE + 36)
     202/** Unsupported CPU subtype found in a FAT entry. */
     203#define KLDR_ERR_FAT_UNSUPPORTED_CPU_SUBTYPE            (KLDR_ERR_BASE + 37)
    198204/** @} */
    199205
     
    202208 */
    203209/** The base of the kLdrModPE specific status codes. */
    204 #define KLDR_ERR_PE_BASE                                (KLDR_ERR_BASE + 35)
     210#define KLDR_ERR_PE_BASE                                (KLDR_ERR_BASE + 38)
    205211/** The machine isn't supported by the interpreter. */
    206212#define KLDR_ERR_PE_UNSUPPORTED_MACHINE                 (KLDR_ERR_PE_BASE + 0)
Note: See TracChangeset for help on using the changeset viewer.