diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2014-12-15 18:10:13 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2014-12-15 18:10:13 -0800 |
commit | 4fbf574543fe76c2ca75c9a524782449d8ff135a (patch) | |
tree | 9139fb896df40072434b87b8382d3f7d56666253 /benchmarks/common | |
parent | 74c924f975b966f4c7b67bae135548dc837ae299 (diff) | |
download | riscv-tests-4fbf574543fe76c2ca75c9a524782449d8ff135a.zip riscv-tests-4fbf574543fe76c2ca75c9a524782449d8ff135a.tar.gz riscv-tests-4fbf574543fe76c2ca75c9a524782449d8ff135a.tar.bz2 |
Remove dependence on machine/syscall.h
Diffstat (limited to 'benchmarks/common')
-rw-r--r-- | benchmarks/common/syscalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/common/syscalls.c b/benchmarks/common/syscalls.c index 1e4efab..c8688eb 100644 --- a/benchmarks/common/syscalls.c +++ b/benchmarks/common/syscalls.c @@ -3,9 +3,10 @@ #include <stdarg.h> #include <stdio.h> #include <limits.h> -#include <machine/syscall.h> #include "util.h" +#define SYS_write 64 +#define SYS_exit 93 #define SYS_stats 1234 // initialized in crt.S |