summaryrefslogtreecommitdiffstats
path: root/test/kvm-step_guest.S
diff options
context:
space:
mode:
Diffstat (limited to 'test/kvm-step_guest.S')
-rw-r--r--test/kvm-step_guest.S28
1 files changed, 12 insertions, 16 deletions
diff --git a/test/kvm-step_guest.S b/test/kvm-step_guest.S
index 3d1b0e7..dcc8ff3 100644
--- a/test/kvm-step_guest.S
+++ b/test/kvm-step_guest.S
@@ -2,26 +2,22 @@
#define TARGET_SET 15
-.global guest_start
-.global guest_stop
-
+.text
.align(16)
.code16gcc
-guest_start:
- mov $(L1_LINESIZE * (L1_SETS + 11)), %bx
- movb (%bx), %bl
- hlt
+guest:
+ mov $(L1_LINESIZE * (L1_SETS + 11)), %bx
+ movb (%bx), %bl
+ hlt
- mov $(L1_LINESIZE * (L1_SETS + 13)), %bx
- movb (%bx), %bl
- hlt
+ mov $(L1_LINESIZE * (L1_SETS + 13)), %bx
+ movb (%bx), %bl
+ hlt
- mov $(L1_LINESIZE * (L1_SETS + 15)), %bx
- movb (%bx), %bl
- hlt
+ mov $(L1_LINESIZE * (L1_SETS + 15)), %bx
+ movb (%bx), %bl
+ hlt
- mov $0x00, %ax
- jmp *%ax
-guest_stop:
+ jmp guest