18c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/
28c2ecf20Sopenharmony_ciDate:		February 2015
38c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
48c2ecf20Sopenharmony_ciDescription:	Provides userland access to read the EFI System Resource Table
58c2ecf20Sopenharmony_ci		(ESRT), a catalog of firmware for which can be updated with
68c2ecf20Sopenharmony_ci		the UEFI UpdateCapsule mechanism described in section 7.5 of
78c2ecf20Sopenharmony_ci		the UEFI Standard.
88c2ecf20Sopenharmony_ciUsers:		fwupdate - https://github.com/rhinstaller/fwupdate
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/fw_resource_count
118c2ecf20Sopenharmony_ciDate:		February 2015
128c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
138c2ecf20Sopenharmony_ciDescription:	The number of entries in the ESRT
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/fw_resource_count_max
168c2ecf20Sopenharmony_ciDate:		February 2015
178c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
188c2ecf20Sopenharmony_ciDescription:	The maximum number of entries that /could/ be registered
198c2ecf20Sopenharmony_ci		in the allocation the table is currently in.  This is
208c2ecf20Sopenharmony_ci		really only useful to the system firmware itself.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/fw_resource_version
238c2ecf20Sopenharmony_ciDate:		February 2015
248c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
258c2ecf20Sopenharmony_ciDescription:	The version of the ESRT structure provided by the firmware.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/
288c2ecf20Sopenharmony_ciDate:		February 2015
298c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
308c2ecf20Sopenharmony_ciDescription:	Each ESRT entry is identified by a GUID, and each gets a
318c2ecf20Sopenharmony_ci		subdirectory under entries/ .
328c2ecf20Sopenharmony_ci		example: /sys/firmware/efi/esrt/entries/entry0/
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/fw_type
358c2ecf20Sopenharmony_ciDate:		February 2015
368c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
378c2ecf20Sopenharmony_ciDescription:	What kind of firmware entry this is:
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci		==  ===============
408c2ecf20Sopenharmony_ci		0   Unknown
418c2ecf20Sopenharmony_ci		1   System Firmware
428c2ecf20Sopenharmony_ci		2   Device Firmware
438c2ecf20Sopenharmony_ci		3   UEFI Driver
448c2ecf20Sopenharmony_ci		==  ===============
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/fw_class
478c2ecf20Sopenharmony_ciDate:		February 2015
488c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
498c2ecf20Sopenharmony_ciDescription:	This is the entry's guid, and will match the directory name.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/fw_version
528c2ecf20Sopenharmony_ciDate:		February 2015
538c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
548c2ecf20Sopenharmony_ciDescription:	The version of the firmware currently installed.  This is a
558c2ecf20Sopenharmony_ci		32-bit unsigned integer.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/lowest_supported_fw_version
588c2ecf20Sopenharmony_ciDate:		February 2015
598c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
608c2ecf20Sopenharmony_ciDescription:	The lowest version of the firmware that can be installed.
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/capsule_flags
638c2ecf20Sopenharmony_ciDate:		February 2015
648c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
658c2ecf20Sopenharmony_ciDescription:	Flags that must be passed to UpdateCapsule()
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/last_attempt_version
688c2ecf20Sopenharmony_ciDate:		February 2015
698c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
708c2ecf20Sopenharmony_ciDescription:	The last firmware version for which an update was attempted.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ciWhat:		/sys/firmware/efi/esrt/entries/entry$N/last_attempt_status
738c2ecf20Sopenharmony_ciDate:		February 2015
748c2ecf20Sopenharmony_ciContact:	Peter Jones <pjones@redhat.com>
758c2ecf20Sopenharmony_ciDescription:	The result of the last firmware update attempt for the
768c2ecf20Sopenharmony_ci		firmware resource entry.
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ci		==  ======================
798c2ecf20Sopenharmony_ci		0   Success
808c2ecf20Sopenharmony_ci		1   Insufficient resources
818c2ecf20Sopenharmony_ci		2   Incorrect version
828c2ecf20Sopenharmony_ci		3   Invalid format
838c2ecf20Sopenharmony_ci		4   Authentication error
848c2ecf20Sopenharmony_ci		5   AC power event
858c2ecf20Sopenharmony_ci		6   Battery power event
868c2ecf20Sopenharmony_ci		==  ======================
878c2ecf20Sopenharmony_ci
88