summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorDhaval Sharma <dhaval@rivosinc.com>2023-12-13 20:29:27 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-12-19 12:48:14 +0000
commit286b30f517ef35ae2764f13f077f0f120372a286 (patch)
tree5a57ffbc9fe0718717aa64aea5682d14af3b359d /MdePkg/Library
parent3c66390e4a514dcce4c8cc82f489d653d55ee3fa (diff)
downloadedk2-286b30f517ef35ae2764f13f077f0f120372a286.zip
edk2-286b30f517ef35ae2764f13f077f0f120372a286.tar.gz
edk2-286b30f517ef35ae2764f13f077f0f120372a286.tar.bz2
MdePkg: Move RISC-V Cache Management Declarations Into BaseLib
The declarations for cache Management functions belong to BaseLib instead of instance source file. This helps with further restructuring of cache management code for RISC-V. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> 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/Library')
-rw-r--r--MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c b/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c
index d08fb9f..d5efcf4 100644
--- a/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c
+++ b/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c
@@ -11,26 +11,6 @@
#include <Library/DebugLib.h>
/**
- RISC-V invalidate instruction cache.
-
-**/
-VOID
-EFIAPI
-RiscVInvalidateInstCacheAsm (
- VOID
- );
-
-/**
- RISC-V invalidate data cache.
-
-**/
-VOID
-EFIAPI
-RiscVInvalidateDataCacheAsm (
- VOID
- );
-
-/**
Invalidates the entire instruction cache in cache coherency domain of the
calling CPU.