The relevant code is: /************************************************************************** Allow disabling of Non-Maskable Interrupts in I/O space, to support validation. *************************************************************************/ if( adapter->RegistryNMIDisable ) { UCHAR RegisterVal;
RegisterVal = inb( ET1310_NMI_DISABLE ); RegisterVal &= 0xf3; if( adapter->RegistryNMIDisable == 2 ) { RegisterVal |= 0xc; } outb( ET1310_NMI_DISABLE, RegisterVal ); } This conditionally writes to a (PC) interrupt controller register. As the comment says this can be useful for validation, but is totally unsuitable for production use. All the NMI disable code can be removed from this package. Ben. -- Ben Hutchings Beware of programmers who carry screwdrivers. - Leonard Brandwein
signature.asc
Description: This is a digitally signed message part