From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 8A4AF74003A for ; Wed, 1 May 2024 14:58:43 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=r2rdmEJbKb6kz3MBufG6LZIJvpB/OEjcE3N+Ulw7p+I=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1714575522; v=1; b=w2HFSEEncEmXdMNYJg7GktnGsZZRJOIuf6oOwO8E8FOzl6pYmjA7Ie3OgGqAgZ2dzwWNDpNL zi8m05l0r6l/C3ta2FX2H1afZpa7cEmdYHK16nruSQfsh+xtrHHpWZp8ZMUadNXxZxo5tTORJ6S XmsRFDQiTdwgW8/qzt7kKQF5Lez96A1sbROdkEFa20ysNKrrBchB85YCMEfi6Yrbag+7nR18Lsh tuxQ6hj0Jd+B6M4QE55RSJSwrSAVMDjGA0iIwcy6bbU5kLqg7V7qOOQawAHuIoMHw0kVSs3K7zH jPQQNm1n3lSm0yd9grQTQgiCFj81brYZQM8MaJpUXreUQ== X-Received: by 127.0.0.2 with SMTP id 60zVYY7687511xxzQzY1xpf8; Wed, 01 May 2024 07:58:42 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.15146.1714575517978368935 for ; Wed, 01 May 2024 07:58:38 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C1EB1150C; Wed, 1 May 2024 07:59:03 -0700 (PDT) X-Received: from beelzebub.ast.arm.com (u203625-lin.austin.arm.com [10.118.28.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8BAF83F793; Wed, 1 May 2024 07:58:37 -0700 (PDT) From: "Sam Kaynor" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao Subject: [edk2-devel] [PATCH v7 5/5] ShellPkg: UefiShellDebug1CommandsLib: Conformance Profiles in Dmem.c Date: Wed, 1 May 2024 09:58:29 -0500 Message-Id: <20240501145829.202293-6-Sam.Kaynor@arm.com> In-Reply-To: <20240501145829.202293-1-Sam.Kaynor@arm.com> References: <20240501145829.202293-1-Sam.Kaynor@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 01 May 2024 07:58:38 -0700 Resent-From: sam.kaynor@arm.com Reply-To: devel@edk2.groups.io,sam.kaynor@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: A5qobwxGFZHDqBQIdzyvqCbkx7686176AA= Content-Transfer-Encoding: base64 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=w2HFSEEn; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io UkVGOiBodHRwczovL2J1Z3ppbGxhLnRpYW5vY29yZS5vcmcvc2hvd19idWcuY2dpP2lkPTQzNTIK CkltcGxlbWVudGVkIGR1bXBpbmcgb2YgdGhlIFVFRkkgQ29uZm9ybWFuY2UgUHJvZmlsZXMgVGFi bGUgdXNpbmcgRG1lbS5jClVzZXMgaGVhZGVyIGZpbGUgZm9yIEdVSURzIGFkZGVkIGluIHByZXZp b3VzIHBhdGNoZXMKCkNjOiBSYXkgTmkgPHJheS5uaUBpbnRlbC5jb20+CkNjOiBaaGljaGFvIEdh byA8emhp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lkgICAgI2xhbmd1YWdlIGVuLVVT ICIlMjBzOiAlc1xyXG4iDQorI3N0cmluZyBTVFJfRE1FTV9DT05GX1BST19UQUJMRSAgICNsYW5n dWFnZSBlbi1VUyAiXHJcbkNvbmZvcm1hbmNlIFByb2ZpbGUgVGFibGVcclxuIg0KKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cclxuIg0KKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIlZlcnNpb24gICAgIDB4MVxyXG4iDQorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiUHJvZmlsZSBHVUlE czpcclxuIg0KKyNzdHJpbmcgU1RSX0RNRU1fQ09ORl9QUk9fUk9XICAgICAjbGFuZ3VhZ2UgZW4t VVMgIiAgICAlcyAgICAlZ1xyXG4iDQogI3N0cmluZyBTVFJfRE1FTV9FUlJfTk9UX0ZPVU5EICAg ICNsYW5ndWFnZSBlbi1VUyAiXHJcbiVIJXMlTjogVGFibGUgYWRkcmVzcyBub3QgZm91bmQuXHJc biINCiAjc3RyaW5nIFNUUl9ETUVNX0VSUl9HRVRfRkFJTCAgICAgI2xhbmd1YWdlIGVuLVVTICJc clxuJUglcyVOOiBVbmFibGUgdG8gZ2V0IHRhYmxlIGluZm9ybWF0aW9uLlxyXG4iDQogDQotLSAK Mi4zNC4xCgo= -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118461): https://edk2.groups.io/g/devel/message/118461 Mute This Topic: https://groups.io/mt/105843758/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-