mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 15:23:42 +03:00
Removed the Etherboot-specific ELF-image code and replaced it with a
generic ELF loader, to be used by the multiboot code.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user