Skip to content

Commit cb5e8b2

Browse files
committed
Temporarily no-op sys.nanosleep
1 parent 4427116 commit cb5e8b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

rvgo/test/syscall_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func TestStateSyscallUnsupported(t *testing.T) {
7777
syscalls := []int{
7878
riscv.SysPrlimit64,
7979
riscv.SysFutex,
80-
riscv.SysNanosleep,
80+
//riscv.SysNanosleep,
8181
}
8282

8383
for _, syscall := range syscalls {

rvsol/src/RISCV.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,10 +1129,10 @@ contract RISCV is IBigStepper {
11291129
// futex - not supported, for now
11301130
revertWithCode(0xf001ca11) // unsupported system call
11311131
}
1132-
case 101 {
1133-
// nanosleep - not supported, for now
1134-
revertWithCode(0xf001ca11) // unsupported system call
1135-
}
1132+
// case 101 {
1133+
// // nanosleep - not supported, for now
1134+
// revertWithCode(0xf001ca11) // unsupported system call
1135+
// }
11361136
default {
11371137
// Ignore(no-op) unsupported system calls
11381138
setRegister(toU64(10), toU64(0))

0 commit comments

Comments
 (0)