Module Name: src Committed By: thorpej Date: Tue Apr 20 00:09:45 UTC 2021
Modified Files: src/sys/arch/alpha/alpha: interrupt.c src/sys/arch/alpha/include: cpu.h Log Message: Slight tweak to previous changes: Rather than simply increment the interrupt depth for the clock interrupt, we add 0x10. Why? Because while we only use a single Alpha IPL (4) for IPL_{BIO,NET,TTY,VM}, technically the architecture specification suports two in the OSF/1 PALcode (3 [low-pri] and 4 [high-pri]), meaning we could conceiveably have intrdepth > 1 just for device interrupts. Adding 0x10 here means that cpu_intr_p() can check for "intrdepth != 0" for "in interrupt context" and CLKF_INTR() can check "(intrdepth & 0xf) != 0" for "was processing interrupts when the clock interrupt happened". To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/arch/alpha/alpha/interrupt.c cvs rdiff -u -r1.100 -r1.101 src/sys/arch/alpha/include/cpu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.