Introduce userspace interface for Firmware-provided memory map

Bernhard Walle bwalle at suse.de
Sun Jun 22 15:59:53 EDT 2008


Hi,

* "H. Peter Anvin" <hpa at kernel.org> [2008-06-20 13:35]:
>
> Vivek Goyal wrote:
> > On Fri, Jun 20, 2008 at 05:56:57PM +0200, Bernhard Walle wrote:
> >> This patch (as request for comments) introduces a new userspace interface
> >> /proc/firmware_mem that provides the unfiltered view of the BIOS on
> >> memory configuration. That's usable for two reasons:
> > 
> > How about /proc/firmware_memmap. This is little longish but probably more
> > clear in intent.
> 
> Perhaps even /proc/firmware/memmap (or /sys/firmware/memmap/...).  I 
> realize introducing a new directory is annoying, but it's a namespace 
> that is likely to have other users.

Since /sys/firmware is already used by ACPI and EDD, I think that's
quite a good idea! Maybe we should also export the raw E820 or EFI
memory map there. Just like EDD.

I'll send a new patch.




Bernhard
-- 
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development



More information about the kexec mailing list