From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 716FA81D65 for ; Thu, 3 Nov 2016 19:19:26 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 03 Nov 2016 19:19:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,589,1473145200"; d="scan'208";a="187445719" Received: from jfan12-desk.ccr.corp.intel.com ([10.239.9.5]) by fmsmga004.fm.intel.com with ESMTP; 03 Nov 2016 19:19:29 -0700 From: Jeff Fan To: edk2-devel@lists.01.org Date: Fri, 4 Nov 2016 10:18:59 +0800 Message-Id: <20161104021902.17364-1-jeff.fan@intel.com> X-Mailer: git-send-email 2.9.3.windows.2 Subject: [PATCH 0/3] Display new stack base and size 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: Fri, 04 Nov 2016 02:19:26 -0000 Dump new stack base and size could help developer to fix stack crash issue. Normally, stack is changed by EnablePaging64()/DisablePaging64()/SwitchStack(). But these APIs have no knowledge of stack size. It's better to let caller display the stack base and size informations. Some modules alreadys displayed stack information. This serial of patches are to fix those modules missing it. We also fixed one bug in DxeIplPeim, local BaseOfStack is overwritten wrongly. https://bugzilla.tianocore.org/show_bug.cgi?id=186 Jeff Fan (3): MdeModulePkg: Display new stack base and size UefiCpuPkg: Display new stack base and size MdeModulePkg/DxeIplPeim: UINTN used wrongly for EFI_PHYSICAL_ADDRESS MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c | 19 ++++++++++++++++++- MdeModulePkg/Universal/CapsulePei/UefiCapsule.c | 8 ++++++++ MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c | 8 ++++++++ UefiCpuPkg/SecCore/SecMain.c | 10 +++++++++- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 7 +++++++ 5 files changed, 50 insertions(+), 2 deletions(-) -- 2.9.3.windows.2