interrupt handlers - FreeBSD 4.9
John Baldwin
jhb at FreeBSD.org
Mon Aug 29 15:56:39 GMT 2005
On Monday 29 August 2005 08:11 am, Bharath Bhushan wrote:
> 1) What is the purpose of the two interrupt handler arrays ihandler[]
> and intr_handlers[]?
Not sure. It may be that ihandler is used for INTR_FAST interrupts.
> What I saw on my system:
> (kgdb) print intr_handler
> $8 = {0x302b2d04 <clkintr>, 0x302b9bd4 <atkbd_isa_intr>,
> 0x302b6708 <isa_strayintr>, 0x302be648 <siointr>, 0x302be648 <siointr>,
> 0x302b6708 <isa_strayintr>, 0x302b53e0 <fdc_intr>, 0x30268128 <dc_intr>,
> 0x302b2fa0 <rtcintr>, 0x302b6708 <isa_strayintr>,
> 0x302b6708 <isa_strayintr>, 0x30268128 <dc_intr>,
> 0x302b6708 <isa_strayintr>, 0x302b6708 <isa_strayintr>,
> 0x3017606c <ata_intr>, 0x3017606c <ata_intr>}
> (kgdb) p/a ihandlers
> $11 = 0x302a522e <Xresume0>
> (kgdb) p/a *ihandlers
> $12 = 0x1ec05ff
>
> 2) Does cpl contain the mask to block hardware and software interrupts
> or just for the software interrupts?
Both. SWI is the upper 8 bits, lower 24 are for hardware. (24 are used with
APIC_IO, 16 with the 8259A pics).
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-hackers
mailing list