audk/MdePkg/Library/BaseLib/RiscV64
Yong Li ded0b489af MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64
Implement the SpeculationBarrier with implementations consisting of
fence instruction which provides finer-grain memory orderings.
Perform Data Barrier in RiscV: fence rw,rw
Perform Instruction Barrier in RiscV: fence.i; fence r,r
More detail is in Appendix A: RVWMO Explanatory Material in
https://github.com/riscv/riscv-isa-manual

This API is first introduced in the below commits for IA32 and x64
d9f1cac51b
e83d841fdc
and below the commit for ARM and AArch64 implementation
c0959b4426

This commit is to add the RiscV64 implementation which will be used by
variable service under Variable/RuntimeDxe

Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Cc: Evan Chai <evan.chai@intel.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Tuan Phan <tphan@ventanamicro.com>
Signed-off-by: Yong Li <yong.li@intel.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
2023-06-06 20:37:18 +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
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
RiscVCpuPause.S
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: Add few more helper functions 2023-02-16 05:53:28 +00:00
RiscVSetJumpLongJump.S
SpeculationBarrier.S MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64 2023-06-06 20:37:18 +00:00