Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RISC-V] Replace arm64 with riscv64 #96889

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading