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

2024-01-14 Thread WangYang
y, Michael D" , > "Liu, Zhiguang" > 主题: Re: [edk2-devel] [PATCH v2] MdePkg/BaseLib:Fix boot DxeCore hang on riscv > platform > > On Fri, Jan 05, 2024 at 03:47:07PM +, Andrei Warkentin wrote: > > Looks reasonable to me. > > > > Reviewed-by: And

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

2024-01-11 Thread Sunil V L
On Fri, Jan 05, 2024 at 03:47:07PM +, Andrei Warkentin wrote: > Looks reasonable to me. > > Reviewed-by: Andrei Warkentin > > > -Original Message- > > From: Yang Wang > > Sent: Wednesday, December 27, 2023 8:57 PM > > To: Warkentin, Andrei ; devel@edk2.groups.io > > Cc: Yang Wang ;

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

2024-01-05 Thread Andrei Warkentin
Looks reasonable to me. Reviewed-by: Andrei Warkentin > -Original Message- > From: Yang Wang > Sent: Wednesday, December 27, 2023 8:57 PM > To: Warkentin, Andrei ; devel@edk2.groups.io > Cc: Yang Wang ; Ran Wang ; > Bamvor Jian ZHANG ; Gao, Liming > ; Kinney, Michael D > ; Sunil V L ;

[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