From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web10.15.1659562873843740948 for ; Wed, 03 Aug 2022 14:41:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CJoJ6YAC; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: kuqin12@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id r186so16258848pgr.2 for ; Wed, 03 Aug 2022 14:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=05HXvMDGLuSwAHbHwYkXndPurCPCnDrroafqlZx6vLM=; b=CJoJ6YACquPYOjaMYN21tHV91O0JdtyQBmGD5SF77pYDsmwtIZ0dfFCxFypMM+9hoq wM12clCkdHOeipTspDqBvmUSQR2D55abDdldm3EDALAKzbYmfRlkHUf1pekzjljCWEiL KJqafK156JKzXN9tiJdBOoPI3VrW/DEWxvUzojS9gPrOz/x/cikscOx6YKYfCgxTCa/s r1TC2sVB7bvLqNNntwm1Tdco20Zx5be6g/1Sg0LywHnzeJn7cNyggOU9mji87pmLWKFw W1LFJW8x55Yr1JnWDJJvE2RWFaRwWX7gvSwq1pDjOiMNycJ84lQRIX6iS8Ou7uisZ4HH LbXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=05HXvMDGLuSwAHbHwYkXndPurCPCnDrroafqlZx6vLM=; b=aNTPRZ9+ncavF9qeWoriRz79+bezPNWDZ/TsNFg2+4YE/jWf2sRy73oabLUZoVYY/W 3LjrU/he7h8aI2QTLCmsdmQdIyp5uP84hj54fpeudoDLJKw7h6l41DnCV0mdXhf+X/xc rwHmQXupCWzPObySEJw33IJRUVqBeo0mgZeftUWYmOiqu0mFsgA7rS7CWi6jpZ4lXoqz wY7mOJu+YVXLgwKgjK477B+/JJNLkkZbeI+qmsdB5r0Sa8aPeSAG6jwJaE2UWagK4dTh mvchkLXzaWIEAl9tx/lZdH6EC09txF0LBVMcR2TMIQtkKbK57h/HbM1PBMjXl/FKPV37 3uIg== X-Gm-Message-State: ACgBeo0C90YAnDdd8FLdIKnaU5eMPwElIXV0zrLnUmEF9dgQJRKmjMyb 5ybDqZX28O5IEZjFgJMJr17y84XDEhs= X-Google-Smtp-Source: AA6agR7xYwG/T3K0BownW46bTFvjyODAOgABYLtgPwCbIpvCcwHXxVCkQ4VdWGKX6lPr8HowSszgqg== X-Received: by 2002:a62:e114:0:b0:52d:24b6:a89 with SMTP id q20-20020a62e114000000b0052d24b60a89mr21319092pfh.65.1659562873151; Wed, 03 Aug 2022 14:41:13 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:36:19a:484b:79e3:a7ec]) by smtp.gmail.com with ESMTPSA id q10-20020a170902a3ca00b0016d6c939332sm2389850plb.279.2022.08.03.14.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 14:41:12 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu 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 Message-Id: <20220803214108.259-3-kuqin12@gmail.com> X-Mailer: git-send-email 2.37.1.windows.1 In-Reply-To: <20220803214108.259-1-kuqin12@gmail.com> References: <20220803214108.259-1-kuqin12@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3794 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 Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Kun Qin --- Notes: v2: - Removed "RELEASE_ASSERT" definition - Removed reference to EDK2 based memory type info [Mike] =20=20=20=20 v3: - Added BZ3794 prefix to new macro definition =20=20=20=20 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/PiStatusC= ode.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=0D #define EFI_SW_EC_WRITE_PROTECTED 0x00000012=0D #define EFI_SW_EC_FV_CORRUPTED 0x00000013=0D +#define BZ3794_EFI_SW_EC_INCONSISTENT_MEMORY_MAP 0x00000014=0D ///@}=0D =0D //=0D --=20 2.37.1.windows.1