diff options
author | Michael Brown | 2007-01-11 15:44:03 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-11 15:44:03 +0100 |
commit | 7ad1c2eaa8d7fb4e41bd56ed4d2e72d82748244b (patch) | |
tree | 94f2f8a818b8edb0701d4507d5ea0ca41cb84419 /src/include/elf.h | |
parent | Add image directory back in (diff) | |
download | ipxe-7ad1c2eaa8d7fb4e41bd56ed4d2e72d82748244b.tar.gz ipxe-7ad1c2eaa8d7fb4e41bd56ed4d2e72d82748244b.tar.xz ipxe-7ad1c2eaa8d7fb4e41bd56ed4d2e72d82748244b.zip |
Removed the Etherboot-specific ELF-image code and replaced it with a
generic ELF loader, to be used by the multiboot code.
Diffstat (limited to 'src/include/elf.h')
-rw-r--r-- | src/include/elf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/elf.h b/src/include/elf.h index 606b4192..a6eb5d9c 100644 --- a/src/include/elf.h +++ b/src/include/elf.h @@ -121,6 +121,7 @@ #define ELFMAG3 'F' #define ELFMAG "\177ELF" +#define SELFMAG 4 #define EI_CLASS 4 /* File class byte index */ #define ELFCLASSNONE 0 /* Invalid class */ @@ -141,6 +142,9 @@ #define ELF32_PHDR_SIZE (8*4) /* Size of an elf program header */ #ifndef ASSEMBLY + +#include <stdint.h> + /* * ELF definitions common to all 32-bit architectures. */ @@ -229,6 +233,4 @@ typedef struct { #endif /* ASSEMBLY */ -#include "elf_boot.h" - #endif /* ELF_H */ |