[PATCH 1/3] uefi: update header for EFI runtime services

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Dec 27 20:52:23 UTC 2020


Add the missing IOCTL calls for ResetSystem() and to retrieve the value of
RuntimeServicesSupported provided by the EFI_RT_PROPERTIES_TABLE
configuration table.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 src/lib/include/fwts_efi_runtime.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/include/fwts_efi_runtime.h b/src/lib/include/fwts_efi_runtime.h
index 51783ab2..018189ed 100644
--- a/src/lib/include/fwts_efi_runtime.h
+++ b/src/lib/include/fwts_efi_runtime.h
@@ -158,4 +158,10 @@ struct efi_querycapsulecapabilities {
 #define EFI_RUNTIME_QUERY_CAPSULECAPABILITIES \
 	_IOR('p', 0x0A, struct efi_querycapsulecapabilities)

+#define EFI_RUNTIME_RESET_SYSTEM \
+	_IOW('p', 0x0B, struct efi_resetsystem)
+
+#define EFI_RUNTIME_GET_SUPPORTED_MASK \
+	_IOR('p', 0x0C, unsigned int)
+
 #endif /* _FWTS_EFI_RUNTIME_H_ */
--
2.29.2




More information about the fwts-devel mailing list