summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-11-10 18:16:17 +0100
committerLouis Burda <quent.burda@gmail.com>2022-11-10 18:17:21 +0100
commitde0075e226fe615c48681b2dfa3ab5624762c76d (patch)
tree817a441b2c93a148d09a1b50e8608ec858dc3528 /Makefile
parentc308b0d3af8c052cd3dbe22143435917da6e7988 (diff)
downloadcachepc-de0075e226fe615c48681b2dfa3ab5624762c76d.tar.gz
cachepc-de0075e226fe615c48681b2dfa3ab5624762c76d.zip
Add fault error codes to event + sevstep debugging
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5fac888..2a523d7 100755
--- a/Makefile
+++ b/Makefile
@@ -24,13 +24,16 @@ load:
sudo insmod $(LINUX)/arch/x86/kvm/kvm.ko
sudo insmod $(LINUX)/arch/x86/kvm/kvm-amd.ko
+freq:
+ sudo cpupower frequency-set -f 2.60GHz
+
+update:
+ git -C $(LINUX) diff 0aaa1e599bee256b3b15643bbb95e80ce7aa9be5 -G. > patch.diff
+
test/aes-detect_%: test/aes-detect_%.c test/aes-detect.c
clang -o $@ $< $(CFLAGS) -I test/libkcapi/lib -L test/libkcapi/.libs -lkcapi -static
test/%: test/%.c cachepc/uapi.h
clang -o $@ $< $(CFLAGS) -fsanitize=address
-update:
- git -C $(LINUX) diff 0aaa1e599bee256b3b15643bbb95e80ce7aa9be5 -G. > patch.diff
-
-.PHONY: all clean build load update
+.PHONY: all clean build load freq update