[edk2-devel] [PATCH v1 0/2] MdePkg: Add missing status codes

Nate DeSimone posted 2 patches 9 months ago
Failed in applying to current master (apply log)
MdePkg/Include/Base.h                          | 10 ++++++++++
MdePkg/Include/Uefi/UefiBaseType.h             |  2 ++
MdePkg/Library/BasePrintLib/PrintLibInternal.c | 10 +++++++---
3 files changed, 19 insertions(+), 3 deletions(-)
[edk2-devel] [PATCH v1 0/2] MdePkg: Add missing status codes
Posted by Nate DeSimone 9 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4514

Upon review it has been found that MdePkg is missing two
status code definitions:

 1. EFI_IP_ADDRESS_CONFLICT - Added in UEFI Spec v2.5
 2. EFI_WARN_RESET_REQUIRED - Added in UEFI Spec v2.6

Moreover, PrintLib does not correctly decode the follow status codes:

 1. EFI_IP_ADDRESS_CONFLICT
 2. EFI_HTTP_ERROR
 3. EFI_WARN_FILE_SYSTEM
 4. EFI_WARN_RESET_REQUIRED

These missing status codes and the missing decodings have been added.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>

Nate DeSimone (2):
  MdePkg: Add missing status codes
  MdePkg: Add new status codes to PrintLib

 MdePkg/Include/Base.h                          | 10 ++++++++++
 MdePkg/Include/Uefi/UefiBaseType.h             |  2 ++
 MdePkg/Library/BasePrintLib/PrintLibInternal.c | 10 +++++++---
 3 files changed, 19 insertions(+), 3 deletions(-)

-- 
2.30.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107405): https://edk2.groups.io/g/devel/message/107405
Mute This Topic: https://groups.io/mt/100468025/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH v1 0/2] MdePkg: Add missing status codes
Posted by Michael D Kinney 9 months ago
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>


> -----Original Message-----
> From: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>
> Sent: Monday, July 31, 2023 11:43 AM
> To: devel@edk2.groups.io
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Liu, Zhiguang <zhiguang.liu@intel.com>
> Subject: [PATCH v1 0/2] MdePkg: Add missing status codes
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4514
> 
> Upon review it has been found that MdePkg is missing two
> status code definitions:
> 
>  1. EFI_IP_ADDRESS_CONFLICT - Added in UEFI Spec v2.5
>  2. EFI_WARN_RESET_REQUIRED - Added in UEFI Spec v2.6
> 
> Moreover, PrintLib does not correctly decode the follow status codes:
> 
>  1. EFI_IP_ADDRESS_CONFLICT
>  2. EFI_HTTP_ERROR
>  3. EFI_WARN_FILE_SYSTEM
>  4. EFI_WARN_RESET_REQUIRED
> 
> These missing status codes and the missing decodings have been added.
> 
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
> 
> Nate DeSimone (2):
>   MdePkg: Add missing status codes
>   MdePkg: Add new status codes to PrintLib
> 
>  MdePkg/Include/Base.h                          | 10 ++++++++++
>  MdePkg/Include/Uefi/UefiBaseType.h             |  2 ++
>  MdePkg/Library/BasePrintLib/PrintLibInternal.c | 10 +++++++---
>  3 files changed, 19 insertions(+), 3 deletions(-)
> 
> --
> 2.30.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107409): https://edk2.groups.io/g/devel/message/107409
Mute This Topic: https://groups.io/mt/100468025/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076/xyzzy [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-