From 0bdf830ba840ce53cb1362acbf71965cd80e9397 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Fri, 25 Nov 2022 21:50:43 +0100 Subject: Implement VMSA change based single stepping and guest vmmcall intercept among other things --- test/access-detect_guest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/access-detect_guest.c') diff --git a/test/access-detect_guest.c b/test/access-detect_guest.c index 442c88c..67e58fe 100644 --- a/test/access-detect_guest.c +++ b/test/access-detect_guest.c @@ -17,10 +17,10 @@ main(int argc, const char **argv) memset(buf, 0, L1_LINESIZE * L1_SETS); while (1) { - CPC_CPUID_SIGNAL(CPC_CPUID_START_TRACK, 0); + CPC_DO_VMMCALL(CPC_CPUID_START_TRACK, 0); - *(uint8_t *)(buf + L1_LINESIZE * 5) += 1; + *(uint8_t *)(buf + L1_LINESIZE * 15) += 1; - CPC_CPUID_SIGNAL(CPC_CPUID_START_TRACK, 0); + CPC_DO_VMMCALL(CPC_CPUID_STOP_TRACK, 0); } } -- cgit v1.2.3-71-gd317