[PATCH 3/3] uefi: update reset type to uefi 2.6

Ivan Hu ivan.hu at canonical.com
Wed Jul 6 09:51:48 UTC 2016


Adding the EfiResetPlatformSpecific of the EFI_RESET_TYPE on uefi spec 2.6

Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 efi_runtime/efi_runtime.h          | 3 ++-
 src/lib/include/fwts_efi_runtime.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/efi_runtime/efi_runtime.h b/efi_runtime/efi_runtime.h
index e369981..ce3c6fe 100644
--- a/efi_runtime/efi_runtime.h
+++ b/efi_runtime/efi_runtime.h
@@ -26,7 +26,8 @@
 typedef enum {
 	EfiResetCold,
 	EfiResetWarm,
-	EfiResetShutdown
+	EfiResetShutdown,
+	EfiResetPlatformSpecific
 } EFI_RESET_TYPE;
 
 struct efi_getvariable {
diff --git a/src/lib/include/fwts_efi_runtime.h b/src/lib/include/fwts_efi_runtime.h
index a65de31..e1ac84e 100644
--- a/src/lib/include/fwts_efi_runtime.h
+++ b/src/lib/include/fwts_efi_runtime.h
@@ -22,7 +22,8 @@
 typedef enum {
 	EfiResetCold,
 	EfiResetWarm,
-	EfiResetShutdown
+	EfiResetShutdown,
+	EfiResetPlatformSpecific
 } EFI_RESET_TYPE;
 
 typedef struct {
-- 
1.9.1




More information about the fwts-devel mailing list