Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/10/2001 08:27:00
Module Name:	syssrc
Committed By:	thorpej
Date:		Sun Jun 10 05:26:59 UTC 2001

Modified Files:
	syssrc/sys/arch/algor/algor: algor_p4032_intr.c algor_p4032var.h
	    algor_p5064_intr.c algor_p5064var.h autoconf.c clock.c clockvar.h
	    interrupt.c machdep.c
	syssrc/sys/arch/algor/conf: std.algor
	syssrc/sys/arch/algor/dev: com_mainbus.c lpt_mainbus.c mcclock.c
	syssrc/sys/arch/algor/include: autoconf.h intr.h

Log Message:
Rewrite the interrupt handling code:
- Compute the number of CPU pipeline cycles per second using the
  mc146818.
- Use the COMPARE interrupt for the hardclock interrupt.
- Collapse all interrupt priorities into a single priority, and use
  the CPU interrupt inputs to determine the interrupt source (local
  device, PCI device, ISA device, etc.)

This allows us to have interrupt sharing.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/algor/algor/algor_p4032_intr.c \
    syssrc/sys/arch/algor/algor/algor_p4032var.h \
    syssrc/sys/arch/algor/algor/algor_p5064_intr.c \
    syssrc/sys/arch/algor/algor/algor_p5064var.h \
    syssrc/sys/arch/algor/algor/autoconf.c \
    syssrc/sys/arch/algor/algor/clock.c \
    syssrc/sys/arch/algor/algor/clockvar.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/algor/algor/interrupt.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/algor/algor/machdep.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/algor/conf/std.algor
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/algor/dev/com_mainbus.c \
    syssrc/sys/arch/algor/dev/lpt_mainbus.c \
    syssrc/sys/arch/algor/dev/mcclock.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/algor/include/autoconf.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/algor/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.