diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2015-06-13 00:46:00 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-06-17 12:40:52 +0200 |
commit | 311918b979c5364c30392c1054ed77d047a83953 (patch) | |
tree | 3ca255bed7666787a2bf045a26a696b4dab97b67 /target-s390x/cpu.h | |
parent | 8d302e76755b8157373073d7107e31b0b13f80c1 (diff) | |
download | qemu-311918b979c5364c30392c1054ed77d047a83953.zip qemu-311918b979c5364c30392c1054ed77d047a83953.tar.gz qemu-311918b979c5364c30392c1054ed77d047a83953.tar.bz2 |
target-s390x: PER storage-alteration event support
For the PER storage-alteration event we can use the QEMU watchpoint
infrastructure. When PER is enabled or PER control register changed we
enable the corresponding watchpoints. When a watchpoint arises we can
save the event. Unfortunately the current code does not provide the
address space used to trigger the watchpoint. For now we assume it comes
from the default ASC.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r-- | target-s390x/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index f830208..68321f5 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -1045,6 +1045,7 @@ int mmu_translate(CPUS390XState *env, target_ulong vaddr, int rw, uint64_t asc, int sclp_service_call(CPUS390XState *env, uint64_t sccb, uint32_t code); uint32_t calc_cc(CPUS390XState *env, uint32_t cc_op, uint64_t src, uint64_t dst, uint64_t vr); +void s390_cpu_recompute_watchpoints(CPUState *cs); int s390_cpu_virt_mem_rw(S390CPU *cpu, vaddr laddr, uint8_t ar, void *hostbuf, int len, bool is_write); |