diff options
author | Dave Young <dyoung@redhat.com> | 2013-12-20 18:02:17 +0800 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-12-21 15:29:36 +0000 |
commit | a0998eb15afeffbf52a2c2829318f67df9ac57b8 (patch) | |
tree | 5f19084e93f018407d8dfc3521d073250719e67f /include/linux | |
parent | 481f75c043cf44ec11c7fbdbbf37d43463f1e719 (diff) |
efi: Export more EFI table variables to sysfs
Export fw_vendor, runtime and config table physical addresses to
/sys/firmware/efi/{fw_vendor,runtime,config_table} because kexec kernels
need them.
From EFI spec these 3 variables will be updated to virtual address after
entering virtual mode. But kernel startup code will need the physical
address.
Signed-off-by: Dave Young <dyoung@redhat.com>
Tested-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/efi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 6c0ca528300c..fb60b10b7bd9 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -556,6 +556,9 @@ extern struct efi { unsigned long hcdp; /* HCDP table */ unsigned long uga; /* UGA table */ unsigned long uv_systab; /* UV system table */ + unsigned long fw_vendor; /* fw_vendor */ + unsigned long runtime; /* runtime table */ + unsigned long config_table; /* config tables */ efi_get_time_t *get_time; efi_set_time_t *set_time; efi_get_wakeup_time_t *get_wakeup_time; |