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.93; helo=mga11.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 E8484210C0CED for ; Sun, 22 Jul 2018 20:13:49 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jul 2018 20:13:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,392,1526367600"; d="scan'208";a="57041660" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 22 Jul 2018 20:13:03 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 22 Jul 2018 20:13:03 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 22 Jul 2018 20:13:03 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.81]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.57]) with mapi id 14.03.0319.002; Mon, 23 Jul 2018 11:13:01 +0800 From: "Gao, Liming" To: "Gao, Liming" , Supreeth Venkatesh , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [edk2] [PATCH] BaseTools/AutoGen: Update header file for MM modules. Thread-Index: AQHUErTGzkImQ3HPHUKWOrCgepaU2qR9ZGWQgB7cR3A= Date: Mon, 23 Jul 2018 03:13:00 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2BF7CD@SHSMSX104.ccr.corp.intel.com> References: <1530612035-9996-1-git-send-email-supreeth.venkatesh@arm.com> <1530612035-9996-2-git-send-email-supreeth.venkatesh@arm.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E2A165B@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2A165B@SHSMSX104.ccr.corp.intel.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] BaseTools/AutoGen: Update header file for MM modules. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2018 03:13:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Push at 549ae85ce1b00228c3abcf6a9e4022c4f4fba5ed >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Gao= , >Liming >Sent: Tuesday, July 03, 2018 7:57 PM >To: Supreeth Venkatesh ; edk2- >devel@lists.01.org >Cc: Yao, Jiewen >Subject: Re: [edk2] [PATCH] BaseTools/AutoGen: Update header file for MM >modules. > >Reviewed-by: Liming Gao > >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Supreeth Venkatesh >> Sent: Tuesday, July 3, 2018 6:01 PM >> To: edk2-devel@lists.01.org >> Cc: Yao, Jiewen >> Subject: [edk2] [PATCH] 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 >> Cc: 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 5c3552a..55bcaba 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.7.4 >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel