From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.32065.1688959036830470108 for ; Sun, 09 Jul 2023 20:17:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=ZNl8EbZ8; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: zhiguang.liu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688959036; x=1720495036; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=M40XUzmuV/UfFjsdo5Llb4u+LSbs6tcD0K/ivO9dpU0=; b=ZNl8EbZ8VtZC+93mhDvsh0zUGvIVb3FeBSx+LfOVweBE3vP/d/adJJ4I k24ru6dOgclf62jJzKA5FaxKNfmdSjba8s67DSPcHxrFtU/2ZAMjVUG/Q H4Y1O2o9qtdvPlMK/lIQaYHzsctfUWW1Bd/yOQRnSye2nrXQrtwC2Mcum GaqwWGOPcQ72mDoxbZBUiwciU1++2iyOhH+8XMsAvWpc8IZNcLpY5EcED QYTSz3eaeGiyo/Eu+R6iZGIWTd39riD6s8Qsk3zOEHUbSHfQQsUujQQtC SnQ80uSLgwy44r+ZNlu1qZDrZfTiZoL470bX4iu1BPQigIiO/HGSNpoiC A==; X-IronPort-AV: E=McAfee;i="6600,9927,10766"; a="430319052" X-IronPort-AV: E=Sophos;i="6.01,193,1684825200"; d="scan'208";a="430319052" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2023 20:17:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10766"; a="834113152" X-IronPort-AV: E=Sophos;i="6.01,193,1684825200"; d="scan'208";a="834113152" Received: from shwdesfp01.ccr.corp.intel.com ([10.239.158.151]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2023 20:17:14 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Zhiguang Liu Subject: [PATCH 0/4] Remove AP waking vector in Reset Vector Date: Mon, 10 Jul 2023 11:17:02 +0800 Message-Id: <20230710031706.1329-1-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4494 Today for SEC core(not VTF-0), GenFv finds free 4K aligned space in FV for AP waking vector and JMP to 4G-30h in the waking vector. There is no usage of this today. Remove the logic to avoid confusing and save spaces in reset vector. Zhiguang Liu (4): BaseTools: Remove logic to create AP waking vector in GenFv UefiCpuPkg/SecCore: Remove AP waking Vector logic in SecCore OvmfPkg: Remove applicationProcessorEntryPoint UefiCpuPk/ResetVector: Remove AP waking vector from ResetVector BaseTools/Source/C/GenFv/GenFvInternalLib.c | 199 ------------------ OvmfPkg/ResetVector/Ia16/ResetVectorVtf0.asm | 15 +- .../XenResetVector/Ia16/ResetVectorVtf0.asm | 16 +- UefiCpuPkg/ResetVector/Vtf0/Ia16/Init16.asm | 7 - .../ResetVector/Vtf0/Ia16/ResetVectorVtf0.asm | 15 +- UefiCpuPkg/SecCore/Ia32/ResetVec.nasmb | 36 +--- 6 files changed, 12 insertions(+), 276 deletions(-) -- 2.31.1.windows.1