From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: [PATCH RFC 4/7] define ELF notes for adding to a boot image Date: Wed, 06 Jun 2007 15:58:41 -0700 Message-ID: <20070606230922.353532407@goop.org> References: <20070606225837.654272428@goop.org> Return-path: Content-Disposition: inline; filename=elf-bootnotes.patch List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Eric W. Biederman" , "H. Peter Anvin" Cc: lkml , Vivek Goyal , v12n List-Id: virtualization@lists.linuxfoundation.org Signed-off-by: Jeremy Fitzhardinge Cc: Vivek Goyal --- include/linux/elf_boot.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) =================================================================== --- /dev/null +++ b/include/linux/elf_boot.h @@ -0,0 +1,15 @@ +#ifndef ELF_BOOT_H +#define ELF_BOOT_H + +/* Elf notes to help bootloaders identify what program they are booting. + */ + +/* Standardized Elf image notes for booting... The name for all of these is ELFBoot */ +#define ELF_NOTE_BOOT ELFBoot + +#define EIN_PROGRAM_NAME 1 /* The program in this ELF file */ +#define EIN_PROGRAM_VERSION 2 /* The version of the program in this ELF file */ +#define EIN_PROGRAM_CHECKSUM 3 /* ip style checksum of the memory image. */ +#define EIN_ARGUMENT_STYLE 4 /* String identifying argument passing style */ + +#endif /* ELF_BOOT_H */ --