Date: Thu, 7 Nov 2002 09:44:13 -0800 (PST) From: "Bruce R. Montague" <brucem@mail.cruzio.com> To: freebsd-hackers@FreeBSD.ORG Subject: Re: sio i/o Message-ID: <200211071744.gA7HiDO00652@mail.cruzio.com>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211071744.gA7HiDO00652>