diff options
author | Artiom Myaskouvskey <artiom.myaskouvskey@intel.com> | 2006-12-07 02:14:11 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:11 +0100 |
commit | bf7e6a196318316e921f357557fca9d11d15f486 (patch) | |
tree | 7484602fdde8eab3b750b4e9bd3f3d9a2edc628e /include/linux/efi.h | |
parent | f990fff427d68af3e4e1d16fe799c106abc0bf53 (diff) | |
download | linux-bf7e6a196318316e921f357557fca9d11d15f486.tar.gz linux-bf7e6a196318316e921f357557fca9d11d15f486.tar.bz2 linux-bf7e6a196318316e921f357557fca9d11d15f486.zip |
[PATCH] i386: Preserve EFI run time regions with memmap parameter
When using memmap kernel parameter in EFI boot we should also add to memory map
memory regions of runtime services to enable their mapping later.
AK: merged and cleaned up the patch
Signed-off-by: Artiom Myaskouvskey <artiom.myaskouvskey@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 91ecf49fbf21..df1c91855f0e 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -302,6 +302,7 @@ extern void efi_initialize_iomem_resources(struct resource *code_resource, struct resource *data_resource); extern unsigned long efi_get_time(void); extern int __init efi_set_rtc_mmss(unsigned long nowtime); +extern int is_available_memory(efi_memory_desc_t * md); extern struct efi_memory_map memmap; /** |