I have just discovered interesting things reading
/usr/src/linux/include/asm-i386/io.h and remembered this thread at once.
It seems that this file has the corresponding black magic in it (with heavy
use of preprocessor and assembler), rather than making the compiler enrich
itself by some configuration-time built-ins for i386 as a special case.
Vassilii
-----Original Message-----
From: Dave Grothe [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 4:26 PM
To: Miller, Brendan; '[EMAIL PROTECTED]'
Subject: Re: [Linux-streams] osif.h and port io?
[snip]
For Intel architecture the inb, inw, etc functions seem to be compiler
built-ins.
They are not defined by any subroutine or macro in the kernel source.
Other,
non-Intel, architectures have macros for them.
For now I think that I will not try to provide an LiS "buffer" for these
functions.
[snip]
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams