Keep tohost/fromhost at deterministic address
[riscv-tests.git] / benchmarks / common / syscalls.c
index 9c72e3681fd41261596ab9c105de47a5fdc76372..0a43878410bb804556850e6e16490c5c35061129 100644 (file)
@@ -14,8 +14,8 @@
 // initialized in crt.S
 int have_vec;
 
-volatile uint64_t tohost __attribute__((aligned(64)));
-volatile uint64_t fromhost __attribute__((aligned(64)));
+extern volatile uint64_t tohost;
+extern volatile uint64_t fromhost;
 
 static long handle_frontend_syscall(long which, long arg0, long arg1, long arg2)
 {