i am working on mainstone based board and i am looking for kitl interrupt
handler. seems the sysintr_ether is gone now so how does kitl get it's own
interrupt?

Re: does ce 5.0 kitl use an interrupt? by K

K
Mon Jan 10 04:55:13 CST 2005

The OALKitlStart (MainStoneII\SRC\kernel\oal\kitl.c) will invoke the
OALKitlInit at the end of the funciton and
the OALKitlInit will call OALKitlEthInit. (in Eth KITL scenario)
The OALKitlEthInit will get IRQ by OALIntrRequestIrqs and then use this IRQ
number to retrieve a new SYSINTR by OALIntrRequestSysIntr.
So all of the IRQ, SYSINTR allocation are dynamic obtained at runtime.

You may also take a look at BSPIntrRequestIrqs.
(MainStoneII\SRC\kernel\oal\intr.c)
It show how the BSP codes return an specific IRQ number while someone
request a IRQ by OALIntrRequestIrqs.

"mobilevil" <kccheng@kachun-youknowwhat.com> ¼¶¼g©ó¶l¥ó·s»D
:OFvwE4v9EHA.1264@TK2MSFTNGP12.phx.gbl...
> i am working on mainstone based board and i am looking for kitl interrupt
> handler. seems the sysintr_ether is gone now so how does kitl get it's own
> interrupt?
>
>



Re: does ce 5.0 kitl use an interrupt? by mobilevil

mobilevil
Tue Jan 11 02:29:02 CST 2005

ok thanks
"K. S. Huang" <ks_huang@AlphaNetworks.com_remove.this> wrote in message
news:e2m6eLw9EHA.2156@TK2MSFTNGP10.phx.gbl...
> The OALKitlStart (MainStoneII\SRC\kernel\oal\kitl.c) will invoke the
> OALKitlInit at the end of the funciton and
> the OALKitlInit will call OALKitlEthInit. (in Eth KITL scenario)
> The OALKitlEthInit will get IRQ by OALIntrRequestIrqs and then use this
> IRQ
> number to retrieve a new SYSINTR by OALIntrRequestSysIntr.
> So all of the IRQ, SYSINTR allocation are dynamic obtained at runtime.
>
> You may also take a look at BSPIntrRequestIrqs.
> (MainStoneII\SRC\kernel\oal\intr.c)
> It show how the BSP codes return an specific IRQ number while someone
> request a IRQ by OALIntrRequestIrqs.
>
> "mobilevil" <kccheng@kachun-youknowwhat.com> ¼¶¼g©ó¶l¥ó·s»D
> :OFvwE4v9EHA.1264@TK2MSFTNGP12.phx.gbl...
>> i am working on mainstone based board and i am looking for kitl interrupt
>> handler. seems the sysintr_ether is gone now so how does kitl get it's
>> own
>> interrupt?
>>
>>
>
>