Novell is now a part of Micro Focus

I am writing a WAN driver using the...

Articles and Tips: qna

01 Jul 2002


Q.

I am writing a WAN driver using the WAN driver NDK. How do I declare the SHARE-aware interrupt and SMP-aware interrupt before the BusInterrup- tSetup() function call within NetWare 5.x WAN (or LAN) driver? Unfortunately, the "flags" parameter is undocumented. I think there are two bits that make up this parameter.

A.

The flags are as follows:


Bit Set
Flags

Bit 0

0=Do not share

1= This interrupt may be shared

Bit 1-28

reserved, set to zero

Bit 29

0=The ISR is not MP aware

1=The ISR is MP aware

Bit 30

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

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

Bit 31

reserved, set to zero

Bear in mind that there are other requirements, like interrupt sharing (sharing flag in IOConfigStruc) and MP awareness (build process). By the way, WAN drivers are not Multi-Processor 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