From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.40]) by mx.groups.io with SMTP id smtpd.web08.30060.1665928840767095325 for ; Sun, 16 Oct 2022 07:00:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amd.com header.s=selector1 header.b=zGGTkwUY; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.236.40, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B45QIUol0lCjIQ+IiTtM0WIChcDrZxs5xNx5tNiNdLFtSa8p4TDV8YAlMJLjkq4FJfJsQUolRodtSQ6vy85Zk1nusGoSTV50h8UhAkImQ+MqcE0pJXi9jG1PRNgCfdbtMxut+HYpcgK8WldZ4jAj0xGdm8cTTaECTXbzsCH/1V7ay3p06jLwxR43JyGEuq7bTbo1cADPdV4H34GeIy9e+NxRH8KCUVltS/7m2EsVmAtWIXbWVD4aPYUA6F4/V51J9JSxlMUZogs9P8h0QQx9OR9Qqdqy8TqyClVcx5nFKf1hygti/YYXiFDLJWC/q/TSuKGl1bAeDCFVr4luB36Znw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I+NuhmyJSNIpQuVe9o+sB9ILlzQPKreSj2YrZ13GmDw=; b=AGFt+5UeWFqQE1WN33BsZizx8xnukp69XCUowsUQSdCrR8u6+18KWNLdmTw+2GwyU3sY0XpvPhMwnxsrOdC9PwWFI8XOJlMbGirwxCjNTCP4/BRG7f74xNe9t+3X6FkKdj+FiNqVgpvWKihmVdB/rCNaPEaEJVX3UL4oxWc4x5dmw5RZVPchutZ76E3/zvBjgW/ptpD1wKE76TweER8tWdFlR0sZWflzaW5Lw2rESmulfVJj16fL9dHVI3WrkV2/fRJCaBu+8Ae5cXT7FbmZOWhZ4ONAPmyKxctNZXw/Xcxw5s1YVLKUsd4ieXeKILZW/OblVe7r8A2Wpl+vK+1uYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I+NuhmyJSNIpQuVe9o+sB9ILlzQPKreSj2YrZ13GmDw=; b=zGGTkwUYB5nBI/MmE0HUQLPMT/qsVL/5QA7JCdFPymzbQV1poYz9ym8a5ycfBgzkK3K5dSb7wPYQFferhJJDyrwKdLg07lrrhe/zpb7xKJLmu5Mq+As5wmifOfSodyXPIS/t0DWJuZpmGg9EFJ+4lbEjegYzgG3iuWy8MEST/IA= Received: from MN2PR12MB3966.namprd12.prod.outlook.com (2603:10b6:208:165::18) by SJ0PR12MB6685.namprd12.prod.outlook.com (2603:10b6:a03:478::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.31; Sun, 16 Oct 2022 14:00:36 +0000 Received: from MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::2eab:b851:827c:1d88]) by MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::2eab:b851:827c:1d88%3]) with mapi id 15.20.5723.032; Sun, 16 Oct 2022 14:00:36 +0000 From: "Chang, Abner" To: "devel@edk2.groups.io" , "sunilvl@ventanamicro.com" CC: Eric Dong , Ray Ni , Rahul Kumar Subject: Re: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V4 15/34] UefiCpuPkg/CpuExceptionHandlerLib: Refactor to allow other architectures Thread-Topic: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V4 15/34] UefiCpuPkg/CpuExceptionHandlerLib: Refactor to allow other architectures Thread-Index: AQHY3+0bE42mMRypTkS1CsT0QGOOza4RD18g Date: Sun, 16 Oct 2022 14:00:36 +0000 Message-ID: References: <20221014164836.1513036-1-sunilvl@ventanamicro.com> <20221014164836.1513036-16-sunilvl@ventanamicro.com> In-Reply-To: <20221014164836.1513036-16-sunilvl@ventanamicro.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-10-16T14:00:34Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=d7d7d840-5528-4082-8a10-d2fe7caa97d8; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR12MB3966:EE_|SJ0PR12MB6685:EE_ x-ms-office365-filtering-correlation-id: 20bcecfa-07bb-4c6e-cdf4-08daaf7ecd1e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Tc9q49uYGYfezvXO0F6nlPhkqyCCJHLA4Cta583VpIMNtijqABrYMlxp8/pzVkn1mEZOtN4sCf6bzrs8W+mpqCAA1Lb1yZ43YmYXhTt5IrbjPkpQJxVKufLekI3wI9gkBJ8q+Oqm2aujMzwI0iHMwKdIlIpmN3gJZ+vUA9IKxGC/w4pakrxnyKfiuoPpNJy+JtaoRLyleRKb9H40Z28DsKFZ1yD/k2z+8gZ9gSnae3pTxWEVuiZQc3vauGKKzjoaREwI+otri+UNyXnG3DmVFM9yzc+UncCOti57EPXSacAMDpmbKo5DQV8AQ3FxrCp6SCaVuGEz5yDKmkWc7AhMXbbkQ38FufBwzFhlUckwbjYsOdvq3WWBn+LBoxsmI42bwoarm6FeGjw3mEQSlCIqXN1BnCoDIB1QVCVk2ePZa1T4aII8Y4ilDumhRLlnQoM9G8M9RgjvnQOR3QK4E8KyBE976ySlpOJOzFTm9fcJwL19jgiKeGdhjpKRi96XGRVlr23QXszh8NuFkoKvyySxVXe/K09uqPF/x7I1anziki49/4nMdGG3i9ZBIyxnE4yM8TjmJj6HoU8Z1oc9ZUQTiD0Obp38xyOuvnanZ1jyhQ3hQSMAV6CbOQa1JbIPO1a3ZvQv6th1mHDU/DxShUCFuU2K95dcz+vqiTAx3mY5CYh0SGSSZ581JT3uFRkh1Q5rw3qfS/Se9e6nBgBUyMImki13xaVOzYT/6Ib4J2QtyGk4uEXQHgQRi/tdKB6sptNIZDKlBUj7/uwP4Nec9Zvj1mn6qHqousExMfiy0Q00LfVTMO0oaB55J6RvkyzilYJRuRHHuUeLzCCyD20KrjQyXA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB3966.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(396003)(39860400002)(346002)(376002)(136003)(451199015)(186003)(83380400001)(38070700005)(54906003)(86362001)(38100700002)(122000001)(30864003)(5660300002)(2906002)(41300700001)(4326008)(52536014)(8936002)(55016003)(8676002)(64756008)(110136005)(478600001)(9686003)(26005)(6506007)(53546011)(7696005)(19627235002)(316002)(45080400002)(66476007)(66556008)(66946007)(76116006)(66446008)(966005)(71200400001)(66899015)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2AYeN6nOBhGa1BZEJRm7v2SgQtO0xQNDbGnCdkEepDHjNC7UjDsCDWRpQ72t?= =?us-ascii?Q?XsEzEEqCgGqa/30IaqsdPe8IwTZgM8oFDEZKDkaYPyQ7lwsJMZvAV7bejH7l?= =?us-ascii?Q?xCIyUv8GH5ldXBDKKT8pxLnFW+vBu0yggQvWAf9CBOYFuGcQ/P4aCz/oVgot?= =?us-ascii?Q?DMAIQi/+PP0OQfuu29M2IcVgOQtgqvGIU+WPwcd62O3yX7zJAmFl5QUkusbJ?= =?us-ascii?Q?+kKUE/zKG8IfbjEaNnYB2bhBNqPlqSCFVGIyFsb/vkjkRVC4nP29JPFppVyF?= =?us-ascii?Q?7BamCKpP0Itu4bSZlqRDnkAdVj8BtOSukrPYdoNsxziK1DuqukHX8iiFy20U?= =?us-ascii?Q?rxekqpyIQoXo3oPTPAsbpGkz1qcIVUjwRuCfwIPcUmSKG/X2DLhIlCAq7tei?= =?us-ascii?Q?0PcJ2tcx/bEI6ObHXq406TvGvySG+ltSLWXD+o7oQ+GrBymROz93/iAPGCTA?= =?us-ascii?Q?awIEfnjPXgp0FJ3PqcDDT2smyj4SnSC4NxFs6Lcr8Tq2EXaDhMbfL525DZsy?= =?us-ascii?Q?4iX2M3hfkLgnDhhw/QS1pn8RnVSTOezUNc/PHPZwSYwW9rhIcgujo8yscSEK?= =?us-ascii?Q?ULQoLplUJlrbxYbwWWj7WlaICMDXTVVJPymSGtryer9ti6AAtQWRvxZKG3tK?= =?us-ascii?Q?QqcFKLOX0LturmjDmcdlY9kMn1nnz//ziWKHWTz+VF0WhoEkQBT8hAuAlEkG?= =?us-ascii?Q?7Gvs5d1TM99fqfwgH4ji9088edHfFh2GrZdAhMRVqoVNlsCPQBwqqhfco2Ea?= =?us-ascii?Q?T2Uhlx14TTCJbZNXCwP3NnBAcP3n8zV5Hhe1eOFi7pq1DtcdCD0UBwzUkzQ9?= =?us-ascii?Q?zcUzGlM/ZekvnINbRsyz5EnKajaxcpYp5bRZ9IWMS8BhrcPsM9jvNYOKtmuU?= =?us-ascii?Q?yufPyBi+UzNoEm5AuSwxVGm8tjPYYKWqK9fR4dKLiqGsubntnZzXAh695BoO?= =?us-ascii?Q?PcfIFNZ29ttBZmmtNRB9t5iBpZB7EZH2YKIsdQU7THlJcuRAL2+dXEr58ryO?= =?us-ascii?Q?xyLAABqe7tHf/oAqnFGB47NVATH4gDVuSPhWc3IcQkLWxDKkZZX085lKQ1YO?= =?us-ascii?Q?5jsowBbVchXINrfmdPdz44BCrFq2sFFsaMh8M4/n9VAdNHlKpmdETrPcQozv?= =?us-ascii?Q?gjW+PHz+Ur8KLS6wVx/DKUXnlutJkY8/+LRSDEcV6ZqJ1L27zqKc0QsvDDnt?= =?us-ascii?Q?YF/1vwUQj0otjfM4Fsph/UFesBiF7z4b01ak2aBAc7yKHvlUKX2miGykGUlW?= =?us-ascii?Q?XVfX7wGt88npQAs6GqbCbwiTwNJLYL05ToucSsXH103r5oLmioD0bBokGVT2?= =?us-ascii?Q?S5Q+wuXDFm7/IeWEiq4/tbJjs2DFl8qp8Sl3pR49rpK4A+BTg0PPYYXeKo9l?= =?us-ascii?Q?x2a3LfqF8MVLl5x49uSp2fDfXF8GGIeX3yyZoZpZcL9D96fIa52NIlQTy6rI?= =?us-ascii?Q?7/YtA0P/dHZbQclQ8/yaAb1ai1QKVAo0RhAFLyNzpzeYo4JP4/cvoGubfLHQ?= =?us-ascii?Q?EEnsbvQGREHYaWeVW7e9sgBALuzkKUCxvYA8aS/sisipE3wicLR2V3V9hF2B?= =?us-ascii?Q?O0Amj4Cj0LWfbNXny3JSWpFgoL2G6VpGyB+ic5dS?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3966.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20bcecfa-07bb-4c6e-cdf4-08daaf7ecd1e X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2022 14:00:36.8278 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YuZ6K1p2QiP9igIEswbkDhtN4xeJwwsmmMPivlkVL392ZSZY4NDrMXju7Jg8cnPoJFaPmklzsZPl5yEiyXpxOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6685 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable [AMD Official Use Only - General] Need maintainer to review this changes. However, same comment as I gave ear= lier. We will have to wait until the File Naming and Directory naming secti= ons are firmed and published in edk2 coding standard spec. Abner > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Sunil V L > via groups.io > Sent: Saturday, October 15, 2022 12:48 AM > To: devel@edk2.groups.io > Cc: Eric Dong ; Ray Ni ; Rahul > Kumar > Subject: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V4 15/34] > UefiCpuPkg/CpuExceptionHandlerLib: Refactor to allow other architectures >=20 > Caution: This message originated from an External Source. Use proper > caution when opening attachments, clicking links, or responding. >=20 >=20 > REF: > https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fbugz > illa.tianocore.org%2Fshow_bug.cgi%3Fid%3D4076&data=3D05%7C01%7Ca > bner.chang%40amd.com%7C59e63a7db04e464f5c3208daae043c0a%7C3dd89 > 61fe4884e608e11a82d994e183d%7C0%7C0%7C638013630462875566%7CUnkn > own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik > 1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3D93oEfG8e%2FDl > va3yL1aAnvHKm6ZbO17Rxgoo%2FL7JM3No%3D&reserved=3D0 >=20 > Currently, the CpuExceptionHandlerLib library supports only X86. > Refactor the library to allow adding other CPU architectures. >=20 > Cc: Eric Dong > Cc: Ray Ni > Cc: Rahul Kumar > Signed-off-by: Sunil V L > --- >=20 > UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.in > f | 14 ++++++++------ >=20 > UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf > | 8 ++++---- >=20 > UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib > .inf | 12 +++++++----- >=20 > UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.i > nf | 8 ++++---- >=20 > UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHa > ndlerLib.inf | 6 +++--- > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> > Ia32X64}/CpuExceptionCommon.h | 0 > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> > Ia32X64}/CpuExceptionCommon.c | 0 > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> Ia32X64}/DxeException.c > | 0 > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> > Ia32X64}/PeiCpuException.c | 0 > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> > Ia32X64}/PeiDxeSmmCpuException.c | 0 > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> > Ia32X64}/SecPeiCpuException.c | 0 > UefiCpuPkg/Library/CpuExceptionHandlerLib/{ =3D> Ia32X64}/SmmException.c > | 0 > 12 files changed, 26 insertions(+), 22 deletions(-) >=20 > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib. > inf > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib > .inf > index e7a81bebdb13..8fdf2b756c2c 100644 > --- > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib. > inf > +++ > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib > .inf > @@ -32,11 +32,11 @@ [Sources.X64] > X64/ArchExceptionHandler.c > X64/ArchInterruptDefs.h >=20 > -[Sources.common] > - CpuExceptionCommon.h > - CpuExceptionCommon.c > - PeiDxeSmmCpuException.c > - DxeException.c > +[Sources.IA32, Sources.X64] > + Ia32X64/CpuExceptionCommon.h > + Ia32X64/CpuExceptionCommon.c > + Ia32X64/PeiDxeSmmCpuException.c > + Ia32X64/DxeException.c >=20 > [Pcd] > gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard > @@ -56,8 +56,10 @@ [LibraryClasses] > SerialPortLib > PrintLib > SynchronizationLib > - LocalApicLib > PeCoffGetEntryPointLib > MemoryAllocationLib > DebugLib > + > +[LibraryClasses.IA32, LibraryClasses.X64] > + LocalApicLib > VmgExitLib > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.i > nf > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.i > nf > index 7c2ec3b2db4c..af4899e6885e 100644 > --- > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.i > nf > +++ > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.i > nf > @@ -33,10 +33,10 @@ [Sources.X64] > X64/ArchInterruptDefs.h >=20 > [Sources.common] > - CpuExceptionCommon.h > - CpuExceptionCommon.c > - PeiCpuException.c > - PeiDxeSmmCpuException.c > + Ia32X64/CpuExceptionCommon.h > + Ia32X64/CpuExceptionCommon.c > + Ia32X64/PeiCpuException.c > + Ia32X64/PeiDxeSmmCpuException.c >=20 > [Packages] > MdePkg/MdePkg.dec > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandler > Lib.inf > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandler > Lib.inf > index 6a170286c8fc..79911b21f62d 100644 > --- > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandler > Lib.inf > +++ > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandler > Lib.inf > @@ -32,10 +32,10 @@ [Sources.X64] > X64/ArchExceptionHandler.c > X64/ArchInterruptDefs.h >=20 > -[Sources.common] > - CpuExceptionCommon.h > - CpuExceptionCommon.c > - SecPeiCpuException.c > +[Sources.IA32, Sources.X64] > + Ia32X64/CpuExceptionCommon.h > + Ia32X64/CpuExceptionCommon.c > + Ia32X64/SecPeiCpuException.c >=20 > [Packages] > MdePkg/MdePkg.dec > @@ -46,8 +46,10 @@ [LibraryClasses] > BaseLib > SerialPortLib > PrintLib > - LocalApicLib > PeCoffGetEntryPointLib > + > +[LibraryClasses.IA32, LibraryClasses.X64] > + LocalApicLib > VmgExitLib >=20 > [Pcd] > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLi > b.inf > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLi > b.inf > index 9dde07612a04..249446588bfa 100644 > --- > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLi > b.inf > +++ > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLi > b.inf > @@ -33,10 +33,10 @@ [Sources.X64] > X64/ArchInterruptDefs.h >=20 > [Sources.common] > - CpuExceptionCommon.h > - CpuExceptionCommon.c > - PeiDxeSmmCpuException.c > - SmmException.c > + Ia32X64/CpuExceptionCommon.h > + Ia32X64/CpuExceptionCommon.c > + Ia32X64/PeiDxeSmmCpuException.c > + Ia32X64/SmmException.c >=20 > [Packages] > MdePkg/MdePkg.dec > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuException > HandlerLib.inf > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuException > HandlerLib.inf > index 6d2f66504a5b..23200437eb8b 100644 > --- > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuException > HandlerLib.inf > +++ > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuException > HandlerLib.inf > @@ -38,9 +38,9 @@ [Sources.X64] > X64/ArchInterruptDefs.h >=20 > [Sources.common] > - CpuExceptionCommon.h > - CpuExceptionCommon.c > - SecPeiCpuException.c > + Ia32X64/CpuExceptionCommon.h > + Ia32X64/CpuExceptionCommon.c > + Ia32X64/SecPeiCpuException.c >=20 > [Packages] > MdePkg/MdePkg.dec > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/CpuExceptionCom > mon.h > similarity index 100% > rename from > UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/CpuExceptionCommo > n.h > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/CpuExceptionCom > mon.c > similarity index 100% > rename from > UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/CpuExceptionCommo > n.c > diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/DxeException.c > similarity index 100% > rename from UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeException.c > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/DxeException.c > diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuException.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/PeiCpuException.c > similarity index 100% > rename from > UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuException.c > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/PeiCpuException.c > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/PeiDxeSmmCpuExc > eption.c > similarity index 100% > rename from > UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/PeiDxeSmmCpuExcep > tion.c > diff --git > a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/SecPeiCpuExceptio > n.c > similarity index 100% > rename from > UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/SecPeiCpuException.c > diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/SmmException.c > similarity index 100% > rename from UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c > rename to > UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32X64/SmmException.c > -- > 2.38.0 >=20 >=20 >=20 >=20 >=20