Skip to content

Commit

Permalink
[RISCV] Replace arm64 with riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
magus committed Jan 12, 2024
1 parent 22ba7d6 commit 9fd1d3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/vm/riscv64/stubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions src/coreclr/vm/riscv64/virtualcallstubcpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -513,4 +513,4 @@ void VTableCallHolder::Initialize(unsigned slot)

#endif //DECLARE_DATA

#endif // _VIRTUAL_CALL_STUB_ARM_H
#endif // _VIRTUAL_CALL_STUB_RISCV64_H

0 comments on commit 9fd1d3a

Please sign in to comment.