From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 921A181EB2 for ; Wed, 23 Nov 2016 06:01:43 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 23 Nov 2016 06:01:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,538,1473145200"; d="scan'208";a="904743581" Received: from jfan12-desk.ccr.corp.intel.com ([10.239.9.5]) by orsmga003.jf.intel.com with ESMTP; 23 Nov 2016 06:01:41 -0800 From: Jeff Fan To: edk2-devel@lists.01.org Cc: Laszlo Ersek , Feng Tian , Michael D Kinney Date: Wed, 23 Nov 2016 22:01:35 +0800 Message-Id: <20161123140138.15976-1-jeff.fan@intel.com> X-Mailer: git-send-email 2.9.3.windows.2 Subject: [PATCH 0/3] UefiCpuPkg/DxeMpLib: Allocate new safe stack < 4GB X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 14:01:43 -0000 Allocate safe AP stack under 4GB and make sure BSP wait till all APs running in safe code. Cc: Laszlo Ersek Cc: Feng Tian Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Jeff Fan (3): UefiCpuPkg/DxeMpLib: Get safe AP loop handler from global variable UefiCpuPkg/DxeMpLib: Allocate new safe stack < 4GB UefiCpuPkg/DxeMpLib: Make sure APs in safe loop code UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 29 ++++++++++++++++++++++---- UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm | 11 ++++++++-- UefiCpuPkg/Library/MpInitLib/MpLib.h | 4 +++- UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 5 +++++ 4 files changed, 42 insertions(+), 7 deletions(-) -- 2.9.3.windows.2