Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/intr_machdep.c
Show First 20 Lines • Show All 424 Lines • ▼ Show 20 Lines | if (arm64_nstray < MAX_STRAY_LOG) { | ||||
if (arm64_nstray >= MAX_STRAY_LOG) { | if (arm64_nstray >= MAX_STRAY_LOG) { | ||||
printf("Got %d stray IRQs. Not logging anymore.\n", | printf("Got %d stray IRQs. Not logging anymore.\n", | ||||
MAX_STRAY_LOG); | MAX_STRAY_LOG); | ||||
} | } | ||||
} | } | ||||
if (intr != NULL) | if (intr != NULL) | ||||
PIC_MASK(root_pic, intr->i_hw_irq); | PIC_MASK(root_pic, intr->i_hw_irq); | ||||
#ifdef HWPMC_HOOKS | |||||
if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) | |||||
pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf); | |||||
#endif | |||||
} | } | ||||
void | void | ||||
arm_cpu_intr(struct trapframe *tf) | arm_cpu_intr(struct trapframe *tf) | ||||
{ | { | ||||
critical_enter(); | critical_enter(); | ||||
PIC_DISPATCH(root_pic, tf); | PIC_DISPATCH(root_pic, tf); | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |