Date: Sun, 5 Jan 2003 18:09:08 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 interrupt.c sapic.c Message-ID: <200301060209.h062983B098230@repoman.freebsd.org>
index | next in thread | raw e-mail
marcel 2003/01/05 18:09:08 PST
Modified files:
sys/ia64/ia64 interrupt.c sapic.c
Log:
Move ia64_sapics and ia64_sapic_count from interrupt.c to sapic.c
and declare them extern in interrupt.c. This eliminates the need
for ia64_add_sapic(), which is called from sapic.c.
While here, reformat ia64_enable() in interrupt.c to improve
indentation and add a sysctl (machdep.apic) to dump the I/O APIC
entries currently programmed into all I/O APICs. The latter can
help analyze interrupt problems.
Note that the sysctl is not intended as a userland (software)
interface. It may be changed in the future to include counters
so that vmstat -i can make use of it. It may also be removed...
Revision Changes Path
1.33 +8 -17 src/sys/ia64/ia64/interrupt.c
1.12 +51 -7 src/sys/ia64/ia64/sapic.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301060209.h062983B098230>
