diff mbox

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

Message ID 1467798708-26701-3-git-send-email-ivan.hu@canonical.com
State Accepted
Headers show

Commit Message

Ivan Hu July 6, 2016, 9:51 a.m. UTC
Adding the EfiResetPlatformSpecific of the EFI_RESET_TYPE on uefi spec 2.6

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

Comments

Colin Ian King July 6, 2016, 9:56 a.m. UTC | #1
On 06/07/16 10:51, Ivan Hu wrote:
> Adding the EfiResetPlatformSpecific of the EFI_RESET_TYPE on uefi spec 2.6
> 
> Signed-off-by: Ivan Hu <ivan.hu@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 {
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Alex Hung July 7, 2016, 3:16 a.m. UTC | #2
On 2016-07-06 05:51 PM, Ivan Hu wrote:
> Adding the EfiResetPlatformSpecific of the EFI_RESET_TYPE on uefi spec 2.6
>
> Signed-off-by: Ivan Hu <ivan.hu@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 {
>


Acked-by: Alex Hung <alex.hung@canonical.com>
diff mbox

Patch

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 {