Novell is now a part of Micro Focus

I am using the WAN NDK on NetWare...

Articles and Tips: qna

01 Oct 2002


Q.

I am using the WAN NDK on NetWare 5.x. How do I declare Share-aware interrupts and SMP-aware interrupts before BusInterruptSetup() function call within a NetWare 5.x WAN (or LAN) driver? I think there are two bits in the "flags" parameter that will do this for me, but unfortunately this parameter is undocumented.

A.

The flags are listed in the following table.


Bit
Value

0

0= Do not share

1= This interrupt may be shared

1-28

reserved, set to zero

29

0= The ISR is not MP aware

1= The ISR is MP aware

30

0= Do not save the floating point state before servicing the interrupt

1= Do save (implies ISR may change floating point state)

31

reserved, set to zero

Bear in mind that there are other requirements, such as interrupt sharing (for example, sharing flag in IOConfigStruc) and Multi-Processor (MP) awareness (for example, build process) that you need to be aware of as well. You also need to know that WAN drivers are not MP-aware.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates