FreeBSD/sys/pc98/cbus/nmi.c
/*
 * Handle a NMI, possibly a machine check.
 * return true to panic system, false to ignore.
 */
Handle a NMI, possibly a machine check.
return true to panic system, false to ignore.
Handle a NMI possibly a machine check . return true to panic system false to ignore .
int
isa_nmi(int cd)
{
	int retval = 0;
 	int port = inb(0x33);
	log(LOG_CRIT, "NMI PC98 port = %x\n", port);
	if (port & NMI_PARITY) {
		log(LOG_CRIT, "BASE RAM parity error, likely hardware failure.");
		retval = 1;
	} else if (port & NMI_EPARITY) {
		log(LOG_CRIT, "EXTENDED RAM parity error, likely hardware failure.");
		retval = 1;
	} else {
		log(LOG_CRIT, "\nNMI Resume ??\n");
	}
	return(retval);
}
int isa_nmi ( int cd ) { int retval = 0 ; int port = inb ( 0x33 ) ; log ( LOG_CRIT , " \n " , port ) ; if ( port & NMI_PARITY ) { log ( LOG_CRIT , " " ) ; retval = 1 ; } else if ( port & NMI_EPARITY ) { log ( LOG_CRIT , " " ) ; retval = 1 ; } else { log ( LOG_CRIT , " \n \n " ) ; } return ( retval ) ; }
Handle a NMI, possibly a machine check.
Handle a NMI possibly a machine check .