Freebsd assembly programming - IN/OUT commands.

From: by way of (opacki_at_acn.waw.pl)
Date: 10/16/04

  • Next message: Giorgos Keramidas: "Re: Freebsd assembly programming - IN/OUT commands."
    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"


  • Next message: Giorgos Keramidas: "Re: Freebsd assembly programming - IN/OUT commands."

    Relevant Pages

    • Re: uCLinux on Samsung S3C4510B (ARM7TDMI) based wireless router
      ... serial port or printer port, ... linux or further. ... > router, access point and print server, all at the same time, preferably ... > and openap-ng) options as well as uCLinux. ...
      (comp.os.linux.embedded)
    • Re: Unix / Linux Program Port to OS/2 with GCC and LIBC: HowTo Support / Use of Unix Function "Symb
      ... The discussion of the MPlayer port comes up with the above subject. ... OS/2 port on Hobbes: http://hobbes.nmsu.edu/cgi-bin/h-search?key=coreutils_5.93 ... The Linux symbolic link function is introduced ...
      (comp.os.os2.multimedia)
    • Re: TOP Network Interface Port of a Sun Ultra 30
      ... What I had was a PCI card in my Linux ... this device connects to an Ethernet port. ... on the Sun that makes it not as possible to support the DEVICES I have on ... significant speed difference if I were to connect this to a network card ...
      (comp.sys.sun.hardware)
    • Re: Serial port blues
      ... digital amateur radio on Linux, because I'm curious whether or not the ... the serial port can only be controled by the kernel. ... processes without needing to hit the reset button. ...
      (Linux-Kernel)
    • RE: seeking a better understanding
      ... were to breach that port, could they do more than deface my website? ... or do I need a middle box running some form of firewall ... Other boxes are Linux. ... use on a linux machine, and do the spot trojans as the MS ones do? ...
      (Security-Basics)