Projects / allowdirectportio


allowdirectportio allows user-space Linux programs to access I/O directly on an x86 platform or hardware with a similar I/O model. It grants permissions to ports specified in the C source file before setting the effective user ID of the program back to that of the user that invoked it.

Operating Systems

Recent releases

  •  24 Apr 2004 06:54

    Release Notes: This release supports going to I/O permission level 3 to allow access to PCI ports.

    Recent comments

    25 Apr 2004 06:52 das67

    Re: Useable for emulation?
    allowdirectportio does not address dma and interrupts, which would be needed to use hardware acceleration. allowdirectportio uses iopl and ioperm to gain simple access to I/O ports. I use allowdirectportio to access parallel ports with programs that were already using direct x86 port access. I had to use I/O permission level 3 in order to access the I/O ports on PCI parallel port cards.

    24 Apr 2004 05:31 lhaeh

    Useable for emulation?
    It would be a milestone if their was a way that vmware people figured out a way to get this to work with their product in a way that would for example use a pci display card with hardware acceleration.


    Project Spotlight


    A Fluent OpenStack client API for Java.


    Project Spotlight

    TurnKey TWiki Appliance

    A TWiki appliance that is easy to use and lightweight.