On 10/27/13 at 12:04pm, Dave Young wrote: > For supporting efi runtime, several efi physical addresses > fw_vendor, runtime, config tables, smbios and the whole runtime > mapping info need to be used in kexec kernel. Thus introduce > setup_data struct for passing these data. > > collect the varialbes from /sys/firmware/efi/systab and > /sys/firmware/efi/efi-runtime-map > > Tested on qemu+ovmf, dell laptop, lenovo laptop and HP workstation. > > Signed-off-by: Dave Young <dyoung at redhat.com> > --- > include/x86/x86-linux.h | 2 > kexec/arch/i386/x86-linux-setup.c | 120 +++++++++++++++++++++++++++++++++++++- > 2 files changed, 120 insertions(+), 2 deletions(-) > > --- kexec-tools.orig/include/x86/x86-linux.h > +++ kexec-tools/include/x86/x86-linux.h > @@ -115,7 +115,7 @@ struct x86_linux_param_header { > uint32_t ext_ramdisk_image; /* 0xc0 */ > uint32_t ext_ramdisk_size; /* 0xc4 */ > uint32_t ext_cmd_line_ptr; /* 0xc8 */ > - uint8_t reserved4_1[0x1c0 - 0xcc]; /* 0xcc */ > + uint8_t reserved4_1[0x1c0 - 0xcc]; /* 0xe4 */ Above change should be in previous patch. Will update in next version.