audk/MdePkg/Library/BaseLib/RiscV64
Andrei Warkentin ea628f28e5 RISCV: Fix InternalLongJump to return correct value
InternalLongJump was not returning the 2nd parameter passed
to LongJmp (Value) as the return value from SetJmp.

Seen with code compiled with -Os, where an LongJmp (Buffer, -1)
somehow translated to SetJmp returning 0...

Cc: Yong Li <yong.li@intel.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Tuan Phan <tphan@ventanamicro.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
2023-09-21 04:57:57 +00:00
..
CpuBreakpoint.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuPause.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuScratch.S MdePkg/BaseLib: RISC-V: Add few more helper functions 2023-02-16 05:53:28 +00:00
DisableInterrupts.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EnableInterrupts.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FlushCache.S MdePkg/BaseLib: BaseLib for RISCV64 architecture 2020-05-07 03:17:15 +00:00
GetInterruptState.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
InternalSwitchStack.c MdePkg: BaseLib: don't log in RISCV InternalSwitchStack 2023-03-08 18:10:34 +00:00
MemoryFence.S MdePkg/BaseLib: Add MemoryFence implementation for RiscV64 2021-07-21 12:34:13 +00:00
ReadTimer.S MdePkg/BaseLib: RISC-V: Add few more helper functions 2023-02-16 05:53:28 +00:00
RiscVCpuBreakpoint.S MdePkg/BaseLib: BaseLib for RISCV64 architecture 2020-05-07 03:17:15 +00:00
RiscVCpuPause.S MdePkg/BaseLib: BaseLib for RISCV64 architecture 2020-05-07 03:17:15 +00:00
RiscVInterrupt.S MdePkg/BaseLib: RISC-V: Add few more helper functions 2023-02-16 05:53:28 +00:00
RiscVMmu.S MdePkg/BaseLib: RISC-V: Support getting satp register value 2023-07-15 14:10:18 +00:00
RiscVSetJumpLongJump.S RISCV: Fix InternalLongJump to return correct value 2023-09-21 04:57:57 +00:00
SpeculationBarrier.S MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64 2023-06-06 20:37:18 +00:00