From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.126; helo=mga18.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 C3B0B21125015 for ; Mon, 4 Jun 2018 22:37:03 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2018 22:37:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,477,1520924400"; d="scan'208";a="53829545" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 04 Jun 2018 22:37:03 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Jun 2018 22:37:03 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Jun 2018 22:37:02 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.87]) by shsmsx102.ccr.corp.intel.com ([169.254.2.223]) with mapi id 14.03.0319.002; Tue, 5 Jun 2018 13:37:01 +0800 From: "Gao, Liming" To: Supreeth Venkatesh , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [edk2] [PATCH v3 17/17] BaseTools/AutoGen: Update header file for MM modules. Thread-Index: AQHT/FFjS5wIzNknjkeMC07vnawzF6RRJbvg Date: Tue, 5 Jun 2018 05:37:00 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E292B1C@SHSMSX104.ccr.corp.intel.com> References: <20180604221351.34760-1-supreeth.venkatesh@arm.com> <20180604221351.34760-4-supreeth.venkatesh@arm.com> In-Reply-To: <20180604221351.34760-4-supreeth.venkatesh@arm.com> 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: [PATCH v3 17/17] BaseTools/AutoGen: Update header file for MM modules. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 05:37:04 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Supreeth Venkatesh >Sent: Tuesday, June 05, 2018 6:14 AM >To: edk2-devel@lists.01.org >Cc: Yao, Jiewen ; Gao, Liming >Subject: [edk2] [PATCH v3 17/17] BaseTools/AutoGen: Update header file for >MM modules. > >This patch corrects the Module Type Header file for Management Mode(MM) >as specified in PI v1.6 Specification. Also, it updates parameter for >auto generated template functions from EFI_SMM_SYSTEM_TABLE2 to >EFI_MM_SYSTEM_TABLE. > >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Supreeth Venkatesh >Reviewed-by: Jiewen Yao >--- > BaseTools/Source/Python/AutoGen/GenC.py | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/BaseTools/Source/Python/AutoGen/GenC.py >b/BaseTools/Source/Python/AutoGen/GenC.py >index 1be27d2b89..9b1a9fac12 100644 >--- a/BaseTools/Source/Python/AutoGen/GenC.py >+++ b/BaseTools/Source/Python/AutoGen/GenC.py >@@ -265,7 +265,7 @@ EFI_STATUS > EFIAPI > ${Function} ( > IN EFI_HANDLE ImageHandle, >- IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable >+ IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ); > ${END} > """) >@@ -278,7 +278,7 @@ EFI_STATUS > EFIAPI > ProcessModuleEntryPointList ( > IN EFI_HANDLE ImageHandle, >- IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable >+ IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > > { >@@ -292,7 +292,7 @@ EFI_STATUS > EFIAPI > ProcessModuleEntryPointList ( > IN EFI_HANDLE ImageHandle, >- IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable >+ IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > > { >@@ -307,7 +307,7 @@ EFI_STATUS > EFIAPI > ProcessModuleEntryPointList ( > IN EFI_HANDLE ImageHandle, >- IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable >+ IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > > { >@@ -675,7 +675,7 @@ EFI_STATUS > EFIAPI > ${Function} ( > IN EFI_HANDLE ImageHandle, >- IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable >+ IN EFI_MM_SYSTEM_TABLE *MmSystemTable > );${END} > """), > } >@@ -755,7 +755,7 @@ VOID > EFIAPI > ProcessLibrary${Type}List ( > IN EFI_HANDLE ImageHandle, >- IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable >+ IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > { > ${BEGIN} EFI_STATUS Status; >@@ -779,8 +779,8 @@ gModuleTypeHeaderFile =3D { > SUP_MODULE_UEFI_DRIVER : ["Uefi.h", "Library/BaseLib.h", >"Library/DebugLib.h", "Library/UefiBootServicesTableLib.h", >"Library/UefiDriverEntryPoint.h"], > SUP_MODULE_UEFI_APPLICATION : ["Uefi.h", "Library/BaseLib.h", >"Library/DebugLib.h", "Library/UefiBootServicesTableLib.h", >"Library/UefiApplicationEntryPoint.h"], > SUP_MODULE_SMM_CORE : ["PiDxe.h", "Library/BaseLib.h", >"Library/DebugLib.h", "Library/UefiDriverEntryPoint.h"], >- SUP_MODULE_MM_STANDALONE : ["PiSmm.h", "Library/BaseLib.h", >"Library/DebugLib.h", "Library/SmmDriverStandaloneEntryPoint.h"], >- SUP_MODULE_MM_CORE_STANDALONE : ["PiSmm.h", >"Library/BaseLib.h", "Library/DebugLib.h", >"Library/SmmCoreStandaloneEntryPoint.h"], >+ SUP_MODULE_MM_STANDALONE : ["PiMm.h", "Library/BaseLib.h", >"Library/DebugLib.h", "Library/StandaloneMmDriverEntryPoint.h"], >+ SUP_MODULE_MM_CORE_STANDALONE : ["PiMm.h", >"Library/BaseLib.h", "Library/DebugLib.h", >"Library/StandaloneMmCoreEntryPoint.h"], > SUP_MODULE_USER_DEFINED : [gBasicHeaderFile] > } > >-- >2.17.0 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel