summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2013-12-20 18:05:46 +0800
committerSimon Horman <horms@verge.net.au>2014-01-21 14:01:28 +0900
commit9c200a85de2245a850546fded96a1977b84ad24d (patch)
tree6cee0ea5570ea4eb9aedab009cae7c6086de90b4 /include
parentfe8a7c2ce02c407bdd7304bd2abfa637e26b6442 (diff)
downloadkexec-tools-9c200a85de2245a850546fded96a1977b84ad24d.tar.gz
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 <dyoung@redhat.com> Tested-by: Toshi Kani <toshi.kani@hp.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r--include/x86/x86-linux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/x86/x86-linux.h b/include/x86/x86-linux.h
index c41e5f22..50c73248 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 */