Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 14:00:42 -0700
From:      Bruce M Simpson <bms@spc.org>
To:        Jan Opacki <opacki@acn.waw.pl>
Cc:        Giorgos Keramidas <keramida@freebsd.org>
Subject:   Re: Freebsd assembly programming - IN/OUT commands.
Message-ID:  <20041017210042.GA18249@empiric.icir.org>
In-Reply-To: <1098042389.372.33.camel@200-ego-4.acn.waw.pl>
References:  <6.0.1.1.1.20041016135943.0353fb90@adamsatoms.com> <20041017130057.GA1132@gothmog.gr> <20041017144610.GB4639@straylight.m.ringlet.net> <1098042389.372.33.camel@200-ego-4.acn.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 17, 2004 at 09:46:29PM +0200, Jan Opacki wrote:
> Thanks for help. i386_set_ioperm() is exactly what i need.

I have to say though I've had processes dump core the first time I've
tried doing I/O port accesses after calling i386_set_ioperm() on 5.x
since 5.0. This behaviour is sporadic. With opening /dev/io, I have
had no problem.

Also, the /dev/io method appears to work on amd64, whereas the
i386_set_ioperm() method does not.

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041017210042.GA18249>