[PATCH v2 2/2] MdePkg: MmCommunication: Add new Host Software class Error Code to MdePkg


Kun Qin
 

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3794

This change introduces a new error code definitions under Host Software
class.

The new error code definition will cover system reboot events under the
conditions of fragmented memory map from one boot to another.

These error codes could provide helpful datapoints to OEMs to investigate
and prevent system failures in general.

Cc: Michael D Kinney <michael.d.kinney@...>
Cc: Liming Gao <gaoliming@...>
Cc: Zhiguang Liu <zhiguang.liu@...>

Signed-off-by: Kun Qin <kuqin12@...>
---

Notes:
v2:
- Removed "RELEASE_ASSERT" definition
- Removed reference to EDK2 based memory type info [Mike]

MdePkg/Include/Pi/PiStatusCode.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusCode.h
index ef2aea7364bc..c389171a8d00 100644
--- a/MdePkg/Include/Pi/PiStatusCode.h
+++ b/MdePkg/Include/Pi/PiStatusCode.h
@@ -985,6 +985,7 @@ typedef struct {
#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_FRAGMENTED_MEMORY_MAP 0x00000014
///@}

//
--
2.34.1.windows.1

Join devel@edk2.groups.io to automatically receive all group messages.