summaryrefslogtreecommitdiffstats
path: root/test/access-detect_guest.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-11-25 21:50:43 +0100
committerLouis Burda <quent.burda@gmail.com>2022-11-25 21:50:43 +0100
commit0bdf830ba840ce53cb1362acbf71965cd80e9397 (patch)
treef6b904a6d6fcbe63a28901603c5c6108bb6926fc /test/access-detect_guest.c
parentd16af2b7f9b0026e2776237dd0ea673d88531e7d (diff)
downloadcachepc-0bdf830ba840ce53cb1362acbf71965cd80e9397.tar.gz
cachepc-0bdf830ba840ce53cb1362acbf71965cd80e9397.zip
Implement VMSA change based single stepping and guest vmmcall intercept among other things
Diffstat (limited to 'test/access-detect_guest.c')
-rw-r--r--test/access-detect_guest.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}