Skip to content

Commit

Permalink
[Revert] MdePkg: PiStatusCode: Remove MU defined EFI_SW_EC_* codes
Browse files Browse the repository at this point in the history
This change removed the MU_CHANGE definitions for EFI_SW_EC_* codes.
Because the new definitions are upstreamed to PI spec and implemented in
EDK2 mainline now.

Signed-off-by: Kun Qin <[email protected]>
  • Loading branch information
kuqin12 committed Oct 17, 2024
1 parent 8b26fc4 commit 884eb61
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions MdePkg/Include/Pi/PiStatusCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -967,29 +967,27 @@ typedef struct {
/// These are shared by all subclasses.
///
///@{
#define EFI_SW_EC_NON_SPECIFIC 0x00000000
#define EFI_SW_EC_LOAD_ERROR 0x00000001
#define EFI_SW_EC_INVALID_PARAMETER 0x00000002
#define EFI_SW_EC_UNSUPPORTED 0x00000003
#define EFI_SW_EC_INVALID_BUFFER 0x00000004
#define EFI_SW_EC_OUT_OF_RESOURCES 0x00000005
#define EFI_SW_EC_ABORTED 0x00000006
#define EFI_SW_EC_ILLEGAL_SOFTWARE_STATE 0x00000007
#define EFI_SW_EC_ILLEGAL_HARDWARE_STATE 0x00000008
#define EFI_SW_EC_START_ERROR 0x00000009
#define EFI_SW_EC_BAD_DATE_TIME 0x0000000A
#define EFI_SW_EC_CFG_INVALID 0x0000000B
#define EFI_SW_EC_CFG_CLR_REQUEST 0x0000000C
#define EFI_SW_EC_CFG_DEFAULT 0x0000000D
#define EFI_SW_EC_PWD_INVALID 0x0000000E
#define EFI_SW_EC_PWD_CLR_REQUEST 0x0000000F
#define EFI_SW_EC_PWD_CLEARED 0x00000010
#define EFI_SW_EC_EVENT_LOG_FULL 0x00000011
#define EFI_SW_EC_WRITE_PROTECTED 0x00000012
#define EFI_SW_EC_FV_CORRUPTED 0x00000013
#define EFI_SW_EC_INCONSISTENT_MEMORY_MAP 0x00000014
#define EFI_SW_EC_MEMORY_TYPE_INFORMATION_CHANGE 0x00000015 // MU_CHANGE
#define EFI_SW_EC_RELEASE_ASSERT 0x00000016 // MU_CHANGE
#define EFI_SW_EC_NON_SPECIFIC 0x00000000
#define EFI_SW_EC_LOAD_ERROR 0x00000001
#define EFI_SW_EC_INVALID_PARAMETER 0x00000002
#define EFI_SW_EC_UNSUPPORTED 0x00000003
#define EFI_SW_EC_INVALID_BUFFER 0x00000004
#define EFI_SW_EC_OUT_OF_RESOURCES 0x00000005
#define EFI_SW_EC_ABORTED 0x00000006
#define EFI_SW_EC_ILLEGAL_SOFTWARE_STATE 0x00000007
#define EFI_SW_EC_ILLEGAL_HARDWARE_STATE 0x00000008
#define EFI_SW_EC_START_ERROR 0x00000009
#define EFI_SW_EC_BAD_DATE_TIME 0x0000000A
#define EFI_SW_EC_CFG_INVALID 0x0000000B
#define EFI_SW_EC_CFG_CLR_REQUEST 0x0000000C
#define EFI_SW_EC_CFG_DEFAULT 0x0000000D
#define EFI_SW_EC_PWD_INVALID 0x0000000E
#define EFI_SW_EC_PWD_CLR_REQUEST 0x0000000F
#define EFI_SW_EC_PWD_CLEARED 0x00000010
#define EFI_SW_EC_EVENT_LOG_FULL 0x00000011
#define EFI_SW_EC_WRITE_PROTECTED 0x00000012
#define EFI_SW_EC_FV_CORRUPTED 0x00000013
#define EFI_SW_EC_INCONSISTENT_MEMORY_MAP 0x00000014
///@}

//
Expand Down

0 comments on commit 884eb61

Please sign in to comment.