From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (NAM04-MW2-obe.outbound.protection.outlook.com [40.107.101.62]) by mx.groups.io with SMTP id smtpd.web08.15670.1667738102145014091 for ; Sun, 06 Nov 2022 04:35:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@amd.com header.s=selector1 header.b=4G5fIkhq; 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.101.62, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XW5k3XEgkEzPLwYY100rCUmIYzK5PfIiF0t4KbmTVUl4SqcGQg+G6g88XCT0zYc8ZA9D2PcSKCOyQazOJBKSTiIhYHZ9/OJ3VDfySuXs6TZMDIfc4P/kVqahPF7xUjwdzbd5XSeS7IlAiN6DZ15Fo360vxCc+eY2aT7i122ukuIyqq+Umdv9uDwh8bQdQ/W0KG0HVxiX8Xs2zhdUDVWM61rprB8K9l+02IkNcSJEW/vH99ufE9jvdqv3NemBsuDg5orTA/D5d5dfUW0m5n9UTKw67ZxxAdZ3EdqA6MFNJs+I3l1OTbun4XNZ9tm67gNDzoPkzfAp4R4pQH2IsUX4Og== 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=z1WZKxdNQuACgjapLgTo7n19697Amqpt5Wb4xoALOcU=; b=oNyCLgJPuWEa0clLhj5Wnmx2WTvHCX4E6oLxTH9IEtBf4c7HdP146++RbP/Thguw6f19htHDVxxELOwzjbR8gRz8dll4fHaQQ4Q1gUyLhT+crNYSGDTjqXUS1tbZUUrOQSmyaEqV5hJZSGSz2KLB41cdNALBZ2PR2MaOLyW+AxNZDuOiNq8QYDd5NJKNRK4kazI7MaYkhtlRlT8KR4hksHgjecWrdgMhjBGZYs9VCWHY2BGOIKmznRGMZO4tq4TkYCJzSIj12aORci95n/cHl4LUOT280Wa/Pz0u74piMH+gP6AamghOHNnvSgHu5Vw5vep1nK9S1t2wJkUegblmOQ== 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=z1WZKxdNQuACgjapLgTo7n19697Amqpt5Wb4xoALOcU=; b=4G5fIkhqBjoazYjF3NDPUpfAmCgCUO0YUQMu6zAvJddcyWQr6l6fL5wBxrRQRc7eA/5hS+eUCTzXliXBb496hD9rEIwztFk1jsgcOhOh/ahZFNYLnKPL/PeUoujhTnvn1sshoAGysa2JWPS41Rl9QfXb+nHGM0FwVrXpDxaoC0c= Received: from MN2PR12MB3966.namprd12.prod.outlook.com (2603:10b6:208:165::18) by BL1PR12MB5850.namprd12.prod.outlook.com (2603:10b6:208:395::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.25; Sun, 6 Nov 2022 12:35:00 +0000 Received: from MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::ce0a:283e:839:34bd]) by MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::ce0a:283e:839:34bd%3]) with mapi id 15.20.5791.026; Sun, 6 Nov 2022 12:35:00 +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 V5 15/30] UefiCpuPkg/CpuExceptionHandlerLib: Refactor to allow other architectures Thread-Topic: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V5 15/30] UefiCpuPkg/CpuExceptionHandlerLib: Refactor to allow other architectures Thread-Index: AQHY7GPYjicD5NfDoUOWxN5H/u1MqK4x3zqg Date: Sun, 6 Nov 2022 12:35:00 +0000 Message-ID: References: <20221030132842.54077-1-sunilvl@ventanamicro.com> <20221030132842.54077-16-sunilvl@ventanamicro.com> In-Reply-To: <20221030132842.54077-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-11-06T12:34:57Z; 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=ea0ab221-c710-4d5f-b956-77374c1feaa6; 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_|BL1PR12MB5850:EE_ x-ms-office365-filtering-correlation-id: e7955ee3-aba3-450d-6bde-08dabff35249 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DuV9wBtFuqbKsV801wCA6AZhpov/d+qx2hlZOrfujGl8G6xWSh7Ac4y8ieA962Je5KpjpDBu9WYfm1OIA7PZw+a/P+WZCgqeL4UbfmFlIQgTe8XsRPLun7g6K8cmNe5QVxE0VgsFb4wOsw03ls2dioWnkUKgHwmHOKVt12g0AcEs6X0i2rJR+AAFNfzdcF5czGCcHCd+FMMN68pXDjByUmH8FXPdpzN3LLh+YnJB6YZk1V7R9nR2PXaeh7gn3o339OCBKkchfnHRG9Z+hFbWTRQWIeFPT63hL42G6u8iTwmo43kKxDIgmVbAAsJsaNSu0xJWVrjFLflZpc/7PawZWsfLDT4h25o66yqsLYWzdapvDygqqBamms9IsLAaPLDUr6GaSPNojHkGADhjuTmgZ/z69gNnVzYAhTpejUt26ThaV6qFrc6dM9X0oUgj1B2fLhoITLS8MhF2qdUrONbgO2HKakPL9rs2Y8OElqoqJfc7Hn0Su8mX+ADNKnJdg+p+PtJPLSHNwcvbmm+L8D3MFcwIFOg2hE8EJAiKrOn34wmL+Gh3aBiZ/FIj3J+CiU9JcWlpo3OQ2XYH0HN4I54/3ZrjzmVhEoMoi2Tzen94N///SKrizD+IiU28uJDCIH2OIq+XAUyxGq3j3ulR8JtBgb+D3DFMX7MdD8qCIlS89sy14HqK05sojVCk1/BHVmuu9GjFtVpW+icnttrTvz5MZNI0yhIBMPiqvoRP3hKD9dibfN//BU6EhJ9A7B+2zMqqdeJxbQ/DMsOMrXlSda7m1ulI+lGpGOMIMx27AzaoIEtw4ma8ieozDVDPOgF7cXrJMGnb8SBo0pN4Mxd6WloVnA== 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)(136003)(396003)(366004)(376002)(39860400002)(346002)(451199015)(30864003)(66899015)(8936002)(5660300002)(41300700001)(33656002)(45080400002)(54906003)(19627235002)(86362001)(71200400001)(478600001)(966005)(316002)(66946007)(76116006)(110136005)(2906002)(8676002)(4326008)(66446008)(64756008)(66476007)(66556008)(26005)(38070700005)(186003)(9686003)(52536014)(83380400001)(6506007)(7696005)(53546011)(55016003)(38100700002)(122000001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OGwglKemE58Q5poE3h0CNcSTIyfjPbYky45AEQFa3UOaqBM29eKhpRYVjsoe?= =?us-ascii?Q?alutnn5S0mehc5XWvlaqeLh8kMRck0d9RX/E9m6fGqQUzWGKEiN7crDqtGVu?= =?us-ascii?Q?AOH/ak6bHx1P0z0uC5WFEmHicpGmdCpN2wNeBbLEYB3r6QN1H9CxyOamT5jH?= =?us-ascii?Q?USmscuU0W27eAzuRrroz9kFM8C/6xlc++97/xF4iqjsGcX2uQKOl04ZbKqV4?= =?us-ascii?Q?lWxXbQwbuoPuiazggwa/YiosmTRbWrkJ+ZUoiuSepio/K07mTYcFgoM6ZR+L?= =?us-ascii?Q?+/1dWLTcHFNzdfF4qa9OjUOmqzoMT1lzxjNMXm8f+E7v2qkPBWbIRjiiog49?= =?us-ascii?Q?YfaNekvKaQrM9dVlgQTjpys3CG6jyOqvAPaWui8Af74kXNhuAkJILuaUD6JO?= =?us-ascii?Q?q/Os9x7FFxovmX/5ImBFBDAoM8YMTAtdDWycySxhhbi+oNPxVilGuEc6/a8q?= =?us-ascii?Q?QaI/jMIv5WqFRuurFewkbNw3i/LsM015k7Vk6J3OHRDct+InHfHr9TudqtoV?= =?us-ascii?Q?NCuYmfbe901QLiflsDrZufhSYMKVWMrMekT/BF4iC/tsjFDh6mpnMpMRorgk?= =?us-ascii?Q?hfpAa5dXs+3ac08qGaUMgyS0c9GNUq1lLtUib9iPHIkbwquisLT/Tfmol0Ps?= =?us-ascii?Q?5RNaFy4GWFElWw0R7M0EfIVibO/BZ7lLBGv6K95eaDbQNRCm8KhSghRdkv0z?= =?us-ascii?Q?+40r7j1IktMBBEV6fmB6GiiFOjkpVeJT/v/uEFQ3tN7gYXoS0ZGZ8oYv/t2K?= =?us-ascii?Q?7OjrnNZ9SptrcJjxc1/TU9Mj96v11cX4LyUoKGvh9xy3/m6jhxg9zx85d8LM?= =?us-ascii?Q?INI7+ZpOhposTpt624QRlKn23oHBupW9XnQJt5OrvftiJ/c4IyKynKC6yUwm?= =?us-ascii?Q?hg2Lh0MQI7uZDslQAZiRRGNC0r+TRqPSHTGSKQDxuFPuL2av1sG7rn7nfPGA?= =?us-ascii?Q?7q2zrCDSls3yPtSc+nJ54+G1LvIDn2Z57vvVPduE45faMkHpbdEy+Gg84fwI?= =?us-ascii?Q?vwI3amFHvhxHM2gncGkrFziTgdFjrfkYs+4gol4PFjkFVFt3vDhNzlEj/5SV?= =?us-ascii?Q?uCAgXrSYGeFbbZLG/X96rCFgkH2NeAouR9HRhg2wsVY2DR8M4mX4k0LT8q9M?= =?us-ascii?Q?uQywNiwAr4rNjNk5s2zkPkbqydXnsHeCouMycEy7U7yRco5+wBzJKEntOSCt?= =?us-ascii?Q?/RQ4NEPTgLZNJtKfFIfKIhE+CeI1Sr0fA4qhsv40oHKEIKOiZpcNe4sI3ode?= =?us-ascii?Q?yNQG5rCzQbJPthTglK5jiyvNuScJ/tz+RafqfigEVTom6Tsfe0PDOO3FYg13?= =?us-ascii?Q?iOJTR+P4jBp6g/l8WrUFXSVdPdYNGHbfNMEkGizimajEmmS/+QkfUjDAOkTD?= =?us-ascii?Q?1jkfEn36M/omTVOrjCm5nhNWT0W4HwdB4p13Efo9LzvfwilHxdx5YZO60r1X?= =?us-ascii?Q?n67P7YEULGMmjfKSNfN8wlLdqgOcNerlw76plTSHNuafuf0ZNZvgdcS+1Nbr?= =?us-ascii?Q?p2uBDoMyRotmEq3wzKuPfgkK0BH42vig79TPBN0T4gUc+zziQQSnVa5ouWO3?= =?us-ascii?Q?SAvWyJ8ZG74YePm7gCR8PmwzheRwLCl2ZsdBuFhd?= 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: e7955ee3-aba3-450d-6bde-08dabff35249 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2022 12:35:00.4379 (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: vzTR7S0+C2N2zhVIwoZucDCyq48L0gOU9mgt6+TafQZQZjR8sl5/1zCVXISdcLuD5CFO0m/Dq3tSpIw+9QJKcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5850 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable [AMD Official Use Only - General] This change follows the Directory/File naming for the Processor archs/Vendo= rs. Acked-by: Abner Chang > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Sunil V L > via groups.io > Sent: Sunday, October 30, 2022 9:28 PM > To: devel@edk2.groups.io > Cc: Eric Dong ; Ray Ni ; Rahul > Kumar > Subject: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V5 15/30] > 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%7C081d192fa545425ef64c08daba7af9b6%7C3dd896 > 1fe4884e608e11a82d994e183d%7C0%7C0%7C638027334583560837%7CUnkn > own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik > 1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DPB58b0kZ40pRb > hUjX8DqTLVzwRqjceSMgG2AqI8MlAY%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