Jeff:
  The patch is good. Please also update PI version to PI1.4a in comments. 

> -----Original Message-----
> From: Fan, Jeff
> Sent: Wednesday, June 01, 2016 4:25 PM
> To: [email protected]
> Cc: Gao, Liming <[email protected]>; Kinney, Michael D
> <[email protected]>
> Subject: [Patch] MdePkg: Follow PI1.4a to update EFI_SMM_SW_REGISTER2
> return status
> 
> Cc: Liming Gao <[email protected]>
> Cc: Michael Kinney <[email protected]>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jeff Fan <[email protected]>
> ---
>  MdePkg/Include/Protocol/SmmSwDispatch2.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/MdePkg/Include/Protocol/SmmSwDispatch2.h
> b/MdePkg/Include/Protocol/SmmSwDispatch2.h
> index 5e7322d..b7b1608 100644
> --- a/MdePkg/Include/Protocol/SmmSwDispatch2.h
> +++ b/MdePkg/Include/Protocol/SmmSwDispatch2.h
> @@ -4,7 +4,7 @@
> 
>    This protocol provides the parent dispatch service for a given SMI source
> generator.
> 
> -  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
> +  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
>    This program and the accompanying materials
>    are licensed and made available under the terms and conditions of the BSD
> License
>    which accompanies this distribution.  The full text of the license may be
> found at
> @@ -80,7 +80,7 @@ typedef struct _EFI_SMM_SW_DISPATCH2_PROTOCOL
> EFI_SMM_SW_DISPATCH2_PROTOCOL;
>                                   registered and the SMI source has been 
> enabled.
>    @retval EFI_DEVICE_ERROR       The SW driver was unable to enable the SMI
> source.
>    @retval EFI_INVALID_PARAMETER  RegisterContext is invalid. The SW SMI
> input value
> -                                 is not within valid range.
> +                                 is not within a valid range or is already 
> in use.
>    @retval EFI_OUT_OF_RESOURCES   There is not enough memory (system
> or SMM) to manage this
>                                   child.
>    @retval EFI_OUT_OF_RESOURCES   A unique software SMI value could not
> be assigned
> --
> 2.7.4.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to