From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 CF23E21194891 for ; Tue, 4 Dec 2018 16:19:56 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Dec 2018 16:19:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,316,1539673200"; d="scan'208";a="104887567" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 04 Dec 2018 16:19:54 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Dec 2018 16:19:54 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Dec 2018 16:19:54 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.203]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.59]) with mapi id 14.03.0415.000; Wed, 5 Dec 2018 08:19:52 +0800 From: "Gao, Liming" To: Andrew Fish , edk2-devel Thread-Topic: [edk2] Missing PI definitions? Thread-Index: AQHUi+qfYfIndjxilEu3Dup1h9LDMKVvR5AA Date: Wed, 5 Dec 2018 00:19:51 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E383BF2@SHSMSX104.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 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 00:19:57 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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.=20 #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 >Sent: Wednesday, December 05, 2018 12:01 AM >To: edk2-devel >Subject: [edk2] Missing PI definitions? > >Anyone remember why these defines are not in a common header in the >MdePkg? > >/Volumes/Case/UDK2018(vUDK2018)>git grep MEMORY_PRESENT -- *.h >EdkCompatibilityPkg/Foundation/Include/TianoTypes.h:31:#define >EFI_MEMORY_PRESENT 0x0100000000000000 >MdeModulePkg/Core/Dxe/DxeMain.h:101:#define EFI_MEMORY_PRESENT >0x0100000000000000ULL >MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMem >oryTest.h:42:#define EFI_MEMORY_PRESENT 0x0100000000000000ULL >MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryT >est.h:33:#define EFI_MEMORY_PRESENT 0x0100000000000000ULL >/Volumes/Case/UDK2018(vUDK2018)>git grep EFI_MEMORY_INITIALIZED -- >*.h >EdkCompatibilityPkg/Foundation/Include/TianoTypes.h:32:#define >EFI_MEMORY_INITIALIZED 0x0200000000000000 >MdeModulePkg/Core/Dxe/DxeMain.h:102:#define >EFI_MEMORY_INITIALIZED 0x0200000000000000ULL >MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMem >oryTest.h:43:#define EFI_MEMORY_INITIALIZED 0x0200000000000000ULL >MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryT >est.h:34:#define EFI_MEMORY_INITIALIZED 0x0200000000000000ULL >/Volumes/Case/UDK2018(vUDK2018)>git grep EFI_MEMORY_TESTED -- *.h >EdkCompatibilityPkg/Foundation/Include/TianoTypes.h:33:#define >EFI_MEMORY_TESTED 0x0400000000000000 >MdeModulePkg/Core/Dxe/DxeMain.h:103:#define EFI_MEMORY_TESTED >0x0400000000000000ULL >MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMem >oryTest.h:44:#define EFI_MEMORY_TESTED 0x0400000000000000ULL >MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryT >est.h:35:#define EFI_MEMORY_TESTED 0x0400000000000000ULL > > >Thanks, > >Andrew Fish >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel