diff options
| author | Matt Fleming <matt.fleming@intel.com> | 2013-09-05 19:55:00 +0100 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2013-09-05 19:55:00 +0100 |
| commit | 9efff3899b90e5ead9e676af9736e891ee23ce41 (patch) | |
| tree | 9a07ec52e822200704c8af9efea9a8971545cc98 /include/linux | |
| parent | 6f9dd30c22da4e48c4b7b837e9641f072e673161 (diff) | |
| parent | 258f6fd738221766b512cd8c7120563b78d62829 (diff) | |
Merge branch 'arm/efi-stub' into next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/efi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 5f8f176154f7..c084b6d942c3 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -404,6 +404,12 @@ typedef struct { unsigned long table; } efi_config_table_t; +typedef struct { + efi_guid_t guid; + const char *name; + unsigned long *ptr; +} efi_config_table_type_t; + #define EFI_SYSTEM_TABLE_SIGNATURE ((u64)0x5453595320494249ULL) #define EFI_2_30_SYSTEM_TABLE_REVISION ((2 << 16) | (30)) @@ -552,6 +558,7 @@ extern struct efi { efi_get_next_high_mono_count_t *get_next_high_mono_count; efi_reset_system_t *reset_system; efi_set_virtual_address_map_t *set_virtual_address_map; + struct efi_memory_map *memmap; } efi; static inline int @@ -587,6 +594,7 @@ static inline efi_status_t efi_query_variable_store(u32 attributes, unsigned lon } #endif extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr); +extern int efi_config_init(efi_config_table_type_t *arch_tables); extern u64 efi_get_iobase (void); extern u32 efi_mem_type (unsigned long phys_addr); extern u64 efi_mem_attributes (unsigned long phys_addr); |
