Co-authored-by: magus <mangypotatoes1@gmail.com>
// 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"
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)
//
// 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
#endif //DECLARE_DATA
-#endif // _VIRTUAL_CALL_STUB_ARM_H
+#endif // _VIRTUAL_CALL_STUB_RISCV64_H