FWIW, regarding direct user application access
to I/O space, (a technique to be avoided if at all
possible, but sometimes useful for those "1-hour 
emergency" projects, see the question

 "How do I directly access I/O devices from an application 
  program (use in and out instructions)?"

 In the picobsd FAQ at:

 http://alumni.cse.ucsc.edu/~brucem/pico_notes.htm
 http://www.cse.ucsc.edu/~brucem/pico_notes.htm

 It has an example program for FreeBSD 4.3.
In short, open ``/dev/io''. Hold the handle for as                            
short a period as possible. Include
</usr/src/sys/i386/include/cpufunc.h>

- bruce

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to