kernels/linux-2.4.0/include/asm-ia64/io.h
/*
 * This is used for checking BIOS signatures.  It's not clear at all
 * why this is here.  This implementation seems to be the same on
 * all architectures.  Strange.
 */
This is used for checking BIOS signatures.  It's not clear at all
why this is here.  This implementation seems to be the same on
all architectures.  Strange.
This is used for checking BIOS signatures . It ' s not clear at all why this is here . This implementation seems to be the same on all architectures . Strange .
static inline int
check_signature (unsigned long io_addr, const unsigned char *signature, int length)
{
	int retval = 0;
	do {
		if (readb(io_addr) != *signature)
			goto out;
		io_addr++;
		signature++;
		length--;
	} while (length);
	retval = 1;
out:
	return retval;
}
static inline int check_signature ( unsigned long io_addr , const unsigned char * signature , int length ) { int retval = 0 ; do { if ( readb ( io_addr ) != * signature ) goto out ; io_addr ++ ; signature ++ ; length -- ; } while ( length ) ; retval = 1 ; out : return retval ; }
This is used for checking BIOS signatures.
This is used for checking BIOS signatures .