From 314bca3dc19a864c76153bfcd5a58be8c40000f9 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 30 Aug 2024 19:20:21 +0300 Subject: improvements to shared memory handling + Now each shared region is reference counter (technically each region is refernce counted, private regions just have a count of 1). Also, syscalls that touch the TLB get flushed, but should probably look into where else this flushing might be needed. --- tests/common/arch/riscv64/source.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/common/arch/riscv64/source.mk') diff --git a/tests/common/arch/riscv64/source.mk b/tests/common/arch/riscv64/source.mk index 517c1c7..e3c0e55 100644 --- a/tests/common/arch/riscv64/source.mk +++ b/tests/common/arch/riscv64/source.mk @@ -1 +1,4 @@ -ARCH_FLAGS += -march=rv64imac -mabi=lp64 +# -mno-relax to disable the compiler from using the gp register as a shorthand +# for __global_pointer$, which I currently don't do anything with. Should +# probably fix at some point +ARCH_FLAGS += -march=rv64imac -mabi=lp64 -mno-relax -- cgit v1.3