Changeset 2945 for trunk/kLdr/kLdr.h


Ignore:
Timestamp:
Jan 14, 2007, 8:17:35 AM (19 years ago)
Author:
bird
Message:

fixed duplicate number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdr.h

    r2944 r2945  
    11271127#define KLDR_ERR_BUFFER_OVERFLOW                            (KLDR_ERR_BASE + 45)
    11281128/** The specified ARCH+CPU isn't compatible with image. */
    1129 #define KLDR_ERR_ARCH_CPU_NOT_COMPATIBLE                    (KLDR_ERR_BASE + 45)
     1129#define KLDR_ERR_ARCH_CPU_NOT_COMPATIBLE                    (KLDR_ERR_BASE + 46)
    11301130/** Symbol not found. */
    1131 #define KLDR_ERR_SYMBOL_NOT_FOUND                           (KLDR_ERR_BASE + 46)
     1131#define KLDR_ERR_SYMBOL_NOT_FOUND                           (KLDR_ERR_BASE + 47)
    11321132/** A forward symbol was encountered but the caller didn't provide any means to resolve it. */
    1133 #define KLDR_ERR_FORWARDER_SYMBOL                           (KLDR_ERR_BASE + 47)
     1133#define KLDR_ERR_FORWARDER_SYMBOL                           (KLDR_ERR_BASE + 48)
    11341134/** Encountered a bad fixup. */
    1135 #define KLDR_ERR_BAD_FIXUP                                  (KLDR_ERR_BASE + 48)
     1135#define KLDR_ERR_BAD_FIXUP                                  (KLDR_ERR_BASE + 49)
    11361136/** A memory allocation failed. */
    1137 #define KLDR_ERR_NO_MEMORY                                  (KLDR_ERR_BASE + 49)
     1137#define KLDR_ERR_NO_MEMORY                                  (KLDR_ERR_BASE + 50)
    11381138/** The import ordinal was out of bounds. */
    1139 #define KLDR_ERR_IMPORT_ORDINAL_OUT_OF_BOUNDS               (KLDR_ERR_BASE + 50)
     1139#define KLDR_ERR_IMPORT_ORDINAL_OUT_OF_BOUNDS               (KLDR_ERR_BASE + 51)
    11401140/** A forwarder chain was too long. */
    1141 #define KLDR_ERR_TOO_LONG_FORWARDER_CHAIN                   (KLDR_ERR_BASE + 51)
     1141#define KLDR_ERR_TOO_LONG_FORWARDER_CHAIN                   (KLDR_ERR_BASE + 52)
    11421142/** The module has no debug info. */
    1143 #define KLDR_ERR_NO_DEBUG_INFO                              (KLDR_ERR_BASE + 52)
     1143#define KLDR_ERR_NO_DEBUG_INFO                              (KLDR_ERR_BASE + 53)
    11441144/** The module is already mapped.
    11451145 * kLdrModMap() can only be called once (without kLdrModUnmap() in between). */
    1146 #define KLDR_ERR_ALREADY_MAPPED                             (KLDR_ERR_BASE + 53)
     1146#define KLDR_ERR_ALREADY_MAPPED                             (KLDR_ERR_BASE + 54)
    11471147/** The module was not mapped.
    11481148 * kLdrModUnmap() should not called without being preceeded by a kLdrModMap(). */
    1149 #define KLDR_ERR_NOT_MAPPED                                 (KLDR_ERR_BASE + 54)
     1149#define KLDR_ERR_NOT_MAPPED                                 (KLDR_ERR_BASE + 55)
    11501150/** Couldn't fit the address value into the field. Typically a relocation kind of error. */
    1151 #define KLDR_ERR_ADDRESS_OVERFLOW                           (KLDR_ERR_BASE + 55)
     1151#define KLDR_ERR_ADDRESS_OVERFLOW                           (KLDR_ERR_BASE + 56)
    11521152/** Thread attach failed. */
    11531153#define KLDR_ERR_THREAD_ATTACH_FAILED                       (KLDR_ERR_BASE + 57)
Note: See TracChangeset for help on using the changeset viewer.