Date: Tue, 26 Mar 1996 23:12:47 -0700 From: John Reynolds <zeek@primenet.com> To: questions@freebsd.org Subject: read/write to hardware ports from user code Message-ID: <199603270612.XAA01998@localhost.primenet.com>
next in thread | raw e-mail | index | archive | help
Subject says it all. I have a program that works with a "homemade" PC I/O card and would like to get it to run under FreeBSD as well. I've gotten it to run under MS-DOG, OS/2, and Linux thus far and I know this kind of thing had to have already been done by somebody in FreeBSD land. I'm looking for the equivalent of the "ioperm" system call (under Linux) which gives programs permission to write to a range of address and the routines "inb" and "outb" which read and write a byte to a given hardware port. All the searches under the FreeBSD Web page, man pages, and include files have come up with nil. :( Help! I know this has *got* to be possible (and probably easy) under FreeBSD as well. Thanks in advance, -Jr -- John Reynolds | Four Guys' Plumbing, Inc. Computing Enhancement Division, Intel | "Up The Voltage!" jreynold@sedona.intel.com | zeek@primenet.com | #include <std_disclaimer.h> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603270612.XAA01998>