summaryrefslogtreecommitdiffstats
path: root/test/kvm-step_guest.S
blob: 4c154d515ba239cc4ea5c03f4afee8d57839964a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "cachepc/const.h"

#define TARGET_SET 15

.text
.align(16)
.code16gcc

guest:
.rept 100
    nop
.endr

    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 + 15)), %bx
    movb (%bx), %bl
    hlt

    jmp guest