[RISCV] Replace arm64 with riscv64 (#96889)
authormonstercat <45393763+monstercatss@users.noreply.github.com>
Fri, 12 Jan 2024 13:36:43 +0000 (21:36 +0800)
committerGleb Balykov/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics <g.balykov@samsung.com>
Thu, 22 Feb 2024 11:52:55 +0000 (14:52 +0300)
Co-authored-by: magus <mangypotatoes1@gmail.com>
src/coreclr/vm/riscv64/stubs.cpp
src/coreclr/vm/riscv64/virtualcallstubcpu.hpp

index af42aa8..42c0230 100644 (file)
@@ -4,7 +4,7 @@
 // File: stubs.cpp
 //
 // This file contains stub functions for unimplemented features need to
-// run on the ARM64 platform.
+// run on the RISCV64 platform.
 
 #include "common.h"
 #include "dllimportcallback.h"
@@ -985,7 +985,7 @@ LONG CLRNoCatchHandler(EXCEPTION_POINTERS* pExceptionInfo, PVOID pv)
 
 void FlushWriteBarrierInstructionCache()
 {
-    // this wouldn't be called in arm64, just to comply with gchelpers.h
+    // this wouldn't be called in riscv64, just to comply with gchelpers.h
 }
 
 int StompWriteBarrierEphemeral(bool isRuntimeSuspended)
index 665f9fa..0491dd8 100644 (file)
@@ -3,8 +3,8 @@
 //
 // VirtualCallStubCpu.hpp
 //
-#ifndef _VIRTUAL_CALL_STUB_ARM_H
-#define _VIRTUAL_CALL_STUB_ARM_H
+#ifndef _VIRTUAL_CALL_STUB_RISCV64_H
+#define _VIRTUAL_CALL_STUB_RISCV64_H
 
 #define DISPATCH_STUB_FIRST_DWORD 0x00000e97
 #define RESOLVE_STUB_FIRST_DWORD 0x00053e03
@@ -513,4 +513,4 @@ void VTableCallHolder::Initialize(unsigned slot)
 
 #endif //DECLARE_DATA
 
-#endif // _VIRTUAL_CALL_STUB_ARM_H
+#endif // _VIRTUAL_CALL_STUB_RISCV64_H