[edk2-devel] [PATCH v2] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform

2023-12-27 Thread
For scene of HandOffToDxeCore()->SwitchStack(DxeCoreEntryPoint)-> InternalSwitchStack()->LongJump(),Variable HobList.Raw will be passed (from *Context1 to register a0) to DxeMain() in parameter *HobStart. However, meanwhile the function LongJump() overrides register a0 with a1 (-1) due to commit

Re: [edk2-devel] [PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform

2023-12-27 Thread
ndrei.warken...@intel.com, wang...@bosc.ac.cn > 主题: Re: [edk2-devel] [PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv > platform > > On Tue, Dec 26, 2023 at 2:14 PM 王洋 wrote: > > > > From f15d405067860a8087c5eb4080bc3e08ca5e0e21 Mon Sep 17 00:00:00 2001 > > From: wa

Re: [edk2-devel] [Resend PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform

2023-12-27 Thread
Hi Andrei Warkentin: Thank you very much for your attention! > -原始邮件- > 发件人: "Andrei Warkentin" > 发送时间: 2023-12-27 05:12:07 (星期三) > 收件人: 王洋 , "devel@edk2.groups.io" , > "suni...@ventanamicro.com" , "Gao, Liming" > ,

[edk2-devel] [PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform

2023-12-26 Thread
From f15d405067860a8087c5eb4080bc3e08ca5e0e21 Mon Sep 17 00:00:00 2001 From: wangyang Date: Wed, 20 Dec 2023 20:27:42 +0800 Subject: [PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform For scene of HandOffToDxeCore()->SwitchStack(DxeCoreEntryPoint)->

[edk2-devel] [Resend PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform

2023-12-26 Thread
From f15d405067860a8087c5eb4080bc3e08ca5e0e21 Mon Sep 17 00:00:00 2001 From: wangyang Date: Wed, 20 Dec 2023 20:27:42 +0800 Subject: [PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform For scene of HandOffToDxeCore()->SwitchStack(DxeCoreEntryPoint)->

[edk2-devel] [Resend][PATCH] MdePkg/BaseLib:Fix boot DxeCore hang on riscv platform

2023-12-26 Thread
For scene of HandOffToDxeCore()->SwitchStack(DxeCoreEntryPoint)-> InternalSwitchStack()->LongJump(),Variable HobList.Raw will be passed (from *Context1 to register a0) to DxeMain() in parameter *HobStart. However, meanwhile the function LongJump() overrides register a0 with a1 (-1) due to commit