mirror of https://github.com/acidanthera/audk.git
MdePkg: BaseLib: don't log in RISCV InternalSwitchStack
InternalSwitchStack may be called with a TPL high enough for a DebugLib implementation to assert. Other arch implementations don't log either. Cc: Daniel Schaefer <git@danielschaefer.me> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com> Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
This commit is contained in:
parent
dc5880d02f
commit
5bd2e5dfe6
|
@ -44,14 +44,6 @@ InternalSwitchStack (
|
|||
{
|
||||
BASE_LIBRARY_JUMP_BUFFER JumpBuffer;
|
||||
|
||||
DEBUG ((
|
||||
DEBUG_INFO,
|
||||
"RISC-V InternalSwitchStack Entry:%x Context1:%x Context2:%x NewStack%x\n", \
|
||||
EntryPoint,
|
||||
Context1,
|
||||
Context2,
|
||||
NewStack
|
||||
));
|
||||
JumpBuffer.RA = (UINTN)EntryPoint;
|
||||
JumpBuffer.SP = (UINTN)NewStack - sizeof (VOID *);
|
||||
JumpBuffer.S0 = (UINT64)(UINTN)Context1;
|
||||
|
|
Loading…
Reference in New Issue