summaryrefslogtreecommitdiffstats
path: root/test/kvm-step_guest.S
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-01-19 01:48:16 +0100
committerLouis Burda <quent.burda@gmail.com>2023-01-19 01:50:26 +0100
commit3f43dd1778c7ac8c09c3dc5612ac902c3a7ad84d (patch)
tree54367534d322feaf294bbd51d785ce066c8c27c9 /test/kvm-step_guest.S
parentf2ea010b8180b4160d85c92e312971d0cd8a34d4 (diff)
downloadcachepc-3f43dd1778c7ac8c09c3dc5612ac902c3a7ad84d.tar.gz
cachepc-3f43dd1778c7ac8c09c3dc5612ac902c3a7ad84d.zip
Many fixes, more precise single-stepping and more robust self-tests
Diffstat (limited to 'test/kvm-step_guest.S')
-rw-r--r--test/kvm-step_guest.S18
1 files changed, 11 insertions, 7 deletions
diff --git a/test/kvm-step_guest.S b/test/kvm-step_guest.S
index 0dfe98f..29c29f2 100644
--- a/test/kvm-step_guest.S
+++ b/test/kvm-step_guest.S
@@ -6,13 +6,17 @@
.global guest_stop
guest_start:
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
- mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx
+ mov $(L1_LINESIZE * (L1_SETS + 9)), %rbx
+# hlt
+# mov $(L1_LINESIZE * (L1_SETS + 10)), %rbx
+ mov $(L1_LINESIZE * (L1_SETS + 11)), %rbx
+# hlt
+# mov $(L1_LINESIZE * (L1_SETS + 12)), %rbx
+ mov $(L1_LINESIZE * (L1_SETS + 13)), %rbx
+# hlt
+# mov $(L1_LINESIZE * (L1_SETS + 14)), %rbx
+ mov $(L1_LINESIZE * (L1_SETS + 15)), %rbx
+ hlt
jmp guest_start
guest_stop: