mirror of
https://github.com/qemu/qemu.git
synced 2025-09-27 00:22:24 +00:00
target/arm: Split out performance monitor regs to cpregs-pmu.c
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20250707151547.196393-4-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
a62fa0c7a0
commit
ae2086426d
1309
target/arm/cpregs-pmu.c
Normal file
1309
target/arm/cpregs-pmu.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -1065,6 +1065,9 @@ void arm_cp_write_ignore(CPUARMState *env, const ARMCPRegInfo *ri,
|
||||
/* CPReadFn that can be used for read-as-zero behaviour */
|
||||
uint64_t arm_cp_read_zero(CPUARMState *env, const ARMCPRegInfo *ri);
|
||||
|
||||
/* CPReadFn that just reads the value from ri->fieldoffset */
|
||||
uint64_t raw_read(CPUARMState *env, const ARMCPRegInfo *ri);
|
||||
|
||||
/* CPWriteFn that just writes the value to ri->fieldoffset */
|
||||
void raw_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value);
|
||||
|
||||
|
1287
target/arm/helper.c
1287
target/arm/helper.c
File diff suppressed because it is too large
Load Diff
@ -1873,6 +1873,8 @@ void define_debug_regs(ARMCPU *cpu);
|
||||
void define_tlb_insn_regs(ARMCPU *cpu);
|
||||
/* Add the cpreg definitions for AT instructions */
|
||||
void define_at_insn_regs(ARMCPU *cpu);
|
||||
/* Add the cpreg definitions for PM cpregs */
|
||||
void define_pm_cpregs(ARMCPU *cpu);
|
||||
|
||||
/* Effective value of MDCR_EL2 */
|
||||
static inline uint64_t arm_mdcr_el2_eff(CPUARMState *env)
|
||||
|
@ -22,6 +22,7 @@ arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files(
|
||||
'cpu32-stubs.c',
|
||||
))
|
||||
arm_user_ss.add(files(
|
||||
'cpregs-pmu.c',
|
||||
'debug_helper.c',
|
||||
'helper.c',
|
||||
'vfp_fpscr.c',
|
||||
@ -36,6 +37,7 @@ arm_common_system_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'arm-powerctl.c',
|
||||
'cortex-regs.c',
|
||||
'cpregs-pmu.c',
|
||||
'debug_helper.c',
|
||||
'helper.c',
|
||||
'machine.c',
|
||||
|
Loading…
Reference in New Issue
Block a user