Watchdog for Boser (HS-7001)
Rink Springer
rink at FreeBSD.org
Mon Dec 1 01:26:46 PST 2008
On Mon, Dec 01, 2008 at 01:20:14AM -0800, Won De Erick wrote:
> Besides, I can see the following at /dev
> crw------- 1 root wheel 0, 16 Nov 27 01:53 io
>
> How should I make this open? do i need to %include this?
No, you need to invoke an open syscall just in the same way you did the
previous system call. Try looking at
http://goodfellas.shellcode.com.ar/docz/asm/aslenguage.html, which is a
tutorial for exactly this sort of thing.
You don't have to read or write to it; just opening it is enough to get
the I/O access you need.
Regards,
--
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
>
>
> > --
> > 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
> >
>
>
>
>
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list