CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2024/11/06 05:06:15

Modified files:
        sys/arch/sparc64/include: cpu.h 
        sys/arch/sparc64/sparc64: locore.s 

Log message:
A long, long, time ago, pending interrupt handlers were stored in arrays
of up to 8 handlers, one arrays par ipl level. Eventually the interrupt
logic was changed to linked lists, but the arrays remained, even when
the pending interrupt structures were moved to per-cpu data.

Simplify this by only keeping a pointer to the list head, per ipl level;
update the computations in locore accordingly, and update the relevant
comments to match reality as well.

ok kettenis@

Reply via email to