diff options
author | Dhaval <dhaval@rivosinc.com> | 2023-12-13 20:29:28 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-19 12:48:14 +0000 |
commit | 30faafd0247af0a6534caf2a6ac3231fa8e63d86 (patch) | |
tree | 02c7e7818dc32e1cb51c47d089f5e11068f20e8d /MdePkg/Include/Library/BaseLib.h | |
parent | 286b30f517ef35ae2764f13f077f0f120372a286 (diff) | |
download | edk2-30faafd0247af0a6534caf2a6ac3231fa8e63d86.tar.gz edk2-30faafd0247af0a6534caf2a6ac3231fa8e63d86.tar.bz2 edk2-30faafd0247af0a6534caf2a6ac3231fa8e63d86.zip |
MdePkg: Rename Cache Management Function To Clarify Fence Based Op
There are different ways to manage cache on RISC-V Processors.
One way is to use fence instruction. Another way is to use CPU
specific cache management operation instructions ratified as
per RISC-V ISA specifications to be introduced in future
patches. Current method is fence instruction based, rename the
function accordingly to add that clarity.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdePkg/Include/Library/BaseLib.h')
-rw-r--r-- | MdePkg/Include/Library/BaseLib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index 2c69c5f528..c5e7f6dff0 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -212,7 +212,7 @@ RiscVClearPendingTimerInterrupt ( **/
VOID
EFIAPI
-RiscVInvalidateInstCacheAsm (
+RiscVInvalidateInstCacheFenceAsm (
VOID
);
@@ -222,7 +222,7 @@ RiscVInvalidateInstCacheAsm ( **/
VOID
EFIAPI
-RiscVInvalidateDataCacheAsm (
+RiscVInvalidateDataCacheFenceAsm (
VOID
);
|