From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web08.1033.1641605576028373255 for ; Fri, 07 Jan 2022 17:32:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L5ezXDh5; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: kuqin12@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id 205so6744365pfu.0 for ; Fri, 07 Jan 2022 17:32:55 -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=fgimD/Whut5rh60IVXD714ijF+tCO8YdOn9rAZOgai4=; b=L5ezXDh5TELr+Qa6tz/O+fxilLH9QST3zQki983BibXIp4IPkorAHD9KrKPxaY1OTg RR+5KyB3iYzl7Owf7p2X7YyqxRSG4EqQwh0cpiDV4JBQFDWX5uhS8/2DYVX1s6G1xfC2 O9Wkqh3COGKM6U1V2lnTfryHTyIewXuPVMqkzckQiDjK/09J7na4VHMczShGDNF9BsXc /oQ8BH3hJ1/Q9De79vQzn1kvsKAJ8aIic+GBR80O41JpyvyXam4faq5h7aBD/crPgXn9 IpwZ7IdDim8Bg1RIFqIOdUPBkc5MCRSjSsgdUHTd+blMRArquyAobtlLYa6QW7CS3ih4 a0xw== 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=fgimD/Whut5rh60IVXD714ijF+tCO8YdOn9rAZOgai4=; b=LPnMNhbo02BEB+hYiKLrDQ/4yFXH/tM+hhnj7TXsyhaHKty5bYcPWFzbYd12WCA8kI 18z4NYbIhjfRQKXo5lFWhhjlJg3U3qlXXEhebYwHxtk9t/LuRBreP0JEM3QotnUcQPM+ F9i26dbBLN72BoSEVnR6e4po+UrctyUxyKzJUEDiSo4BpkG05B+K/mqP+UO3K0T3W7A8 J+5YKfEy/05S3grouStaAuKQ4PtAKGQPhchC/vQrBKB1DEjhw6NevjqQmVCFsjfjH1nW u0qwR8kIQMWz5mQWMxhZgbl4CG9LXmL803gWNjQ2Fyux5rtoO69NdaKmUPtEe1nP5wyg nVdg== X-Gm-Message-State: AOAM5311Y5AzHChw9Wyeb/390TLsox3Joyki8NQa8vf+WwdQgtAtYMYa 1WHUbznh6FFpGpcgiSnVvwowV1eYveU= X-Google-Smtp-Source: ABdhPJzKGnHxWCyHLat1yk0GirMxe6VBU0i5WUTxUhVJBuk5ZjmjTIxbb5Zkhbs8Csqw1/C7fFUu+Q== X-Received: by 2002:a63:e616:: with SMTP id g22mr58647381pgh.466.1641605575570; Fri, 07 Jan 2022 17:32:55 -0800 (PST) Return-Path: Received: from localhost.localdomain ([50.35.74.198]) by smtp.gmail.com with ESMTPSA id h19sm151784pfh.112.2022.01.07.17.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 17:32:55 -0800 (PST) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v2 2/2] MdePkg: MmCommunication: Add new Host Software class Error Code to MdePkg Date: Fri, 7 Jan 2022 17:32:42 -0800 Message-Id: <20220108013242.2030-3-kuqin12@gmail.com> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220108013242.2030-1-kuqin12@gmail.com> References: <20220108013242.2030-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] 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