Date: Tue, 8 Aug 95 11:57:42 MDT From: terry@cs.weber.edu (Terry Lambert) To: ROBIN@ptnsct.nis.za (Robin Hunt) Cc: questions@freebsd.org Subject: Re: Accessing i/o map space with freebsd 2.1.0 Message-ID: <9508081757.AA29919@cs.weber.edu> In-Reply-To: <950808145946.94e1@ptnsct.nis.za> from "Robin Hunt" at Aug 8, 95 02:59:46 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > Hi there, > > I need to write either a driver or a piece of code with which I can access > a device in the cpu's io map. > > 1) Is it required that I write I driver > 2) If not, how can I use outb / inb without creating a bus error? Open /dev/io. You need root privs to do this, for obvious reasons. A process with /dev/io open is permitted to do what you want to do. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508081757.AA29919>