X-Git-Url: https://git.libre-soc.org/?p=riscv-tests.git;a=blobdiff_plain;f=benchmarks%2Fcommon%2Fsyscalls.c;h=3c08bc2f9a59089b46db462e592faf33b404bedd;hp=4c494f1b253807ee2fe36a0dcce9661d2aed3126;hb=e9c88267da591b8b60d3b2e7bd790b6a01ab6ec5;hpb=bcf83a88846468dcb294e2646270f433d967cf26 diff --git a/benchmarks/common/syscalls.c b/benchmarks/common/syscalls.c index 4c494f1..3c08bc2 100644 --- a/benchmarks/common/syscalls.c +++ b/benchmarks/common/syscalls.c @@ -60,7 +60,7 @@ static int handle_stats(int enable) return 0; } -static void tohost_exit(int code) +void tohost_exit(long code) { write_csr(tohost, (code << 1) | 1); while (1);