aboutsummaryrefslogtreecommitdiffhomepage
path: root/guest
diff options
context:
space:
mode:
Diffstat (limited to 'guest')
-rw-r--r--guest/guest64.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/guest/guest64.S b/guest/guest64.S
index 6629273..a07df0c 100644
--- a/guest/guest64.S
+++ b/guest/guest64.S
@@ -12,6 +12,12 @@
lea di, [in_dest] // Destination address.
insb // Read byte from input port dx to ds:di.
+ // Write to allocated virtual addresses.
+ mov byte ptr ds:[0x2000], 0xaa
+ mov byte ptr ds:[0x2001], 0xbb
+ mov byte ptr ds:[0x2002], 0xcc
+ mov byte ptr ds:[0x2003], 0xdd
+
// Trigger `KVM_EXIT_HLT`.
hlt