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] coreclr-pal and coreclr-debug directories #82380

Merged
merged 10 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 0 additions & 2 deletions src/coreclr/pal/inc/unixasmmacrosriscv64.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ C_FUNC(\Name\()_End):

.macro PROLOG_STACK_ALLOC Size
addi sp, sp, -\Size
.cfi_def_cfa sp,\Size
.endm

.macro EPILOG_STACK_FREE Size
addi sp, sp, \Size
.cfi_def_cfa sp,-\Size
clamp03 marked this conversation as resolved.
Show resolved Hide resolved
.endm

.macro EPILOG_STACK_RESTORE
Expand Down
5 changes: 1 addition & 4 deletions src/coreclr/pal/src/include/pal/mutex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,9 @@ Miscellaneous
// involved. See https://github.com/dotnet/runtime/issues/10519.
// - On OSX, pthread robust mutexes were/are not available at the time of this writing. In case they are made available in the
// future, their use is disabled for compatibility.
// - On RISCV64 (with QEMU), pthread robust mutexes were/are not available at the time of this writing. In case they are made available in the
// future, their use is disabled for compatibility.
// TODO-RISCV64-CQ: Need to check on board (e.g. visionfive 2) in the future
#if HAVE_FULLY_FEATURED_PTHREAD_MUTEXES && \
HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES && \
!(defined(__FreeBSD__) || defined(TARGET_OSX) || defined(TARGET_RISCV64))
!(defined(__FreeBSD__) || defined(TARGET_OSX))

#define NAMED_MUTEX_USE_PTHREAD_MUTEX 1
#else
Expand Down