From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.42]) by mx.groups.io with SMTP id smtpd.web08.7527.1665755998310901903 for ; Fri, 14 Oct 2022 06:59:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amd.com header.s=selector1 header.b=P5bclqlK; 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.92.42, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oOVSpvoKqQaN9qQrKnjPMBt3JIuh+YPzX8DmDgaeWEKQ/vnwXRCavFz8NTaXikgpeEe2LNGOSQDE3q/p+KPrmPI5lzReN9AIq1piWODHmRBLlP549WR7crx3USTfizJd98m24Wuz2b4X4Gt8skzz+8do0Jc3WUeUa3kdSRvahCj09EpQx2O9cvIkk76Dcyynwyhy9/wb6ibtL5zhAZrZp/m2cXneyczI4OS+hwoNYV8SnqmB402JV8QfPEsGCXVuGMCbOC83jBkc5wdQa75Qnn9Ve6C6TfzsDdk6Lvx/eO1Z+Fws2Wvooal3otwA54uiYoqGzyvmBnkP6utgRznejw== 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=gjXqS33/qUrIJkeB9H9ZyN+feBVAp/XbSr+I5PO6Tug=; b=BPPbMia8fwrYzoIDoxhgzGlKVuDMIpTo6rRUgWXct7iOczUyvSEqzPyiLKc7WlH6vF45JGtYG67x3kz5BunigthmodPiG+WT2s2QvHT93aRao0tSBBY6WtWodiMRdEvngR0Qxgme5cIiVooQo3OMttKIXJBi5/VBmjcQYWubtF1iYQ+oG4gDvClwUZsVY71LBXZu+IotFrCl6/RYECqIoxDB+O5kyGquW4EEDp0F4mLUCl/3GpltZE+ssd2S4jEdRmvzUTWMlGzCmJfKz8GgVCprpg3b0X4KCy5xCuQixzWC6mROvCfTKX79kPszAZojtGKAXBEfxExs0ub23UKmXQ== 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=gjXqS33/qUrIJkeB9H9ZyN+feBVAp/XbSr+I5PO6Tug=; b=P5bclqlKFThV/0n/bQHMkm02/zSRQSFZBFwDg5Axr3u/FZZGMq3iurHvZ85M2vRxYVlmIynqwuwiukutxUWtOx1GUNU9SmtEW9R6YL6S7+SEMHheHTtOnLnG+loSyGUJ0207gU/DAe7aiwH1b4wmHlwBnJ6o39R0PTxb4EKZZnU= Received: from MN2PR12MB3966.namprd12.prod.outlook.com (2603:10b6:208:165::18) by DM4PR12MB5293.namprd12.prod.outlook.com (2603:10b6:5:390::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 13:59:55 +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.029; Fri, 14 Oct 2022 13:59:55 +0000 From: "Chang, Abner" To: "devel@edk2.groups.io" , "sunilvl@ventanamicro.com" CC: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Rebecca Cran , Peter Grehan Subject: Re: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V3 07/34] OvmfPkg/ResetSystemLib: Refactor to allow other architectures. Thread-Topic: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V3 07/34] OvmfPkg/ResetSystemLib: Refactor to allow other architectures. Thread-Index: AQHY3up+9FPZANOX+UaCGbbansyHK64N6zBA Date: Fri, 14 Oct 2022 13:59:55 +0000 Message-ID: References: <20221013095829.1454581-1-sunilvl@ventanamicro.com> <20221013095829.1454581-8-sunilvl@ventanamicro.com> In-Reply-To: <20221013095829.1454581-8-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-14T13:59:52Z; 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=84d9b64f-30b6-45d0-aa49-da78a0e1f16a; 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_|DM4PR12MB5293:EE_ x-ms-office365-filtering-correlation-id: 3dd8e9ff-da4a-4b6b-516b-08daadec5f77 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t+btq01pjkrr1TPwQN71yRuU0nAnSDYFlvGl8mnpM8FvJ1N+H5Evfj9HwlrQx+t4JOBjys0WBtO7tMJqtlpkkzc6NKDrn6EPRqjHTkfIrgdyGuknsnjyC/Xlywtkz958PJeAR3HhgG5+V1OOjv29RwnUlZc5Rs877LClOzaG2KT/igMuIOyKpyZVZY/+FSAb2BZu0jtJ0xymE2K+RE/b3Y86t8YwgdKu/EzZByChcRPn9fYcCkB3cUjotaIBmjiTxAOCvl53HH7N5QS0TXXHLgbIsMddetW3DgIU0GbYfgWJ8tBovY8GqeiiO+7CK65wIXbfOmIiNy/tAlss/D9OKEMJQIp5UknKb8B4ThdyQ9OW6X9C0dhL9YDKAfYcxHUjnK69TgDEfasbYqwZnh6UutOKDjxwBE1cSfd8ROqJhM1GYJRqQkTAzGh6Wyf4I8QWnytKhVr87JQ+VDv7kZOj90bvkPyBG6cbLS4paIZUK3ghqgczWzXv2+1qpIv+0aHyA2Hdaq+7U+BBB/5Uz0pgycf0/tZAikGC33uk6bIMPtPVwT0nbasFGBI05Nx6I1PU7E8WU+B2Vet+FxI/k5nQ60SokWrWw/MTIeW95TLqGvgpfoFafwA3ZV5cn6kqV2WJuYlacqH4DKKCVYdGhEKVpDkaR9wIWyUYsW7E0VNt07Jy4RdrjC5loAimaYSKu/hlNAfniepDPPs6MvCDXfjuSRR1BijgMJ1epxqXhf3HSvTSQGEXfXTSCOgnSEodm2UpjgWgiCEk6u4c3CqF5PA+YgUwqzTppksQZ01Qa7lETUnZ+HKo6piQ1aUG5+eztgvhjLSuq9A0pw96nz9hQDK7BA== 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)(346002)(136003)(376002)(39860400002)(451199015)(66556008)(5660300002)(2906002)(38100700002)(6506007)(41300700001)(26005)(8936002)(9686003)(7696005)(186003)(83380400001)(52536014)(53546011)(122000001)(86362001)(38070700005)(55016003)(33656002)(478600001)(316002)(19627235002)(66899015)(54906003)(110136005)(45080400002)(66946007)(66446008)(8676002)(76116006)(4326008)(64756008)(66476007)(71200400001)(966005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?rHQ5dwfV5di04dxQfxaKBEXyOkENlvVWtUZaf/CEBPtyIvEzaPK2EcR26K8u?= =?us-ascii?Q?7JPqdH9k/uWwWILYRJL2xjlJ5u+Zzw9SGW+HvC/vMqL3B+plrF4HnXaRpGXu?= =?us-ascii?Q?UisWp+vIE9FPVVzydb7qbn0qWcCx8J1FhspUhKZbOOyjnUcKM+SVjtUEn4CR?= =?us-ascii?Q?3wcJVusTqLJWkb/jcIsu6Y3KfLRv+RNfr/KcAES15acKTre9lavXohGmVLgC?= =?us-ascii?Q?JA5vpagHLyM89Yb/t6vI/5xFmTUxmQcgV2bd+GVG7EhOPUZreg66eBpMct3U?= =?us-ascii?Q?vypHEC/gnoKJDzZOqmRkdActcp3Ve9RrUm5kFi36tpi5xQ00UlUDIWQBNvPO?= =?us-ascii?Q?psva6Ek5ZAKpMUv++BLsYkbj5dycwTdATyT/xsHlbJVtCgDji0sbqbJbzco3?= =?us-ascii?Q?l3qRIcdGs6UXBXwQShezU5ncunC0jSLGdziXY5V9d/oSu7WFVxkLyE06ufms?= =?us-ascii?Q?GqdBNX6cbOy/dsA4x+G4judzcdTgKuDc8AkH3vDO9aLo5eth7J5IT2QW8QDt?= =?us-ascii?Q?Il6cVXSUjpxcNWUhyM7/iBhVQW65dkqlU0Ins6GMlv6F9+mtoK60KyJz8L3k?= =?us-ascii?Q?cKJ9kok5RbubC7uLn0BdmysGkNMNbXVgA/IlL8xNQed+XqwVhoTvpNAUUvIM?= =?us-ascii?Q?GH3sKqAsIi5Gvgam6lLHrkzI7jSPUJ5Xuyk7mDDebr79kw6kCieGvYU7kqaK?= =?us-ascii?Q?ttFvjtYeGJPL/5GMhaRUZ3JeisMDk1E79wSYr9ePmDhsf1bCxfsfGKbZR6bh?= =?us-ascii?Q?njZhAXdCaGsYh+EBXeCy37lOkII/fbbnvwGPrWC0YVa3ibVpq1z5E56teHh8?= =?us-ascii?Q?FwnJWLENjdVDir9Od+nFxLVPwbGS5m1Qa/7dRLXBmMjNtyadGZbXElCQJSJM?= =?us-ascii?Q?VgsJmbB4fK+izsz74+pbjRX24cTu4OQ2+n9Y9HlwV7tm/eOX+PtlHnpi4Y8z?= =?us-ascii?Q?ep5+tSJiXhgrg0JH9EAEbr0UhbzjWvtERo6Nq+Q3pPls8tfq2RRIoxG3OBfM?= =?us-ascii?Q?TJSMt+99tMaunl+Xw6lOL6z5LEO3qQ1ELnD35/Y6gXKTiz16bFlSbyv9mSKf?= =?us-ascii?Q?yVl5As87F4NKcJLVkggiFMf2+1d9UFjCVJSS/6CSPnabOcRRTz6MtapGVlxF?= =?us-ascii?Q?5RPMxWIH9ggoSdTxxhzavETpFYplmplklcOkrqCeC+AXm3xIZ3Uk70iPDsFq?= =?us-ascii?Q?Jfd/dFGTfy+4DQBjY808k09Mw6xxbBqpLBdZ2UmBTVM03mZ2/I5KADh2vuvY?= =?us-ascii?Q?EmK/v5KeJco8psOZdIDgIzyKhDB7yKEHk8HRXTRTRiVCzNDpZxxn97AmxiJR?= =?us-ascii?Q?HNiZs3dHg/QZrfIl+WgT8ygQb1ySjhqwREuA9gAtdztUvPhkTqZnSQ9gEJVl?= =?us-ascii?Q?TO5lS0PEh0CLIYI4Xje2qRmipEhsEGKgU8Hk4R0gOzRaU2gK5AclA5TRqr/D?= =?us-ascii?Q?l1hRnsQfoXrEZsWF30lrKdplldtxbMpoS65vSMiRvO9wET31el3W2WxCdPx/?= =?us-ascii?Q?FC+SwpcsB7ruMqwlGLh5pDuhgl8/GZEcrbI3satFoA6VnJ4e3e0gm0Brw9bW?= =?us-ascii?Q?YO/q6qKPOp6xai5d6NR7P8TMo7mVZwdyXZ1B64d5?= 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: 3dd8e9ff-da4a-4b6b-516b-08daadec5f77 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2022 13:59:55.1263 (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: QKROevbi7tLRjeiZ4PitXJ1d0Vpw9RW+6JTDMbX1Z1YRR+GEkDxfs/Js/GLBbW3BnkqsgsN5gVusyD1sf/BRjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5293 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable [AMD Official Use Only - General] No problem with this change. Just we will use Ia32X64 for the arch folder (= no "_" in between) as the discussions we had in another thread. We will have to wait until the File Naming and Directory naming sections ar= e firmed and published in edk2 coding standard spec. Thanks Abner > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Sunil V L > via groups.io > Sent: Thursday, October 13, 2022 5:58 PM > To: devel@edk2.groups.io > Cc: Ard Biesheuvel ; Jiewen Yao > ; Jordan Justen ; Gerd > Hoffmann ; Rebecca Cran ; > Peter Grehan > Subject: [edk2-devel] [edk2-staging/RiscV64QemuVirt PATCH V3 07/34] > OvmfPkg/ResetSystemLib: 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%7Cf3b4febea58c4b8b687808daad019ecd%7C3dd89 > 61fe4884e608e11a82d994e183d%7C0%7C0%7C638012519730564286%7CUnkn > own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik > 1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DCyEnJZ4m72W1 > 6%2BmggVcGw%2BsFSwgbybCRQJZFAFCiPvA%3D&reserved=3D0 >=20 > Currently, the ResetSystemLib library supports only X86 architecture. > Refactor it to allow adding other CPU architectures like RISC-V. >=20 > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Cc: Rebecca Cran > Cc: Peter Grehan > Signed-off-by: Sunil V L > --- > OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf | 6 +++--- > OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf | 4 ++-- > .../Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf | 2 +- > OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf | 6 +++--- > OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf | 4 ++-- > .../ResetSystemLib/{ =3D> Ia32_X64}/BaseResetShutdown.c | 0 > .../ResetSystemLib/{ =3D> Ia32_X64}/BaseResetShutdownBhyve.c | 0 > .../ResetSystemLib/{ =3D> Ia32_X64}/DxeResetShutdown.c | 0 > .../{ =3D> Ia32_X64}/DxeResetSystemLibMicrovm.c | 0 > .../Library/ResetSystemLib/{ =3D> Ia32_X64}/ResetSystemLib.c | 0 > .../ResetSystemLib/{ =3D> Ia32_X64}/ResetSystemLibMicrovm.c | 0 > 11 files changed, 11 insertions(+), 11 deletions(-) rename > OvmfPkg/Library/ResetSystemLib/{ =3D> Ia32_X64}/BaseResetShutdown.c > (100%) rename OvmfPkg/Library/ResetSystemLib/{ =3D> > Ia32_X64}/BaseResetShutdownBhyve.c (100%) rename > OvmfPkg/Library/ResetSystemLib/{ =3D> Ia32_X64}/DxeResetShutdown.c > (100%) rename OvmfPkg/Library/ResetSystemLib/{ =3D> > Ia32_X64}/DxeResetSystemLibMicrovm.c (100%) rename > OvmfPkg/Library/ResetSystemLib/{ =3D> Ia32_X64}/ResetSystemLib.c (100%) > rename OvmfPkg/Library/ResetSystemLib/{ =3D> > Ia32_X64}/ResetSystemLibMicrovm.c (100%) >=20 > diff --git a/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf > b/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf > index 35d317f1e0b3..4397f90a24dd 100644 > --- a/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf > +++ b/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf > @@ -21,9 +21,9 @@ [Defines] > # VALID_ARCHITECTURES =3D IA32 X64 > # >=20 > -[Sources] > - BaseResetShutdown.c > - ResetSystemLib.c > +[Sources.IA32, Sources.X64] > + Ia32_X64/BaseResetShutdown.c > + Ia32_X64/ResetSystemLib.c >=20 > [Packages] > MdeModulePkg/MdeModulePkg.dec > diff --git a/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf > b/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf > index 74124aed38e8..3e52a9e3d7f9 100644 > --- a/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf > +++ b/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibBhyve.inf > @@ -25,8 +25,8 @@ [Defines] > # >=20 > [Sources] > - BaseResetShutdownBhyve.c > - ResetSystemLib.c > + Ia32_X64/BaseResetShutdownBhyve.c > + Ia32_X64/ResetSystemLib.c >=20 > [Packages] > MdeModulePkg/MdeModulePkg.dec > diff --git > a/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf > b/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf > index 564b1d3022a6..c66720771d82 100644 > --- a/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf > +++ b/OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf > @@ -23,7 +23,7 @@ [Defines] > # >=20 > [Sources] > - ResetSystemLibMicrovm.c > + Ia32_X64/ResetSystemLibMicrovm.c >=20 > [Packages] > MdeModulePkg/MdeModulePkg.dec > diff --git a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf > b/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf > index a9b4ce90000a..79478453d7cb 100644 > --- a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf > +++ b/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf > @@ -23,9 +23,9 @@ [Defines] > # VALID_ARCHITECTURES =3D IA32 X64 > # >=20 > -[Sources] > - DxeResetShutdown.c > - ResetSystemLib.c > +[Sources.IA32, Sources.X64] > + Ia32_X64/DxeResetShutdown.c > + Ia32_X64/ResetSystemLib.c >=20 > [Packages] > MdeModulePkg/MdeModulePkg.dec > diff --git > a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf > b/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf > index ac9c2599642c..6c79492f816b 100644 > --- a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf > +++ b/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf > @@ -24,8 +24,8 @@ [Defines] > # >=20 > [Sources] > - ResetSystemLibMicrovm.c > - DxeResetSystemLibMicrovm.c > + Ia32_X64/ResetSystemLibMicrovm.c > + Ia32_X64/DxeResetSystemLibMicrovm.c >=20 > [Packages] > MdeModulePkg/MdeModulePkg.dec > diff --git a/OvmfPkg/Library/ResetSystemLib/BaseResetShutdown.c > b/OvmfPkg/Library/ResetSystemLib/Ia32_X64/BaseResetShutdown.c > similarity index 100% > rename from OvmfPkg/Library/ResetSystemLib/BaseResetShutdown.c > rename to > OvmfPkg/Library/ResetSystemLib/Ia32_X64/BaseResetShutdown.c > diff --git a/OvmfPkg/Library/ResetSystemLib/BaseResetShutdownBhyve.c > b/OvmfPkg/Library/ResetSystemLib/Ia32_X64/BaseResetShutdownBhyve.c > similarity index 100% > rename from > OvmfPkg/Library/ResetSystemLib/BaseResetShutdownBhyve.c > rename to > OvmfPkg/Library/ResetSystemLib/Ia32_X64/BaseResetShutdownBhyve.c > diff --git a/OvmfPkg/Library/ResetSystemLib/DxeResetShutdown.c > b/OvmfPkg/Library/ResetSystemLib/Ia32_X64/DxeResetShutdown.c > similarity index 100% > rename from OvmfPkg/Library/ResetSystemLib/DxeResetShutdown.c > rename to > OvmfPkg/Library/ResetSystemLib/Ia32_X64/DxeResetShutdown.c > diff --git a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c > b/OvmfPkg/Library/ResetSystemLib/Ia32_X64/DxeResetSystemLibMicrovm. > c > similarity index 100% > rename from > OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c > rename to > OvmfPkg/Library/ResetSystemLib/Ia32_X64/DxeResetSystemLibMicrovm.c > diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c > b/OvmfPkg/Library/ResetSystemLib/Ia32_X64/ResetSystemLib.c > similarity index 100% > rename from OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c > rename to OvmfPkg/Library/ResetSystemLib/Ia32_X64/ResetSystemLib.c > diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c > b/OvmfPkg/Library/ResetSystemLib/Ia32_X64/ResetSystemLibMicrovm.c > similarity index 100% > rename from OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c > rename to > OvmfPkg/Library/ResetSystemLib/Ia32_X64/ResetSystemLibMicrovm.c > -- > 2.25.1 >=20 >=20 >=20 >=20 >=20