ebc92186cc
packages/mkelfimage/mkelfimage-autoconf.patch packages/mkelfimage/mkelfImage-2.7-x86_64.patch to our svn copy of mkelfimage. Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Jordan Crouse <jordan.crouse@amd.com> These are the original commit messages from the buildrom svn tree: ----------------------------------------------------------------------- r61 | jcrouse | 2007-11-28 13:06:23 -0500 (Wed, 28 Nov 2007) | 9 lines [BUILDROM] Fixup mkelfimage My patch makes it so all targets use vmlinux and 2.7. Including the mkelfimage patch from Yhinghai Lu. Signed-off-by: Myles Watson <myles@pel.cs.byu.edu> Acked-by: Jordan Crouse <jordan.crouse@amd.com> ------------------------------------------------------------------------ r80 | jcrouse | 2007-12-10 13:56:40 -0500 (Mon, 10 Dec 2007) | 8 lines [BUILDROM] Fix breakage in the new mkelfimage autoconf scripts Whack the autoconf scripts in mkelfimage to allow us to pass our stack protection flags in. Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Acked-by: Corey Osgood <corey.osgood@gmail.com> ------------------------------------------------------------------------ git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3473 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
34 lines
715 B
C
34 lines
715 B
C
|
|
/* Hard coded locations */
|
|
#define CONVERTLOC 0x10000
|
|
#define REAL_MODE_DATA_LOC 0x20000
|
|
#define GDTLOC 0x21000
|
|
#define GDT64LOC 0x22000
|
|
#define PGTLOC 0x23000
|
|
|
|
#define DEFAULT_ROOT_DEV ((0x3<<8)| 0)
|
|
|
|
#define CMDLINE_MAX 256
|
|
|
|
#ifdef ASSEMBLY
|
|
#define CONVERT_MAGIC 0xA5A5A5A5
|
|
#else
|
|
#define CONVERT_MAGIC 0xA5A5A5A5UL
|
|
#endif
|
|
|
|
#ifndef ASSEMBLY
|
|
struct image_parameters {
|
|
uint32_t convert_magic; /* a signature to verify mkelfImage was built properly */
|
|
uint32_t gdt_size;
|
|
uint32_t gdt64_size;
|
|
uint32_t pgt_size;
|
|
uint32_t bss_size;
|
|
uint16_t ramdisk_flags;
|
|
uint16_t root_dev;
|
|
uint32_t entry;
|
|
uint32_t switch_64;
|
|
uint32_t initrd_start;
|
|
uint32_t initrd_size;
|
|
uint8_t cmdline[CMDLINE_MAX];
|
|
};
|
|
#endif
|