summaryrefslogtreecommitdiffstats
path: root/test/kvm-eviction-with_guest.S
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-01-24 16:17:45 +0100
committerLouis Burda <quent.burda@gmail.com>2023-01-24 16:17:45 +0100
commit65daf1cb353f4ba5e2f08ccbce6b0d5220b0099a (patch)
tree87ab9ad37716cf5c0c110e905e95113de460d607 /test/kvm-eviction-with_guest.S
parente4762c2cdefacf13d26967b7e5f0735c2748026b (diff)
downloadcachepc-65daf1cb353f4ba5e2f08ccbce6b0d5220b0099a.tar.gz
cachepc-65daf1cb353f4ba5e2f08ccbce6b0d5220b0099a.zip
Create flat binaries to support more complex guests
Diffstat (limited to 'test/kvm-eviction-with_guest.S')
-rw-r--r--test/kvm-eviction-with_guest.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/kvm-eviction-with_guest.S b/test/kvm-eviction-with_guest.S
new file mode 100644
index 0000000..08b365c
--- /dev/null
+++ b/test/kvm-eviction-with_guest.S
@@ -0,0 +1,14 @@
+#include "test/kvm-eviction.h"
+#include "cachepc/const.h"
+
+.text
+.align(16)
+.code16gcc
+
+guest:
+ mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %bx
+ movb (%bx), %bl
+ hlt
+
+ jmp guest
+