Date: Mon, 29 Aug 2005 11:39:16 -0400 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-hackers@freebsd.org Cc: Bharath Bhushan <bharath.bhushan@gmail.com> Subject: Re: interrupt handlers - FreeBSD 4.9 Message-ID: <200508291139.17144.jhb@FreeBSD.org> In-Reply-To: <29683db2050829051168d821be@mail.gmail.com> References: <29683db2050829051168d821be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508291139.17144.jhb>