1. 30 4月, 2011 1 次提交
    • M
      driver: Google EFI SMI · 74c5b31c
      Mike Waychison 提交于
      The "gsmi" driver bridges userland with firmware specific routines for
      accessing hardware.
      
      Currently, this driver only supports NVRAM and eventlog information.
      Deprecated functions have been removed from the driver, though their
      op-codes are left in place so that they are not re-used.
      
      This driver works by trampolining into the firmware via the smi_command
      outlined in the FADT table.  Three protocols are used due to various
      limitations over time, but all are included herein.
      
      This driver should only ever load on Google boards, identified by either
      a "Google, Inc." board vendor string in DMI, or "GOOGLE" in the OEM
      strings of the FADT ACPI table.  This logic happens in
      gsmi_system_valid().
      Signed-off-by: NDuncan Laurie <dlaurie@google.com>
      Signed-off-by: NAaron Durbin <adurbin@google.com>
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      74c5b31c