From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=45.249.212.35; helo=huawei.com; envelope-from=huangming23@huawei.com; receiver=edk2-devel@lists.01.org Received: from huawei.com (unknown [45.249.212.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1B70B21F0DA62 for ; Mon, 5 Feb 2018 19:39:19 -0800 (PST) Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 77ED23A2C879E; Tue, 6 Feb 2018 11:44:54 +0800 (CST) Received: from [127.0.0.1] (10.61.17.224) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.361.1; Tue, 6 Feb 2018 11:44:46 +0800 To: Heyi Guo , , , , References: <1517542227-32907-1-git-send-email-heyi.guo@linaro.org> <1517542227-32907-2-git-send-email-heyi.guo@linaro.org> CC: , , , , , , , , From: "Huangming (Mark)" Message-ID: <8f83a4b6-0e2e-d9e7-5550-2fd64a048bfd@huawei.com> Date: Tue, 6 Feb 2018 11:44:45 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1517542227-32907-2-git-send-email-heyi.guo@linaro.org> X-Originating-IP: [10.61.17.224] X-CFilter-Loop: Reflected Subject: Re: [PATCH edk2/MdePkg v1] MdePkg ACPI: Add some macros for PPTT X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 03:39:20 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Any comments for this patch? On 2018/2/2 11:30, Heyi Guo wrote: > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ming Huang > Signed-off-by: Heyi Guo > --- > MdePkg/Include/IndustryStandard/Acpi62.h | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/MdePkg/Include/IndustryStandard/Acpi62.h b/MdePkg/Include/IndustryStandard/Acpi62.h > index 2904d34..30faba9 100644 > --- a/MdePkg/Include/IndustryStandard/Acpi62.h > +++ b/MdePkg/Include/IndustryStandard/Acpi62.h > @@ -2557,6 +2557,12 @@ typedef struct { > } EFI_ACPI_6_2_PPTT_STRUCTURE_HEADER; > > /// > +/// Value for valid fields in PPTT struct > +/// > +#define EFI_ACPI_6_2_PPTT_INVALID 0x0 > +#define EFI_ACPI_6_2_PPTT_VALID 0x1 > + > +/// > /// Processor hierarchy node structure flags > /// > typedef struct { > @@ -2593,6 +2599,18 @@ typedef struct { > } EFI_ACPI_6_2_PPTT_STRUCTURE_CACHE_FLAGS; > > /// > +/// For cache attributes > +/// > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_ALLOCATION_READ 0x0 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_ALLOCATION_WRITE 0x1 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_ALLOCATION_READ_WRITE 0x2 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_CACHE_TYPE_DATA 0x0 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_CACHE_TYPE_INSTRUCTION 0x1 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_CACHE_TYPE_UNIFIED 0x2 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_BACK 0x0 > +#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_THROUGH 0x1 > + > +/// > /// Cache Type Structure cache attributes > /// > typedef struct { > -- Best Regards, Ming