From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw2.ami.com (atlmailgw2.ami.com [63.147.10.42]) by mx.groups.io with SMTP id smtpd.web10.563.1592949414388132273 for ; Tue, 23 Jun 2020 14:56:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: ami.com, ip: 63.147.10.42, mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-4c5ff70000003ed3-fe-5ef27aa2a6d1 Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id 88.45.16083.2AA72FE5; Tue, 23 Jun 2020 17:56:51 -0400 (EDT) Received: from Oleksiy77.us.megatrends.com (172.16.97.158) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.468.0; Tue, 23 Jun 2020 17:55:56 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , , , , Subject: [PATCH V2 0/3] Add New Memory Attributes Date: Tue, 23 Jun 2020 17:55:53 -0400 Message-ID: <20200623215556.80804-1-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsWyRiBhgu7iqk9xBnsPclhs3aZu0T5hNpvF smM7WCxW3NvAbtHR8Y/JYvp2F4svq98zOrB7bP9+gdFj8Z6XTB7v911lC2COamC0SczLyy9J LElVSEktTrZVCijKLEtMrlRSyEyxVTJUUijISUxOzU3NK7FVSiwoSM1LUbLjUsAANkBlmXkK qXnJ+SmZeem2Sp7B/roWFqaWuoZKdiEZqQqZeWn5RbmJJZn5eQrJ+XklQNWpKUBRhYRuzow/ 97axF7znrFh6spO9gXEjexcjJ4eEgInEzGWTWLoYuTiEBHYxSRzpOcAK4WxhlOj/sIgNpIpN QFPiwLEpjCC2iICUxJQDM5lAipgF9jBK9Lw+xQqSEBYwlLg7bT7YWBYBVYkNM/+D2bwCphKv J0xnhlinITFtzV0miLigxMmZT1hAbGYBCYmDL16A1QgJyEq0HX/OPoGRdxaSsllIyhYwMq1i FEosyclNzMxJLzfSS8zN1EvOz93ECImu/B2MHz+aH2Jk4mA8xCjBwawkwhvi9ilOiDclsbIq tSg/vqg0J7X4EKMT0KETmaW4QUEFDPt4YwMDKVEYx9DEzMTcyNzQ0sTc2FhJnHfS2jVxQgLp wDjMTk0tSC2CGcLEwSnVwLjVwfdg1eLfbw2yAo++XW4osegO+/17W0Qr472e7NrazXXyiqGu 9DzOtpP9XR/bPjI7nTv/7UXQoTmPFBbkLF0RO8Ox6jf7gQP7v056+i+Kxy78u7BXa8X/vweD rL8HFLQLSyhsUfbIFP9w6NPLE1sFExo2ngo4qrvK5e+vtCr70FnqPF/+Wz5VYinOSDTUYi4q TgQAqCaamcMCAAA= Content-Type: text/plain This series of patches add usage of new memory attributes EFI_MEMORY_SP and EFI_MEMORY_CPU_CRYPTO, introduced in UEFI2.8 (mantis 1919 and 1872). First patch fix typos in description and introduce two bitmasks for all memory type attributes. Second and third patches get rid of multiple memory attributes bitmasks definitions trough multiple files and headers, and replace them with new common definitions from MdePkg. Oleksiy Yakovlev (3): MdePkg: Add New Memory Attributes MdeModulePkg: Add New Memory Attributes UefiCpuPkg: Add New Memory Attributes MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 11 ++--------- MdeModulePkg/Core/Dxe/Mem/Page.c | 9 +++------ MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 7 ++----- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 10 ++-------- MdePkg/Include/Uefi/UefiSpec.h | 10 ++++++++-- UefiCpuPkg/CpuDxe/CpuDxe.c | 11 ++++------- UefiCpuPkg/CpuDxe/CpuDxe.h | 12 ------------ UefiCpuPkg/CpuDxe/CpuPageTable.c | 6 +++--- UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 2 +- 9 files changed, 25 insertions(+), 53 deletions(-) -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.