From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.1.67; helo=eur02-he1-obe.outbound.protection.outlook.com; envelope-from=supreeth.venkatesh@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10067.outbound.protection.outlook.com [40.107.1.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B7F7F2215BD9A for ; Mon, 29 Jan 2018 08:36:14 -0800 (PST) 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=A7bgTd+BqfBPrtDmqR6hz0fLoU0Q5yhdk9rIuDi8M5g=; b=d+13tgV6kRmgCCC4LjAa3+bXJnlekFgs2dmmk9SiSubWCO6uuBdD+RgoZO68bEezLMUyvgCcjvh6VSt4EYonvgCnjJ+IwIwBaEQ0tp/Bq2+hNfqItRFVABsRC7OeJwG/qfpwE9b1VeilEJnyCkXD5DfG42TzDOWJfAWgdLe0MLs= Received: from AM4PR0802MB2306.eurprd08.prod.outlook.com (10.172.218.15) by AM4PR0802MB2289.eurprd08.prod.outlook.com (10.172.218.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Mon, 29 Jan 2018 16:41:45 +0000 Received: from AM4PR0802MB2306.eurprd08.prod.outlook.com ([fe80::61a6:cb94:4307:8d77]) by AM4PR0802MB2306.eurprd08.prod.outlook.com ([fe80::61a6:cb94:4307:8d77%18]) with mapi id 15.20.0444.016; Mon, 29 Jan 2018 16:41:45 +0000 From: Supreeth Venkatesh To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH v1 1/1] BaseTools/AutoGen: Update header file for MM modules. Thread-Index: AQHTlIUBDvxWJff5J0m1oZZco/nz7qOK9PaAgAAgwZA= Date: Mon, 29 Jan 2018 16:41:45 +0000 Message-ID: References: <20180123200131.5496-1-supreeth.venkatesh@arm.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1B8F84@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1B8F84@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Supreeth.Venkatesh@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR0802MB2289; 6:4ruyLyUAzBrssS5Af1/w13w0PFK6Y3xlZi5jftNk3y7b0kAZM4kMzhyyC4G/YphmtcDMwpVTyA/YvEs1/8UiPeUutgAuPJkwFhl5XlHdh5XIOTw3hfcFjzrHeM3LebOq2EsBeaZFDgxxj1YH/d0KsRf9JWUq+0PIFQ5Uulu1EgSlkKq9Vm26kh6N8dCRYy0r36l68druyDGsLzwbNxK49GhPJcJa9de/PLzh+/1YamEhCBQ8kfJHi007Mhi8YCCZ8QuuZ0GaXU6tFGNr1WAzCEIOzdpdJw153YJUcM2Kl/GeJNFWzdd4m4TOuA5Ygkr+ElwL3V3PxqPxEoZz9/iprQgdARooaG4GcROKH6X6omHP6nPFCb3MSQOm5si2Oqio; 5:ZsjdOGUt4C7Y5Qow02Dle9GtUSzkA9Z0U42Zre5eCtojYBn8QGE90Q089FcvT+m7VXsCDbGjGAqll9A+wmOb/ZA3y3dt2Ci9UdMtUCaH/zWmndejffq9gM5fQqv3JUHQgZsX7IVkgVVxibhxBj4/q46njLO6i7VtjdPmF2aEYB4=; 24:j8hmyPJ4QK+wl8elT0SQh9vWJkqnwU6AsViYWLEafP8o85Ul5j7UsYFK2OVDdQyVtp1E4wFKFIGtAXKWSMkowyP5wGwLpo+hHTPZvOCru44=; 7:/FPP00pTbfEqcPo6VxDwtvmlmOEdiOwKCXfL1vErEJLfM8op58DvYhPUX3mTH3qAZD/q357CZwnf/jrawV+YMxzjFTa+/aO12vdn99uQwEQD/993BkByz6YKNKkowO+aSjOdbsRRNxrNiNtASbbf4reEAPqZ6LWAKlFlnginYHYgw+jy03VoZNKN00HIjsk+JfnisWXXl/AwvCB33ZFY+1QvUfiq/bSbU1GXkZQy8jMnb10zXYo/b5vPQEhsOQ1n x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 494a6aeb-3488-44a0-2d2c-08d567372f44 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:AM4PR0802MB2289; x-ms-traffictypediagnostic: AM4PR0802MB2289: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231101)(944501161)(6055026)(6041288)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:AM4PR0802MB2289; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0802MB2289; x-forefront-prvs: 0567A15835 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(39380400002)(366004)(376002)(40434004)(199004)(189003)(13464003)(3280700002)(53936002)(6246003)(2950100002)(6306002)(9686003)(105586002)(575784001)(86362001)(66066001)(2501003)(99286004)(8936002)(5890100001)(5250100002)(15650500001)(110136005)(5660300001)(81156014)(81166006)(3660700001)(55016002)(72206003)(8676002)(106356001)(25786009)(59450400001)(186003)(6116002)(316002)(966005)(3846002)(33656002)(2906002)(74316002)(2900100001)(6506007)(478600001)(53546011)(97736004)(14454004)(26005)(7696005)(229853002)(102836004)(6436002)(7736002)(76176011)(68736007)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0802MB2289; H:AM4PR0802MB2306.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: MOn1fSMIdTTzxlEh1wKPiBPyZfbSE9dxTgTCW0pEj/sr1EdGaItZr24JHCu5xd8nCeRWSvvpVSZH/8pFJPbm5Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 494a6aeb-3488-44a0-2d2c-08d567372f44 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2018 16:41:45.5715 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2289 Subject: Re: [PATCH v1 1/1] BaseTools/AutoGen: Update header file for MM modules. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 16:36:15 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Liming, Library/SmmCoreStandaloneEntryPoint.h does not exist in MdePkg. It is supposed to exist in new package StandaloneSmmPkg. However, with PI specification change, Library/MmCoreStandaloneEntryPoint.h= will exist in new StandaloneMmPkg and discussion about the new package creation is going on other thread. Thanks, Supreeth -----Original Message----- From: Gao, Liming [mailto:liming.gao@intel.com] Sent: Monday, January 29, 2018 8:40 AM To: Supreeth Venkatesh ; edk2-devel@lists.01.or= g Subject: RE: [edk2] [PATCH v1 1/1] BaseTools/AutoGen: Update header file fo= r MM modules. Supreeth: Where is Library/MmCoreStandaloneEntryPoint.h? I don't find it in MdePkg. > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Supreeth Venkatesh > Sent: Wednesday, January 24, 2018 4:02 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming > Subject: [edk2] [PATCH v1 1/1] 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: Achin Gupta > 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 3e98506cc8..b74524be0d 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 =3D { > "UEFI_DRIVER" : ["Uefi.h", "Library/BaseLib.h", "Library/De= bugLib.h", "Library/UefiBootServicesTableLib.h", > "Library/UefiDriverEntryPoint.h"], > "UEFI_APPLICATION" : ["Uefi.h", "Library/BaseLib.h", "Library/De= bugLib.h", "Library/UefiBootServicesTableLib.h", > "Library/UefiApplicationEntryPoint.h"], > "SMM_CORE" : ["PiDxe.h", "Library/BaseLib.h", "Library/De= bugLib.h", "Library/UefiDriverEntryPoint.h"], > - "MM_STANDALONE" : ["PiSmm.h", "Library/BaseLib.h", "Library/De= bugLib.h", > "Library/SmmDriverStandaloneEntryPoint.h"], > - "MM_CORE_STANDALONE" : ["PiSmm.h", "Library/BaseLib.h", "Library/De= bugLib.h", > "Library/SmmCoreStandaloneEntryPoint.h"], > + "MM_STANDALONE" : ["PiMm.h", "Library/BaseLib.h", "Library/De= bugLib.h", > "Library/MmDriverStandaloneEntryPoint.h"], > + "MM_CORE_STANDALONE": ["PiMm.h", "Library/BaseLib.h", "Library/De= bugLib.h", > "Library/MmCoreStandaloneEntryPoint.h"], > "USER_DEFINED" : [gBasicHeaderFile] > } > > -- > 2.14.1 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.