Skip to content

Commit 1df432b

Browse files
minxuanzmagus
andauthored
[RISCV] Replace arm64 with riscv64 (#96889)
Co-authored-by: magus <[email protected]>
1 parent dfbda9a commit 1df432b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/coreclr/vm/riscv64/stubs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// File: stubs.cpp
55
//
66
// This file contains stub functions for unimplemented features need to
7-
// run on the ARM64 platform.
7+
// run on the RISCV64 platform.
88

99
#include "common.h"
1010
#include "dllimportcallback.h"
@@ -985,7 +985,7 @@ LONG CLRNoCatchHandler(EXCEPTION_POINTERS* pExceptionInfo, PVOID pv)
985985

986986
void FlushWriteBarrierInstructionCache()
987987
{
988-
// this wouldn't be called in arm64, just to comply with gchelpers.h
988+
// this wouldn't be called in riscv64, just to comply with gchelpers.h
989989
}
990990

991991
int StompWriteBarrierEphemeral(bool isRuntimeSuspended)

src/coreclr/vm/riscv64/virtualcallstubcpu.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//
44
// VirtualCallStubCpu.hpp
55
//
6-
#ifndef _VIRTUAL_CALL_STUB_ARM_H
7-
#define _VIRTUAL_CALL_STUB_ARM_H
6+
#ifndef _VIRTUAL_CALL_STUB_RISCV64_H
7+
#define _VIRTUAL_CALL_STUB_RISCV64_H
88

99
#define DISPATCH_STUB_FIRST_DWORD 0x00000e97
1010
#define RESOLVE_STUB_FIRST_DWORD 0x00053e03
@@ -513,4 +513,4 @@ void VTableCallHolder::Initialize(unsigned slot)
513513

514514
#endif //DECLARE_DATA
515515

516-
#endif // _VIRTUAL_CALL_STUB_ARM_H
516+
#endif // _VIRTUAL_CALL_STUB_RISCV64_H

0 commit comments

Comments
 (0)