Changeset 2870 for trunk/kLdr/kLdr.h


Ignore:
Timestamp:
Nov 12, 2006, 6:38:28 AM (19 years ago)
Author:
bird
Message:

Test all kLdrDyld apis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdr.h

    r2868 r2870  
    848848 * If not specified, the symbols are local and can only be referenced directly. */
    849849#define KLDRYDLD_LOAD_FLAGS_GLOBAL_SYMBOLS      0x00000001
     850/** The symbols in the module should be loaded into the global unix namespace and
     851 * it's symbols should take precedence over all currently loaded modules.
     852 * This implies KLDRYDLD_LOAD_FLAGS_GLOBAL_SYMBOLS. */
     853#define KLDRYDLD_LOAD_FLAGS_DEEP_SYMBOLS        0x00000002
    850854/** The module shouldn't be found by a global module search.
    851855 * If not specified, the module can be found by unspecified module searches,
    852856 * typical used when loading import/dep modules. */
    853 #define KLDRYDLD_LOAD_FLAGS_SPECIFIC_MODULE     0x00000002
     857#define KLDRYDLD_LOAD_FLAGS_SPECIFIC_MODULE     0x00000004
    854858/** Do a recursive initialization calls instead of defering them to the outermost call. */
    855 #define KLDRDYLD_LOAD_FLAGS_RECURSIVE_INIT      0x00000004
     859#define KLDRDYLD_LOAD_FLAGS_RECURSIVE_INIT      0x00000008
    856860/** We're loading the executable module.
    857861 * @internal */
     
    10271031/** The file reader can't take more concurrent mappings. */
    10281032#define KLDR_ERR_TOO_MANY_MAPPINGS                          (KLDR_ERR_BASE + 58)
     1033/** The module wasn't a DLL or object file. */
     1034#define KLDR_ERR_NOT_DLL                                    (KLDR_ERR_BASE + 59)
     1035/** The module wasn't an EXE. */
     1036#define KLDR_ERR_NOT_EXE                                    (KLDR_ERR_BASE + 60)
    10291037
    10301038
    10311039/** @name kLdrModPE status codes
    10321040 * @{ */
    1033 #define KLDR_ERR_BASE_PE                                    (KLDR_ERR_BASE + 59)
     1041#define KLDR_ERR_BASE_PE                                    (KLDR_ERR_BASE + 61)
    10341042/** The machine isn't supported by the interpreter. */
    10351043#define KLDR_ERR_PE_UNSUPPORTED_MACHINE                     (KLDR_ERR_BASE_PE + 0)
Note: See TracChangeset for help on using the changeset viewer.