bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

user-space device drivers - hurd


From: Shakthi Kannan
Subject: user-space device drivers - hurd
Date: Wed, 14 Sep 2005 07:41:33 -0700 (PDT)

Greetings!

I am trying to understand the device driver interface
between GNU Mach 1.3 and GNU Hurd (using Debian K8 on
x86).

Driver files in i386/i386at in gnumach-1-branch get
compiled.

But, I am looking for some basic (hello world?)
example to understand how the device interfaces in GNU
Hurd:

http://www.gnu.org/software/hurd/gnumach-doc/mach_10.html#SEC89

interact with its particular GNU mach driver
probe/open/close/read/write function in gnumach.

In GNU/Linux kernel, we register a driver with the
kernel and use device major and minor numbers. I am a
little lost with gnumach and gnu hurd.

I'd really, really appreciate a simple example to
illustrate the control flow.

Also, if we want to just write user-space device
drivers on GNU Hurd to read/write from some I/O port
or PCI memory space, can we do this? Are there any
function calls that allow us to do this?

I'd appreciate any feedback in this regard,

Thanks,

SK

------------------------------------------------------------
Shakthi Kannan, MS
Software Engineer, Specsoft (Hexaware Technologies)
[E]: shaks@shakthimaan.com           [M]: (91) 98407-87007
[W]: http://www.shakthimaan.com      [L]: Chennai, India
------------------------------------------------------------


                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]