From 9c200a85de2245a850546fded96a1977b84ad24d Mon Sep 17 00:00:00 2001 From: Dave Young Date: Fri, 20 Dec 2013 18:05:46 +0800 Subject: Add efi_info in x86 setup header For supporting efi runtime on kexec kernel we need to fill the efi_info struct in setup_header. I just get the info in kernel exported boot_params data in debugfs. Signed-off-by: Dave Young Tested-by: Toshi Kani Signed-off-by: Simon Horman --- include/x86/x86-linux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/x86') diff --git a/include/x86/x86-linux.h b/include/x86/x86-linux.h index c41e5f2..50c7324 100644 --- a/include/x86/x86-linux.h +++ b/include/x86/x86-linux.h @@ -113,7 +113,8 @@ 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[0x1e0 - 0xcc]; /* 0xcc */ + uint8_t reserved4_1[0x1c0 - 0xcc]; /* 0xe4 */ + uint8_t efi_info[32]; /* 0x1c0 */ uint32_t alt_mem_k; /* 0x1e0 */ uint8_t reserved5[4]; /* 0x1e4 */ uint8_t e820_map_nr; /* 0x1e8 */ -- cgit