[ros-kernel] BusInterruptLevel/BusInterruptVector

Ge van Geldorp ge at gse.nl
Wed Nov 5 09:49:46 CET 2003


What's the difference between the BusInterruptLevel and
BusInterruptVector parameters passed to HalGetInterruptVector? The NT4
DDK says:

BusInterruptLevel
Specifies the bus-specific interrupt level. 
BusInterruptVector
Specifies the bus-specific interrupt vector.

which is not very helpful...
Looking at functions HalpGetIsaInterruptVector,
HalpGetPciInterruptVector and HalpGetSystemInterruptVector, (the bus
specific routines called by HalGetInterruptVector) only
BusInterruptVector is used.
However, looking at drivers/scsiport/scsiport.c, I only see a value
being assigned to PortConfig->BusInterruptLevel, no assignment to
PortConfig->BusInterruptVector before it is passed as parameter to
HalGetInterruptVector.
If I have an InterruptLine value from PCI configuration space
(PciConfig->u.type0.InterruptLine), should I just pass that
InterruptLine for both BusInterruptLevel and BusInterruptVector in the
HalGetInterruptVector call?

Thanks, Gé van Geldorp.




More information about the Ros-kernel mailing list