Freebsd assembly programming - IN/OUT commands.
From: by way of (opacki_at_acn.waw.pl)
Date: 10/16/04
- Previous message: Thiemo Nordenholz: "How to access a device on LPC bus?"
- Next in thread: Giorgos Keramidas: "Re: Freebsd assembly programming - IN/OUT commands."
- Reply: Giorgos Keramidas: "Re: Freebsd assembly programming - IN/OUT commands."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 16 Oct 2004 14:03:39 -0500 To: freebsd-hackers@freebsd.org
Hi Adam,
AT the beggining i want to sorry about my poor english.
I had a short look at your fbd assembly tutorial. I'm have a such
problem useing IN, OUT commands. In my case i want to "speak" with cmos
by port 70 and 71. We both know that fbsd as same as linux works in safe
mode. So we need a permission to use each port. In linux it's a system
call sys_ioperm (http://www.die.net/doc/linux/man/man2/ioperm.2.html).
How to ask FreeBSD to allow us to use those ports ? And then we could
simply do:
mov al, 0
out 70h, al
nop
nop
nop
nop
in al, 71h
Do you haveny any idea ?
Best regards,
Jan Opacki.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Thiemo Nordenholz: "How to access a device on LPC bus?"
- Next in thread: Giorgos Keramidas: "Re: Freebsd assembly programming - IN/OUT commands."
- Reply: Giorgos Keramidas: "Re: Freebsd assembly programming - IN/OUT commands."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|