Hi,

On Sat, Nov 01, 2008 at 12:58:55PM +1100, Russell Shaw wrote:

> I want to do graphics card programming and need to figure out how to
> access the pci registers.

Depends on whether you want to do it from within the microkernel, or
from user space.

The microkernel uses a set of (ancient) Linux drivers with some glue
code, so anything that wants to do PCI access in the kernel, will need
to go with (ancient) internal Linux PCI interfaces.

For user space, we do not have a proper PCI interface at all -- PCI
access needs to be done by direct register poking. In my KGI port, I
simply use libpci for that...

-antrik-


  • Hurd Russell Shaw
    • Re: Hurd Shakthi Kannan
    • Re: Hurd olafBuddenhagen

Reply via email to