x86: Add /sys/firmware/memmap

From: Bernhard Walle
Date: Thu Jun 26 2008 - 16:18:48 EST


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@xxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/