Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: ea628f28e59849ee7b91e6660c0ecd1a5c6e0884
https://github.com/tianocore/edk2/commit/ea628f28e59849ee7b91e6660c0ecd1a5c6e0884
Author: Andrei Warkentin <[email protected]>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M MdePkg/Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S
Log Message:
-----------
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 <[email protected]>
Cc: Sunil V L <[email protected]>
Cc: Tuan Phan <[email protected]>
Cc: Daniel Schaefer <[email protected]>
Signed-off-by: Andrei Warkentin <[email protected]>
Reviewed-by: Sunil V L <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits