summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-07-26 17:16:10 +0200
committerLouis Burda <quent.burda@gmail.com>2022-07-26 17:16:10 +0200
commit8dc6462e70009c0bbcf0bbfcfd2d4494d3772580 (patch)
treeccec0043527663246b27ccebc598a68cb61681e7 /Makefile
parent2558cb66b59aae1578fc46ff8edf5d7cf9383037 (diff)
downloadcachepc-8dc6462e70009c0bbcf0bbfcfd2d4494d3772580.tar.gz
cachepc-8dc6462e70009c0bbcf0bbfcfd2d4494d3772580.zip
Single eviction test with sleep
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1983b1d..a03f079 100644
--- a/Makefile
+++ b/Makefile
@@ -26,3 +26,12 @@ load:
sudo rmmod kvm || true
sudo insmod $(KERNEL_SOURCE)/arch/x86/kvm/kvm.ko
sudo insmod $(KERNEL_SOURCE)/arch/x86/kvm/kvm-amd.ko
+
+read: read.c
+ $(CC) -o $@ $<
+
+test: load read
+ @./read
+
+update:
+ git -C $(KERNEL_SOURCE) diff > patch.diff