diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-01-24 16:17:45 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-01-24 16:17:45 +0100 |
| commit | 65daf1cb353f4ba5e2f08ccbce6b0d5220b0099a (patch) | |
| tree | 87ab9ad37716cf5c0c110e905e95113de460d607 /test/kvm-pagestep_guest.S | |
| parent | e4762c2cdefacf13d26967b7e5f0735c2748026b (diff) | |
| download | cachepc-65daf1cb353f4ba5e2f08ccbce6b0d5220b0099a.tar.gz cachepc-65daf1cb353f4ba5e2f08ccbce6b0d5220b0099a.zip | |
Create flat binaries to support more complex guests
Diffstat (limited to 'test/kvm-pagestep_guest.S')
| -rw-r--r-- | test/kvm-pagestep_guest.S | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/test/kvm-pagestep_guest.S b/test/kvm-pagestep_guest.S index a936d2d..b40d230 100644 --- a/test/kvm-pagestep_guest.S +++ b/test/kvm-pagestep_guest.S @@ -2,28 +2,23 @@ #define TARGET_SET 15 -.global guest_start -.global guest_stop - +.text .align(16) .code16gcc -guest_start: +guest: .rept L1_SIZE - nop + nop .endr - mov $0x01, %bx - cmp $0x00, %bx + mov $0x01, %bx + cmp $0x00, %bx - # NOTE: this needs to be a relative jmp - je skip + je skip .rept L1_LINESIZE * L1_SETS * 2 - nop + nop .endr skip: - mov $0x00, %ax - jmp *%ax -guest_stop: + jmp guest |
