diff mbox series

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

Message ID 20201227205225.1091-2-xypron.glpk@gmx.de
State Superseded
Headers show
Series uefi: fix fwts_uefi_rt_support_status_get() | expand

Commit Message

Heinrich Schuchardt Dec. 27, 2020, 8:52 p.m. UTC
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@gmx.de>
---
 src/lib/include/fwts_efi_runtime.h | 6 ++++++
 1 file changed, 6 insertions(+)

--
2.29.2
diff mbox series

Patch

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_ */