Ignore:
Timestamp:
Aug 20, 2007, 12:14:55 AM (18 years ago)
Author:
bird
Message:

made the format headers usable externally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdrInternal.h

    r2954 r3525  
    5050 * @{ */
    5151/** ELF signature ("\x7fELF"). */
    52 #define IMAGE_ELF_SIGNATURE         KLDRHLP_LE2H_U32(0x7f | ('E' << 8) | ((uint32_t)'L' << 16) | ((uint32_t)'F' << 24))
     52#define IMAGE_ELF_SIGNATURE         KLDR_LE2H_U32(0x7f | ('E' << 8) | ((uint32_t)'L' << 16) | ((uint32_t)'F' << 24))
    5353/** PE signature ("PE\0\0"). */
    54 #define IMAGE_NT_SIGNATURE          KLDRHLP_LE2H_U32('P' | ('E' << 8))
     54#define IMAGE_NT_SIGNATURE          KLDR_LE2H_U32('P' | ('E' << 8))
    5555/** LX signature ("LX") */
    56 #define IMAGE_LX_SIGNATURE          KLDRHLP_LE2H_U16('L' | ('X' << 8))
     56#define IMAGE_LX_SIGNATURE          KLDR_LE2H_U16('L' | ('X' << 8))
    5757/** LE signature ("LE") */
    58 #define IMAGE_LE_SIGNATURE          KLDRHLP_LE2H_U16('L' | ('E' << 8))
     58#define IMAGE_LE_SIGNATURE          KLDR_LE2H_U16('L' | ('E' << 8))
    5959/** NE signature ("NE") */
    60 #define IMAGE_NE_SIGNATURE          KLDRHLP_LE2H_U16('N' | ('E' << 8))
     60#define IMAGE_NE_SIGNATURE          KLDR_LE2H_U16('N' | ('E' << 8))
    6161/** MZ signature ("MZ"). */
    62 #define IMAGE_DOS_SIGNATURE         KLDRHLP_LE2H_U16('M' | ('Z' << 8))
     62#define IMAGE_DOS_SIGNATURE         KLDR_LE2H_U16('M' | ('Z' << 8))
    6363/** The FAT signature (universal binaries). */
    6464#define IMAGE_FAT_SIGNATURE         UINT32_C(0xcafebabe)
Note: See TracChangeset for help on using the changeset viewer.