From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.15908.1683862876413827410 for ; Thu, 11 May 2023 20:41:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=OQkvj3EH; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683862876; x=1715398876; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=A2iZOA4CizDnAD7FJgu0Fr5cLjx4J3ILXb4CAMz1ZdI=; b=OQkvj3EH6VGwYf2jadaAMagX8Fc5PbIrETpJcZ1BbC0jo9TWqieGF2E5 7q083fEAWrIf86gG4AMlH04Q0sc07JuDXo0TmU6U4KMezUrVN5IhVlzJm XbGwdNbAnfI2O+fU0pXgzD+HqQStPgsCCIZ2UNzCUDmy6G7aUvhLf/zJS rrmql6dPX+CoW+IesCUZwt3IkTTvJ7nOtyVs5gYDPZy+3lQljLBob704+ iIjKmfu05CAdlwwAMcI3gbeUIvO/edhvg3Wxf0xw8VFiRADQ9wgC5RgIs 9AT67T/O1S/uLFsGSjhp+L5Im+pwXpMa8g4WmyV7w+IjIB+5bbyhKvyie A==; X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="335210521" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="335210521" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2023 20:41:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="844246920" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="844246920" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP; 11 May 2023 20:41:15 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 11 May 2023 20:41:15 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 11 May 2023 20:41:14 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Thu, 11 May 2023 20:41:14 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.40) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 11 May 2023 20:41:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OX7cjLC4XXOuGVOr6GOPJpOedKijtdIJvqCVnm7BegjM6W+r8EFiv/H0fAHNiyKd3VZLIeSZmvLlvQ19wd9WAKdf9QKp2OBzWlZWBhaOU6N+5+uAtRDYCd3p3U5+z7DPs4J1kFO8CVv9u3k46Mfzpyo/aaoEy+1itOhUx5fVkvJ6kNg3osR8M6hR53je4oMlg0KbC7z/K+NV5zjJN05THV9IgFkKjGGSX1ALTUx9o8R9MeZw+CBBxZyfwqC+f/3a4wszDlpKEu1YdHZAtF2+whKdEJrBJGcMV9HXL0YUzjietTv30HIwqnBXDO7kA5obnPUujhszkjkN/LdBcje/og== 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=fbAfeLXvcE106J2j54VmryS8puj9XX/fjLRgVbEs/PI=; b=SSyDSBr57ksj+83AwQao0B3UCkDNI9wv+zCGBdmuQn9whOYQs3FwapPBwpn1UOmB5jgnIiHXf9opXB83FmrW/50wDrOH8MSAgdc44IyJl6ImtSXJxErXyKJgQRJIsQifyKyWhDQe5L0+L+P68iKsCaSfO+OQKX8uXNY1E8hja2aBpxuGXbYIXgYb/KxRHJRNr7mjsm5KSRWMF8drhq4yh9GihOnaL5+DDDaJTkwkm01FLb1VJk1FbRjYrvRpM82xAXWLV5QgDed73KjX3cuvNP3KVdfRpxVCOpA7lKB0K3MOoifdAEwROGnmWyNHCpka5ITh+YySSiZ+RoI8bWxavg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CH3PR11MB8238.namprd11.prod.outlook.com (2603:10b6:610:155::11) by SA1PR11MB8327.namprd11.prod.outlook.com (2603:10b6:806:378::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.20; Fri, 12 May 2023 03:41:11 +0000 Received: from CH3PR11MB8238.namprd11.prod.outlook.com ([fe80::8b0d:4d52:c4d5:61f9]) by CH3PR11MB8238.namprd11.prod.outlook.com ([fe80::8b0d:4d52:c4d5:61f9%7]) with mapi id 15.20.6387.022; Fri, 12 May 2023 03:41:11 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Ni, Ray" , Abdul Lateef Attar , "Wu, Jiaxin" CC: Paul Grimes , Abner Chang , "Dong, Eric" , "Kumar, Rahul R" , Gerd Hoffmann , "Kinney, Michael D" , "Gao, Liming" , "Liu, Zhiguang" , "Ard Biesheuvel" , "Yao, Jiewen" , "Justen, Jordan L" , "Holthaus, CJ" Subject: Re: [edk2-devel] [PATCH v11 0/8] Adds AmdSmmCpuFeaturesLib and MmSaveStateLib Thread-Topic: [edk2-devel] [PATCH v11 0/8] Adds AmdSmmCpuFeaturesLib and MmSaveStateLib Thread-Index: AQHZf9BYwljLSgFxIECt6QiQHw56Lq9UnaGwgAFokbA= Date: Fri, 12 May 2023 03:41:11 +0000 Message-ID: References: <175E046BB9198A76.32438@groups.io> In-Reply-To: <175E046BB9198A76.32438@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR11MB8238:EE_|SA1PR11MB8327:EE_ x-ms-office365-filtering-correlation-id: c0c7cfbb-5c63-4bab-8aeb-08db529aba92 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dnU1A1Z+QHjhoBA5rHmiECOULh1A+X0XXPwt7spWz1bNFVkRXmURY1XHpHbSmybdkWWflxbqYGBr2+kJGWt736TalMIkqZEWiRm0v3ubh2FWmOkOZgONHAhyVsLlL7WcmgdVSTfoXR9XiYUipm2xuStOC94eBNAmbUhg+qZfVMOeWJGoR4Hh/IDXZ6ATzIXkc5WxeugjafGgEu2pou7/XZfDu3yBbPk5i33pfj/I0Sws4WY3WPek/l5JxCmhfpv02+bekxAMN3zO/O8C4bOcGGrk3n23tTb9inIj0l472b4dL47a/2Ynwtnj0Ql4P4jsQhmOd21zE7Uc0BpfBPgCDuiwdMx8Y6RsQ+kBtTL8AQCq+sUKC0ZW9r+EpFFQT1M+0+y8EeNw1sQxL6GwRseu1K+/TdImLThHGrzPnIFVu15bvCDqcwcOT1QYhzW718foeXYjZy/iv69O+DN1UIK4/jE4PQb09Xl1WhiK7e62pALn71M2V3U1O9QZWgCHitBkK8n65wwIJv8x08KhKhtIixSRu15dUU4G6LcGZiPYUUK5952THbAhfYRGYkOXvwVbvz0wGegLOkpRVIhApFgFV4HkBAEeQcWNVFOVatp8aenIAfQv7hKf3b+9fbFqwP/fVtB9LL8KIK3S+pYqAC8fbHqWod2ZbMTyE3lLpw+DqMk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR11MB8238.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(6029001)(346002)(376002)(136003)(396003)(39860400002)(366004)(451199021)(52536014)(86362001)(8676002)(8936002)(5660300002)(66899021)(33656002)(83380400001)(55016003)(478600001)(7696005)(76116006)(66946007)(966005)(110136005)(54906003)(19627235002)(107886003)(41300700001)(53546011)(316002)(9686003)(66446008)(4326008)(6636002)(66476007)(6506007)(71200400001)(66556008)(64756008)(26005)(122000001)(2906002)(186003)(38070700005)(82960400001)(38100700002)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JlHS8IrXk7nIufjvewNbBRk3754YPZqNT0xYJ77eZiG9IeSYZXMvBpH1hT0z?= =?us-ascii?Q?j9COrQk1tVMLh8fLbW8YE5UDBR5Dr+eiDKUySDOOqHEa9s9i6CeAqo8Slqwc?= =?us-ascii?Q?uTh4vX1cfJeAl3riey8iXhn0xS+OFTE9+Zfb/DMgTBHGX+dbIg/HPIxi9k0H?= =?us-ascii?Q?Qqd4UJGWYCLPcfnLKd5i3YA219TIFC2wTG60pb3LsmHLo0Njb5h9TmU0yebU?= =?us-ascii?Q?01Mw/OyYGA02gvrRaDlav5aBojr4RAYmT23LC9jJKcNnSOXsuZrK6wlaIIUL?= =?us-ascii?Q?uF4SGDUxHJlvOcahFOshcUOhkevmKcSsYgRYWG5Z1G+IIm+61xUvColC+x7M?= =?us-ascii?Q?dzIo2Nb6/rWNIhlGoF4ExL3XIjQLCs2k8llcM8zhNbBMCWyKjavr9fMfFNje?= =?us-ascii?Q?/jfmdRYn+92l1Ix/GJ+gWQTUn50QMvysgF9fGNgtsd9x/7c73LweRT2b3wNc?= =?us-ascii?Q?OhtJsx939l3J5sp0xvHUN8UTWI1WrFJlaYGxkV82/FHzy2GNPwoZgzHEVisD?= =?us-ascii?Q?UULqs9az31O/05pK4fwNMXqBBd/bf1mRn1DW5Ghb1D2EYl7/2QjthTWMMXlM?= =?us-ascii?Q?uOJyHb+ZSTH4+mElHxEhEf2FrOvXHYbmXYH3De9hYgvIBcK+76OQlH0//2Q9?= =?us-ascii?Q?jWkFew/dOZ1ZzAg7lCp01yhTVvuDkLFNvzboYf6HF/HxEgCs7lzQTauWueN4?= =?us-ascii?Q?ZrbIgnK3hKZsMi9XVf1KxhUgF1dcYF5tMb4iswN1Qmrm889GZ91lB5varvBG?= =?us-ascii?Q?yxAvg5TktjDYAdbUpfAX7qP5EEZuHyDQtcZO+17OILQjs2zf/xNRWCNAtkci?= =?us-ascii?Q?pSeHnMkBRwEweGJI3UZAxE+IcI0rzWx6rSFJFF/+zlt5pM+lvWLte55W87Ye?= =?us-ascii?Q?/df25s32w+VS59aCHSb2+T4BQQ5LCKl3JYOES3w33945bnGCgtGxKFhg05lR?= =?us-ascii?Q?aA6UTtnvxYBRNE+zLlreA4b5TwfFLuYML51w8eNjisnMnsj4IHrQDvMGHjmm?= =?us-ascii?Q?PnTtx/lP9VXyGcpsj5+96ZEV+IAd/1ztOFDGYJroRjbrjyB5LaevB5qyIedD?= =?us-ascii?Q?XUF4oheV8UY10DYxqk1Avylj9zc1S8R2vZpG4ixjo0PCFpXg1WCxO82010Df?= =?us-ascii?Q?3QgMxu8EHyKdT3hZP61/Ykmr7y26YTHBRnp4OZoLKSsHw22Eeeb7LNDvvdpP?= =?us-ascii?Q?iikfcmOMQvBZFssdLfp78p84VfWwSkE3LCX3YRi5LmxHIXPFmCDBakUi4qpg?= =?us-ascii?Q?K2nibdW8+fwS5Frw/tLZefq3INvS+g8oct1zTcug39Xqvc35Ook8Px6sXZ/h?= =?us-ascii?Q?lM6Xt1HM+LMJWcO1NRjzDsPeA8e/VfUF18+thMQQZOPVDmZlTqI/AD+rKUq8?= =?us-ascii?Q?2fAVRNLOTf+ltj+5el2DBx6kVMqPqaFi5bxTUjK7FvpE7TFoK3XLxNYzDMyn?= =?us-ascii?Q?OYX+oG5Wcja/KN+g0RXSyIlCvD/qnQwbFGvTELJRi5BPHj6LnxUw3OqFnnhs?= =?us-ascii?Q?bjDKoHgtmZj/P0iwoTjdf2I9yg5bAJmyG+yHhcr2wkk34i8LLWraicFZmDzh?= =?us-ascii?Q?w3U4w/vfBbKHH/W0h4U=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR11MB8238.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0c7cfbb-5c63-4bab-8aeb-08db529aba92 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2023 03:41:11.1351 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: l32+hfy4JvfpmfETxrEHM3JPyBFw1YgDAp8f7JYEyPDBqJs4sOpYB/F/8B5S8aus7ADw+Lrb5JiY19/Ku+QEpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8327 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Abdul, I checked your V12 patch. It seems none of comments I have for your V11 are= not addressed. (check my inline reply below) Can we get aligned firstly then you send out next version patches? This could also save my time on downloading your changes and reviewing them= one by one. Thanks, Ray=20 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Ni, Ray > Sent: Thursday, May 11, 2023 2:56 PM > To: Abdul Lateef Attar ; devel@edk2.groups.io; Wu, Jiax= in > > Cc: Paul Grimes ; Abner Chang > ; Dong, Eric ; Kumar, Rahul R > ; Gerd Hoffmann ; Kinney, > Michael D ; Gao, Liming > ; Liu, Zhiguang ; Ard > Biesheuvel ; Yao, Jiewen ; > Justen, Jordan L ; Holthaus, CJ > > Subject: Re: [edk2-devel] [PATCH v11 0/8] Adds AmdSmmCpuFeaturesLib and > MmSaveStateLib >=20 > > UefiCpuPkg: Adds MmSaveStateLib library class > You can take "Reviewed-by: Ray Ni " for this patch. >=20 > > UefiCpuPkg/SmmCpuFeaturesLib: Restructure arch-dependent code > You can take "Reviewed-by: Ray Ni " for this patch. >=20 > > UefiCpuPkg: Implements SmmCpuFeaturesLib for AMD Family > One comment: can you please change the BASE_NAME in lib INF to > "AmdSmmCpuFeaturesLib"? > The BASE_NAME guides tool to generate the .Lib file in the disk. > Choosing different BASE_NAME for Intel and AMD lib instance can avoid one= LIB > file is replaced by the other during pkg build. >=20 > > UefiCpuPkg: Implements MmSaveStateLib for Intel > 1. MmSaveStateLib local functions should not have "EFIAPI". Please only a= dd > "EFIAPI" for lib APIs. 1. not addressed in V12. > 2. MmSaveStateGetRegisterLma() doesn't need to carry "CpuIndex" as > parameter. Can you please remove the parameter? 2. not addressed in V12. > 3. MmSaveStateGetRegisterIndex () returns wrong value for Intel processor= s > because it uses Offset ( =3D 2) but Intel implementation uses Offset ( = =3D 4). >=20 > (I remember comments #1, #3 were both raised last time when I reviewed th= e > patch.) 3. not addressed in V12. >=20 > > UefiCpuPkg: Removes SmmCpuFeaturesReadSaveStateRegister > You can take "Reviewed-by: Ray Ni " for this patch. >=20 >=20 > One more comment: > Can you please avoid FILE_GUID overridden in UefiCpuPkg.dsc for Intel ins= tance > of SmmCpu driver? > AMD instance can override the FILE_GUID for sure. 4. not addressed in V12. >=20 > @Wu, Jiaxin, we will need to change the close-source SmmCpuFeatureLib > accordingly (separating the SaveState access code into a different lib) w= hen this > patch series are merged. >=20 > > -----Original Message----- > > From: Abdul Lateef Attar > > Sent: Saturday, May 6, 2023 12:07 PM > > To: devel@edk2.groups.io > > Cc: Abdul Lateef Attar ; Paul Grimes > > ; Abner Chang ; Dong, Eric > > ; Ni, Ray ; Kumar, Rahul R > > ; Gerd Hoffmann ; Kinney, > > Michael D ; Gao, Liming > > ; Liu, Zhiguang ; Ard > > Biesheuvel ; Yao, Jiewen > ; > > Justen, Jordan L > > Subject: [PATCH v11 0/8] Adds AmdSmmCpuFeaturesLib and MmSaveStateLib > > > > PR: https://github.com/tianocore/edk2/pull/4341 > > > > V11: Delta changes > > Drop the OVMF implementation of MmSaveStateLib > > V10: Delta changes: > > Addressed review comments from Abner. > > V9: Delta changes: > > Addressed review comments. > > Rename to MmSaveStateLib. > > Also rename SMM_ defines to MM_. > > Implemented OVMF MmSaveStateLib. > > Removes SmmCpuFeaturesReadSaveStateRegister and > > SmmCpuFeaturesWriteSaveStateRegister > > function interface. > > V8 delta changes: > > Addressed review comments from Abner, > > Fix the whitespace error. > > Seperate the Ovmf changes to another patch > > V7 delta changes: > > Adds SmmSmramSaveStateLib for Intel processor. > > Integrate SmmSmramSaveStateLib library. > > V6 delta changes: > > Addressed review comments for Ray NI. > > removed unnecessary EFIAPI. > > V5 delta changes: > > rebase to master branch. > > updated Reviewed-by > > V4 delta changes: > > rebase to master branch. > > added reviewed-by. > > V3 delta changes: > > Addressed review comments from Abner chang. > > Re-arranged patch order. > > > > Cc: Paul Grimes > > Cc: Abner Chang > > Cc: Eric Dong > > Cc: Ray Ni > > Cc: Rahul Kumar > > Cc: Gerd Hoffmann > > Cc: Michael D Kinney > > Cc: Liming Gao > > Cc: Zhiguang Liu > > Cc: Ard Biesheuvel > > Cc: Jiewen Yao > > Cc: Jordan Justen > > Cc: Abdul Lateef Attar > > > > Abdul Lateef Attar (8): > > MdePkg: Adds AMD SMRAM save state map > > UefiCpuPkg: Adds MmSaveStateLib library class > > UefiCpuPkg: Implements MmSaveStateLib library instance > > UefiCpuPkg/SmmCpuFeaturesLib: Restructure arch-dependent code > > UefiCpuPkg: Implements SmmCpuFeaturesLib for AMD Family > > UefiCpuPkg: Implements MmSaveStateLib for Intel > > UefiCpuPkg: Removes SmmCpuFeaturesReadSaveStateRegister > > OvmfPkg: Uses MmSaveStateLib library > > > > UefiCpuPkg/UefiCpuPkg.dec | 4 + > > OvmfPkg/OvmfPkgIa32.dsc | 1 + > > OvmfPkg/OvmfPkgIa32X64.dsc | 3 + > > OvmfPkg/OvmfPkgX64.dsc | 1 + > > UefiCpuPkg/UefiCpuPkg.dsc | 14 + > > .../MmSaveStateLib/AmdMmSaveStateLib.inf | 28 + > > .../MmSaveStateLib/IntelMmSaveStateLib.inf | 28 + > > .../AmdSmmCpuFeaturesLib.inf | 38 + > > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 2 + > > .../Include/Register/Amd/SmramSaveStateMap.h | 194 +++++ > > UefiCpuPkg/Include/Library/MmSaveStateLib.h | 70 ++ > > .../Include/Library/SmmCpuFeaturesLib.h | 52 -- > > .../Library/MmSaveStateLib/MmSaveState.h | 102 +++ > > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 56 +- > > .../SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 767 ------------------ > > .../Library/MmSaveStateLib/AmdMmSaveState.c | 309 +++++++ > > .../Library/MmSaveStateLib/IntelMmSaveState.c | 413 ++++++++++ > > .../MmSaveStateLib/MmSaveStateCommon.c | 138 ++++ > > .../SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.c | 387 +++++++++ > > .../IntelSmmCpuFeaturesLib.c | 70 ++ > > .../SmmCpuFeaturesLibCommon.c | 128 --- > > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 11 +- > > UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c | 500 +----------- > > MdePkg/MdePkg.ci.yaml | 4 +- > > 24 files changed, 1812 insertions(+), 1508 deletions(-) > > create mode 100644 > > UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveStateLib.inf > > create mode 100644 > > UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveStateLib.inf > > create mode 100644 > > UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.inf > > create mode 100644 MdePkg/Include/Register/Amd/SmramSaveStateMap.h > > create mode 100644 UefiCpuPkg/Include/Library/MmSaveStateLib.h > > create mode 100644 UefiCpuPkg/Library/MmSaveStateLib/MmSaveState.h > > create mode 100644 > UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveState.c > > create mode 100644 > UefiCpuPkg/Library/MmSaveStateLib/IntelMmSaveState.c > > create mode 100644 > > UefiCpuPkg/Library/MmSaveStateLib/MmSaveStateCommon.c > > create mode 100644 > > UefiCpuPkg/Library/SmmCpuFeaturesLib/AmdSmmCpuFeaturesLib.c > > > > -- > > 2.25.1 >=20 >=20 >=20 >=20 >=20