This patch series adds a new interface /sys/firmware/memmap to export the BIOS (Firmware) provided memory map via sysfs for usage with kexec. While the first patch adds the generic interface, the second patch implements that interface for E820 on x86. Change compared to previous commit: 1. Added Greg KH to Cc as suggested by H. Peter Anvin to review sysfs structure. 2. Display the configuration option only if CONFIG_EMBEDDED is set. If not, default to including the code in any case as it is not only useful for kexec. Please review! Signed-off-by: Bernhard Walle <bwalle at suse.de>