From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a01:111:f400:fe0a::623; helo=eur03-db5-obe.outbound.protection.outlook.com; envelope-from=achin.gupta@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0623.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::623]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 40D1A203B9257 for ; Mon, 30 Apr 2018 12:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WVdXt5URGT8mW2PEg8NYwlCNjd4A08pCk9Fz03iVznk=; b=Oan6FAZCJRLIoUFlJRmiaYx8dZ4oZJLZ7HrtojVWUYJbBK6V8WMB++gjm54Z8qNGEaaiGJMUsDWY/mRZvRqB8SVcVq+CECb7By3G9Rl9ksMIAJSnhbHKZ0ZOvfcQvY6nKfHGZB+i6XvyHhHpNrk60fiPYYKhXWsNMn8DTab/2oo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Achin.Gupta@arm.com; Received: from e104320-lin (217.140.96.140) by AM0PR08MB2979.eurprd08.prod.outlook.com (2603:10a6:208:5b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Mon, 30 Apr 2018 19:51:07 +0000 Date: Mon, 30 Apr 2018 20:52:35 +0100 From: Achin Gupta To: Supreeth Venkatesh Cc: edk2-devel@lists.01.org, michael.d.kinney@intel.com, liming.gao@intel.com, jiewen.yao@intel.com, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nd@arm.com Message-ID: <20180430195235.GA663@e104320-lin> References: <20180406144223.10931-1-supreeth.venkatesh@arm.com> <20180406144223.10931-17-supreeth.venkatesh@arm.com> MIME-Version: 1.0 In-Reply-To: <20180406144223.10931-17-supreeth.venkatesh@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: DB3PR0202CA0007.eurprd02.prod.outlook.com (2603:10a6:8:1::20) To AM0PR08MB2979.eurprd08.prod.outlook.com (2603:10a6:208:5b::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020); SRVR:AM0PR08MB2979; X-Microsoft-Exchange-Diagnostics: 1; AM0PR08MB2979; 3:60ZzKuNZlwQ7lifGNKJ//yROyvV0DXFDPk982Iyg7tKiwaAti6V4uScPYD2I4j/2HKcK0xL/sJdg4pgs1fbuEQ17eWLFULRUbAlS8zreJPXq5AL1kC0l0n1DOu48EUOtCBFD+sRaNA2f+lmPvukr3GFSrPLP6uh1PMmpnuWvj59z2ObwX0ueQUY4sTrX00CWtvkzTKdQB9cgdR4cUTeMBNyZOI7yqbnCHl77OW7EyoljLVfAUJLvjgF6+cV7eWWy; 25:AN7GqV8+rr4M0PIEzHlQMxWu1FafaIgE+z9XISCXE23Dyzkwwjkpu6tuUzZT3I9RvL7mU8bwFW7zhXgwB2XqQhWYKemA2OUgSuKdCQGZaHE05vuDDsI+SVbvaRW6dKQ+kQixA22ACzHk3wFw4rQAZ+lv1nipJo6myMAXDMn+FYtC677iYUYGnWYZ9Lde3JV4atxN7HNQ9A2+Mr2FWRociM5Cf2UxLSnk9L7NH/dEpl7CNGKnGThhGCsYDErAXKBz42SBnu7iveI2NK5ba3CD5P4WEJeTUqvqImqFe9Ztil8SD4qlBeJbUuISsGMRFyDTEYlcz/8bZpdrE03p1uIO7g==; 31:3N3I8Yc9NaPavfrPgII51ue7fZYl3phUkshR3tzujzjgHHJWtI0vId+dJGBsWKbkTv0UqIeomIo37qGZQfZZMUfBHkQvsFoAX2dfITVW4UNhPynyq4ddhHZ1kC/uVyGB+X/AdcGUEWo7xPYr3Z7EMuKA7YodZwLR9W4lfWRuNkimLDkkMXEQyAGEyt3Sojq+il+QBovBwdiLHNQkX6ySHYhuF1CHLJq01gKwh0V9KYw= X-MS-TrafficTypeDiagnostic: AM0PR08MB2979: NoDisclaimer: True X-Microsoft-Exchange-Diagnostics: 1; AM0PR08MB2979; 20:tBPVw2nj8iea8ZKcheL7QES2S5Unfu8NhOLbaQtkVbNhwJQNtDfH5cEyqfA+FJiaMHUTVOInnSOEmjbxvK61n7zCNeQZI3S1GDV1yfAlEFHTldCl5m1MhmZ3g+LXJLsZAfyWwKtNJQAcJldC3YpoJEouXcnsAXNuzsPf/6zak481r2weBIUJpYD1P1MAQRah6qw7r9on4EsKnuejV/rn6iHzPCuXjhNFFb8SXXScGugcJqIv2m7q1HTzdcZ3zQvz; 4:rHtKnHX/KAzjOYkh7UA9zyP5bEWsoWmmFmZBHY6I6Xl5KmJRQoEG8xlX6wX3gwZj1Zj8dHGcdBW7biPmKr1vcPn4ySlIOT3mwqYXMqjQ8YUs0JLd+uFhCmUO2B297QjQRMFVczPBjC5OxcKIM+RgGtAyk8EJh5H+hvj4nCvuZKDxw9AM/ZgLwfAPtkx/pQqUwB62bYQk02T47vgG38aAt1ZXrlQRtxdjdVcrD8Pagoqj3YYQQQ2dGR8p8Z63jMaVjXIYaos3fV48snaqDBGhoAcvKp4NCBNpTV7UECYyT+BWBCrtZEkcyFJlMuCbhv/m X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(6055026)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM0PR08MB2979; BCL:0; PCL:0; RULEID:; SRVR:AM0PR08MB2979; X-Forefront-PRVS: 0658BAF71F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(376002)(346002)(366004)(39860400002)(199004)(189003)(76176011)(476003)(229853002)(33896004)(55016002)(6862004)(956004)(6116002)(3846002)(4326008)(6496006)(6666003)(52116002)(478600001)(72206003)(386003)(26005)(53936002)(44832011)(50466002)(6246003)(9686003)(446003)(1076002)(2906002)(5660300001)(86362001)(486006)(23726003)(11346002)(305945005)(66066001)(47776003)(316002)(33656002)(106356001)(81156014)(8936002)(8676002)(81166006)(97736004)(16526019)(58126008)(105586002)(16586007)(33716001)(68736007)(6636002)(7736002)(15650500001)(25786009)(18370500001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB2979; H:e104320-lin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR08MB2979; 23:td+2zLE/06KdRnxJ00gjziUrte0m7LF02bl6g0BdR?= =?us-ascii?Q?PO+77D+mQB+4w+lfuHb7IWwHWRtqkVEMhasTGiPlIqsBr8o/BdzlaMIIa9P0?= =?us-ascii?Q?V5oona035c3SbZuW6CVzP9tVuuYSwrQLcX12qlIz9F59a0uDV7203X0zA+8s?= =?us-ascii?Q?R7mdVTniiYFh2fCQeZvw0J2vflY8WE+Z4pYMcNj7Lgjz/WObBcjbN98u2IPS?= =?us-ascii?Q?hB7Eb5b74s84cAECyrh5yknB8tIrs0Z9s7Z+mGc3Dyrbcc+aBx4tvVb/ilor?= =?us-ascii?Q?J9z0QrduIJNKJu0fkU3m3FvD7uIiFHCQc0l9O7l063suA12G+qW9IjhESwZs?= =?us-ascii?Q?h4uGBiVzqX7goTqBmQ2wFC5Ljp+Oekwr+HiIRal2EpaF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vOMivIIYcs65URBRVEBi39RGn1VVk630jBmmKulux3RzJ6pJgibXvMU6iHX+DHFE4HFltaMM/YXtOS91l4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM0PR08MB2979; 7:ijbHjYp/F0ZDqhef0+wQXD/unfqA94dLkuAhWyJ8C2aO0Kgdy5ZVi6/pEInJL/AmvgL6rVvAxW6DQ6jBBQmhDL+HyvI31tx4AhcXchFBcGlwa5W9GOyZWQgWroVg2lsPfRrheFHY8NIwuqcDQAY3ZCXQdfuwawb4lDUVGsDANb6VZthM9ek0OyGcxzOz7enYfJA6Msso3EIFFNS2tmBS2gzKQHIczJRVCZk6ns8NEhBImT4Jy8tvuqbV1rr7eBPd X-MS-Office365-Filtering-Correlation-Id: c10e3748-ace2-42f5-d625-08d5aed3b719 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2018 19:51:07.1830 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c10e3748-ace2-42f5-d625-08d5aed3b719 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB2979 Subject: Re: [PATCH v1 16/18] 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: Mon, 30 Apr 2018 19:51:11 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Supreeth, CIL. On Fri, Apr 06, 2018 at 03:42:21PM +0100, Supreeth Venkatesh wrote: > 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: Achin Gupta -Achin & +Jiewen if possible! Acked-by: Achin Gupta cheers, Achin > Signed-off-by: Supreeth Venkatesh > --- > 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 4d9ea1b2a8..8601e4ee70 100644 > --- a/BaseTools/Source/Python/AutoGen/GenC.py > +++ b/BaseTools/Source/Python/AutoGen/GenC.py > @@ -270,7 +270,7 @@ EFI_STATUS > EFIAPI > ${Function} ( > IN EFI_HANDLE ImageHandle, > - IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable > + IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ); > ${END} > """) > @@ -283,7 +283,7 @@ EFI_STATUS > EFIAPI > ProcessModuleEntryPointList ( > IN EFI_HANDLE ImageHandle, > - IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable > + IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > > { > @@ -297,7 +297,7 @@ EFI_STATUS > EFIAPI > ProcessModuleEntryPointList ( > IN EFI_HANDLE ImageHandle, > - IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable > + IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > > { > @@ -312,7 +312,7 @@ EFI_STATUS > EFIAPI > ProcessModuleEntryPointList ( > IN EFI_HANDLE ImageHandle, > - IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable > + IN EFI_MM_SYSTEM_TABLE *MmSystemTable > ) > > { > @@ -680,7 +680,7 @@ EFI_STATUS > EFIAPI > ${Function} ( > IN EFI_HANDLE ImageHandle, > - IN EFI_SMM_SYSTEM_TABLE2 *MmSystemTable > + IN EFI_MM_SYSTEM_TABLE *MmSystemTable > );${END} > """), > } > @@ -760,7 +760,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; > @@ -784,8 +784,8 @@ gModuleTypeHeaderFile = { > "UEFI_DRIVER" : ["Uefi.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/UefiBootServicesTableLib.h", "Library/UefiDriverEntryPoint.h"], > "UEFI_APPLICATION" : ["Uefi.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/UefiBootServicesTableLib.h", "Library/UefiApplicationEntryPoint.h"], > "SMM_CORE" : ["PiDxe.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/UefiDriverEntryPoint.h"], > - "MM_STANDALONE" : ["PiSmm.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/SmmDriverStandaloneEntryPoint.h"], > - "MM_CORE_STANDALONE" : ["PiSmm.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/SmmCoreStandaloneEntryPoint.h"], > + "MM_STANDALONE" : ["PiMm.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/MmDriverStandaloneEntryPoint.h"], > + "MM_CORE_STANDALONE": ["PiMm.h", "Library/BaseLib.h", "Library/DebugLib.h", "Library/MmCoreStandaloneEntryPoint.h"], > "USER_DEFINED" : [gBasicHeaderFile] > } > > -- > 2.16.2 >