Lines Matching defs:ssp
763 int perfmon_control(struct savearea *ssp)
765 mach_port_name_t thr_port = CAST_DOWN(mach_port_name_t, ssp->save_r3);
766 int action = (int)ssp->save_r4;
767 int pmc = (int)ssp->save_r5;
768 int val = (int)ssp->save_r6;
769 uint64_t *usr_pmcs_p = CAST_DOWN(uint64_t *, ssp->save_r7);
778 ssp->save_r3 = KERN_INVALID_ARGUMENT;
882 kprintf("perfmon_control (CPU%d): mmcr0 = %016llX, pmc1=%X pmc2=%X pmc3=%X pmc4=%X pmc5=%X pmc6=%X pmc7=%X pmc8=%X\n", cpu_number(), ssp->save_mmcr0, ssp->save_pmc[PMC_1], ssp->save_pmc[PMC_2], ssp->save_pmc[PMC_3], ssp->save_pmc[PMC_4], ssp->save_pmc[PMC_5], ssp->save_pmc[PMC_6], ssp->save_pmc[PMC_7], ssp->save_pmc[PMC_8]);
895 ssp->save_r3 = retval;
899 int perfmon_handle_pmi(struct savearea *ssp)
919 doexception(EXC_BREAKPOINT, EXC_PPC_PERFMON, (unsigned int)ssp->save_srr0); // pass up a breakpoint exception