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

#define TARGET_SET 15

.global guest_start
.global guest_stop

guest_start:
	mov $(L1_LINESIZE * (L1_SETS + 9)), %rbx
#	hlt
#	mov $(L1_LINESIZE * (L1_SETS + 10)), %rbx
	mov $(L1_LINESIZE * (L1_SETS + 11)), %rbx
#	hlt
#	mov $(L1_LINESIZE * (L1_SETS + 12)), %rbx
	mov $(L1_LINESIZE * (L1_SETS + 13)), %rbx
#	hlt
#	mov $(L1_LINESIZE * (L1_SETS + 14)), %rbx
	mov $(L1_LINESIZE * (L1_SETS + 15)), %rbx
	hlt
	jmp guest_start
guest_stop: