Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 10:04:21 +0100
From:      Rink Springer <rink@FreeBSD.org>
To:        Christoph Mallon <christoph.mallon@gmx.de>
Cc:        freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org, Won De Erick <won.derick@yahoo.com>
Subject:   Re: Watchdog for Boser (HS-7001)
Message-ID:  <20081201090421.GA99082@rink.nu>
In-Reply-To: <4933A29B.8060907@gmx.de>
References:  <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote:
> Userland is not allowed to write to ports. That's the bus error you see. 
> Also without a call to the exit syscall at the end, it will segfault.

Note that you can write to ports from userland by opening /dev/io - if
you have it opened, you can write to the ports.

-- 
Rink P.W. Springer                                - http://rink.nu
"Anyway boys, this is America. Just because you get more votes doesn't
 mean you win." - Fox Mulder



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