From f2ea010b8180b4160d85c92e312971d0cd8a34d4 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Tue, 17 Jan 2023 16:30:33 +0100 Subject: Fixup kvm-eviction and refactor kvm-step --- test/kvm-step_guest.S | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/kvm-step_guest.S (limited to 'test/kvm-step_guest.S') diff --git a/test/kvm-step_guest.S b/test/kvm-step_guest.S new file mode 100644 index 0000000..0dfe98f --- /dev/null +++ b/test/kvm-step_guest.S @@ -0,0 +1,18 @@ +#include "cachepc/const.h" + +#define TARGET_SET 15 + +.global guest_start +.global guest_stop + +guest_start: + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + mov $(L1_LINESIZE * (L1_SETS + TARGET_SET)), %rbx + jmp guest_start +guest_stop: + -- cgit v1.2.3-71-gd317