• Mike Waychison's avatar
    firmware: Break out system_event_log in dmi-sysfs · 925a1da7
    Mike Waychison authored
    The optional type 15 entry of the DMI table describes a non-volatile
    storage-backed system event log.
    
    In preparation for the next commit which exposes the raw bits of the
    event log to userland, create a new sub-directory within the dmi entry
    called "system_event_log" and expose attribute files that describe the
    event log itself.
    
    Currently, only a single child object is permitted within a
    dmi_sysfs_entry.  We simply point at this child from the dmi_sysfs_entry
    if it exists.
    Signed-off-by: default avatarMike Waychison <mikew@google.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    925a1da7
dmi-sysfs.c 13.7 KB