From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.151.62.66; helo=nwk-aaemail-lapp01.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from nwk-aaemail-lapp01.apple.com (nwk-aaemail-lapp01.apple.com [17.151.62.66]) (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 F081C21197068 for ; Tue, 4 Dec 2018 17:04:39 -0800 (PST) Received: from pps.filterd (nwk-aaemail-lapp01.apple.com [127.0.0.1]) by nwk-aaemail-lapp01.apple.com (8.16.0.22/8.16.0.22) with SMTP id wB511X33009620; Tue, 4 Dec 2018 17:04:39 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-type : sender : from : message-id : subject : date : in-reply-to : cc : to : references; s=20180706; bh=j+9yUL3z2gDEx40duW95xalLvmpHoAm76b9U3eDvzV0=; b=qWn6+8MgcNUH2AqYhjrvQkI7xgx1/Jltt2RoEi+/q9Ag/tFoEfoFEK9iETRn48TDl+Rd mSnJyJq5x5VcyLgT/TsDA+niiVyms9E6AXP9/2ZfFMh2x7us7Mln7z/qnBreJYGx2EW5 oefLh7xMe1cAuA4Ow6XLPD83cRjTykvhQttuAgRnLSmrtfV76C0afe9kJpaw8wAx9Um3 HZ7asy0hUwgfn6FHxG3mHM/ncHPDMOrDxsJXSxeLphvjqOcvnFjEuRlbSRo+60P7burL G6NFUjRtvXAXO597R2pJ/NdnXiwHaY9Y/qHcJyHH9bhGxGUyxwI3zPLOOHmvVTunt7Sz Ww== Received: from ma1-mtap-s02.corp.apple.com (ma1-mtap-s02.corp.apple.com [17.40.76.6]) by nwk-aaemail-lapp01.apple.com with ESMTP id 2p5akfqr4r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 04 Dec 2018 17:04:39 -0800 MIME-version: 1.0 Received: from ma1-mmpp-sz08.apple.com (ma1-mmpp-sz08.apple.com [17.171.128.176]) by ma1-mtap-s02.corp.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPS id <0PJ80081NOBQGJ30@ma1-mtap-s02.corp.apple.com>; Tue, 04 Dec 2018 17:04:38 -0800 (PST) Received: from process_viserion-daemon.ma1-mmpp-sz08.apple.com by ma1-mmpp-sz08.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PJ800K00NTVI200@ma1-mmpp-sz08.apple.com>; Tue, 04 Dec 2018 17:04:38 -0800 (PST) X-Va-A: X-Va-T-CD: 281f8fa03638b888ab0035439e9fe9bb X-Va-E-CD: de55eb74469359f854173a3774d192e1 X-Va-R-CD: 09faf7357c3ebbcfe5b7dbb5c030c3aa X-Va-CD: 0 X-Va-ID: 8f82c171-1183-48f8-910d-9f8123085ec5 X-V-A: X-V-T-CD: 81ca60fce39c2560b6c4a7e5841f9b8f X-V-E-CD: de55eb74469359f854173a3774d192e1 X-V-R-CD: 09faf7357c3ebbcfe5b7dbb5c030c3aa X-V-CD: 0 X-V-ID: 10fc79f6-90ba-4158-8759-418fed44d276 Received: from process_milters-daemon.ma1-mmpp-sz08.apple.com by ma1-mmpp-sz08.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PJ800000O047Y00@ma1-mmpp-sz08.apple.com>; Tue, 04 Dec 2018 17:04:38 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-12-04_10:,, signatures=0 Received: from [17.234.194.74] (unknown [17.234.194.74]) by ma1-mmpp-sz08.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPSA id <0PJ8007B7OBNE970@ma1-mmpp-sz08.apple.com>; Tue, 04 Dec 2018 17:04:38 -0800 (PST) Sender: afish@apple.com From: Andrew Fish Message-id: <3D1412E2-64CE-4912-B823-73BDCCC3706A@apple.com> Date: Tue, 04 Dec 2018 17:04:19 -0800 In-reply-to: <4A89E2EF3DFEDB4C8BFDE51014F606A14E383BF2@SHSMSX104.ccr.corp.intel.com> Cc: edk2-devel To: "Gao, Liming" References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E383BF2@SHSMSX104.ccr.corp.intel.com> X-Mailer: Apple Mail (2.3445.6.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-04_10:, , signatures=0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: Missing PI definitions? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 01:04:40 -0000 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT Liming, Sorry I guess I was confusing this with EFI_RESOURCE_ATTRIBUTE_TESTED. I'll a little confused that it is implementation given it is passed into gDS->AddMemorySpace() the PI Spec defines the values of Capabilities to be defined in the UEFI Spec. as the GetMemoryMap() attributes. It is not clear that the implementation actually owns these bits? Almost feels like we should update the PI spec to include these #defines. I seem to remember we have been using these bits for a long time..... Thanks, Andrew Fish > On Dec 4, 2018, at 4:19 PM, Gao, Liming wrote: > > Andrew: > UEFI spec doesn't define them. They are the implement related definitions. They are not required to be exposed to OS. We can add one header file in MdeModulePkg to share them between DxeCore and MemoryTest driver. Besides, ECP package will be retired. There is no change for it. > > #define EFI_MEMORY_PRESENT 0x0100000000000000ULL > #define EFI_MEMORY_INITIALIZED 0x0200000000000000ULL > #define EFI_MEMORY_TESTED 0x0400000000000000ULL > > Thanks > Liming >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org ] On Behalf Of >> Andrew Fish