From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.web10.2199.1643914997261038252 for ; Thu, 03 Feb 2022 11:03:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LuSf4YgQ; spf=pass (domain: gmail.com, ip: 209.85.214.174, mailfrom: kuqin12@gmail.com) Received: by mail-pl1-f174.google.com with SMTP id t9so761550plg.13 for ; Thu, 03 Feb 2022 11:03:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jNnc91gepv0mbzbbPVaX1DLhS1v4hK4dxqPTDxjgUUg=; b=LuSf4YgQMFYB15VNALMMk8xybCsECQgWgjh/BM4AgzCn+SrSRhxl23XVoweMgvosYQ DrkE+lfzKuGfLNuFJIieUIy1gtxqr/PJjC27oURYe2LTCSMYrcDZVVDB3tObEtb8f1Rp 0SCSUbrnwbkAKga51P419i2cU9kflDiT3qLCb7BpgogtL3N8NwZXbRZxi6YNkg567NTf YLyAOVaQpoxk6Est1IQkyxXoJgSBy7P5IBtg1tCqasFTxusa/9SxikhSx7uzcpTjiR1/ 5HupDRfyhWm/3pxWArm0zmYOWZcP71EueCIYCJZJ7iPV2KzhojBEyGcSsFYVjFRiZwco PRgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jNnc91gepv0mbzbbPVaX1DLhS1v4hK4dxqPTDxjgUUg=; b=o2tPxB3N1zxQ/rXYKl75R3So3USV2zl+VqUbpBbq2MvoP426ngOxlRwX/gkAle3YYS bI47PI7bQ30c2ntGhYcqStfzUn+mFKfEjV3wFU718dTjsXJWtNWfxtz3bATgMQCx1xPm 4o1XmpmgHsfWlI3DapHIQeR0VsO10QT0/uzDSpKdlS8vlNhB2/1gqSHWndYkZPg5v0Nv sNORjg9MQm/R4weGvy7k5VeE+cm875E85cKPbOcrRmUv6nyXPRHwfs4KHV438Bqg0bBO jMaLXymkJrGLvtH97eqyjlfdnrGWdJNbcIEfJH+exhlLvxjUAz5tcNbhMo5ZqWbsDXj5 qjWw== X-Gm-Message-State: AOAM532sVRmufiSt30XhgfyBLU/yw+JOzESf3Nc8POP3LozrWDY3fojY B0jIHZw4q7HowJQQSSfGfMturPkf7+w= X-Google-Smtp-Source: ABdhPJxVOYUNSIg1UXSgFgQW6Xhuy4Y+a3rK+A9NFoOl5dDTYCWUkrfYHuZqQbiwHnfmCWnwN7NRwQ== X-Received: by 2002:a17:903:234b:: with SMTP id c11mr37026159plh.157.1643914996735; Thu, 03 Feb 2022 11:03:16 -0800 (PST) Return-Path: Received: from localhost.localdomain ([50.35.74.198]) by smtp.gmail.com with ESMTPSA id w8sm24175450pfu.128.2022.02.03.11.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 11:03:16 -0800 (PST) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v3 2/2] MdePkg: MmCommunication: Add new Host Software class Error Code to MdePkg Date: Thu, 3 Feb 2022 11:03:03 -0800 Message-Id: <20220203190303.2008-3-kuqin12@gmail.com> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220203190303.2008-1-kuqin12@gmail.com> References: <20220203190303.2008-1-kuqin12@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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] v3: - Added BZ3794 prefix to new macro definition 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..b165f8bef356 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_FRAGMENTED_MEMORY_MAP 0x00000014 ///@} // -- 2.34.1.windows.1