summaryrefslogtreecommitdiffstats
path: root/test/kvm-pagestep_guest.S
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-01-23 22:24:55 +0100
committerLouis Burda <quent.burda@gmail.com>2023-01-23 22:24:55 +0100
commit1fe8249bbc782d28185e0e893504e8ac3a1fcaec (patch)
tree15790721d2806918327d62e9c4448fc68ef34cd2 /test/kvm-pagestep_guest.S
parent0dc0595ee1d84bc77cb431b2417223f3b4a5bd57 (diff)
downloadcachepc-1fe8249bbc782d28185e0e893504e8ac3a1fcaec.tar.gz
cachepc-1fe8249bbc782d28185e0e893504e8ac3a1fcaec.zip
Move kvm to guest process and add ipc for synchronization
Diffstat (limited to 'test/kvm-pagestep_guest.S')
-rw-r--r--test/kvm-pagestep_guest.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/kvm-pagestep_guest.S b/test/kvm-pagestep_guest.S
new file mode 100644
index 0000000..ef826ad
--- /dev/null
+++ b/test/kvm-pagestep_guest.S
@@ -0,0 +1,19 @@
+#include "cachepc/const.h"
+
+#define TARGET_SET 15
+
+.global guest_start
+.global guest_stop
+
+.align(16)
+.code16gcc
+
+guest_start:
+.rept L1_SIZE
+ nop
+.endr
+
+ mov $0x00, %ax
+ jmp *%ax
+guest_stop:
+