From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.10773.1651936398895504408 for ; Sat, 07 May 2022 08:13:20 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=cpDBVOsg; spf=pass (domain: intel.com, ip: 134.134.136.24, 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=1651936398; x=1683472398; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=krc7mDiOfgwdqS6QaVPr2B/tMmkGGpOGAPGXyqq/ZN4=; b=cpDBVOsgAQvyaxIc0PI8raN+klodi+Zb+NabrpkSD6FHtijhMcmyR7HW a2bFNAxdEQ3Qj74xlCWnCv2dKlTFFsPO2hT3HgZCYgqwwhO44qRkBqGFv ZWrl1OLnPFglnWZ+1+J8pLc7NljiB52F4lopfI1HDb0yEBwCnqflgK5iO L45IgKZ11UpwnXcm+qfu7IyEWk8CA9DNuHbvQ1b/YWKgovypplhQWZs6H dyAkKaNplkJHwrjAXPWPJMpwMaVNjOriqSBo4ISbXqRBgbb8OX4y90vxn Hsq2BcgpiJKcWCcdQ6wfQNKbQTd/Jek3+brwr1cQ/8IwdhzyDCsjeVyBI Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10340"; a="268345238" X-IronPort-AV: E=Sophos;i="5.91,207,1647327600"; d="scan'208";a="268345238" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2022 08:13:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,207,1647327600"; d="scan'208";a="601004349" Received: from shwdeopenlab706.ccr.corp.intel.com ([10.239.183.102]) by orsmga001.jf.intel.com with ESMTP; 07 May 2022 08:13:17 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Subject: [PATCH 0/4] Refactor MpInitLib Date: Sat, 7 May 2022 23:13:09 +0800 Message-Id: <20220507151313.115-1-ray.ni@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Ray Ni (4): MpInitLib: Allocate code buffer for PEI phase MpInitLib: remove unneeded global ASM_PFX MpInitLib: Put SEV logic in separate file MpInitLib: Only allocate below 1MB memory for 16bit code UefiCpuPkg/Library/MpInitLib/AmdSev.c | 6 +- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +- .../Library/MpInitLib/Ia32/MpFuncs.nasm | 11 +- UefiCpuPkg/Library/MpInitLib/MpEqu.inc | 2 +- UefiCpuPkg/Library/MpInitLib/MpLib.c | 99 +++++------ UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 +- UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 15 +- UefiCpuPkg/Library/MpInitLib/X64/AmdSev.nasm | 148 ++++++++++++++++ UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 167 +----------------- 9 files changed, 216 insertions(+), 236 deletions(-) -- 2.32.0.windows.1