From: "Kun Qin" <kuqin12@gmail.com>
To: devel@edk2.groups.io
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>,
Zhiguang Liu <zhiguang.liu@intel.com>
Subject: [edk2-staging][PATCH v4 2/2] MdePkg: MmCommunication: Add new Host Software class Error Code to MdePkg
Date: Wed, 3 Aug 2022 14:41:08 -0700 [thread overview]
Message-ID: <20220803214108.259-3-kuqin12@gmail.com> (raw)
In-Reply-To: <20220803214108.259-1-kuqin12@gmail.com>
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 inconsistent 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@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
---
Notes:
v2:
- Removed "RELEASE_ASSERT" definition
- Removed reference to EDK2 based memory type info [Mike]
v3:
- Added BZ3794 prefix to new macro definition
v4:
- Updated definition to "INCONSISTENT_MEMORY_MAP" [PIWG]
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..61ecee3d9da9 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 BZ3794_EFI_SW_EC_INCONSISTENT_MEMORY_MAP 0x00000014
///@}
//
--
2.37.1.windows.1
prev parent reply other threads:[~2022-08-03 21:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 21:41 [edk2-staging][PATCH v4 0/2] EDK2 Code First: PI Specification: Expand PI Status Codes Kun Qin
2022-08-03 21:41 ` [edk2-staging][PATCH v4 1/2] EDK2 Code First: PI Specification: New error codes of Host Software class Kun Qin
2022-08-03 21:41 ` Kun Qin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220803214108.259-3-kuqin12@gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox