bug-hurd
[Top][All Lists]
Advanced

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

gnumach, new device 2?


From: Alfred M. Szmidt
Subject: gnumach, new device 2?
Date: Sun, 08 Jan 2006 18:07:49 +0100

This should be merged with `gnumach, new device' from the looks.  No
need to make lots of small patches that all depend on each other.
Explanation as always is needed (if there was one already, smack us
over the head with it).

2006-01-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * conf.c: New "io" device.
        (dev_name_list): Added "io" device.

diff -urp gnumach-mine-5-io_per_task/i386/i386at/conf.c 
gnumach-mine-6-io_device/i386/i386at/conf.c
--- gnumach-mine-5-io_per_task/i386/i386at/conf.c       2006-01-06 
23:43:24.000000000 +0100
+++ gnumach-mine-6-io_device/i386/i386at/conf.c 2006-01-06 23:43:44.000000000 
+0100
@@ -182,6 +182,9 @@
 extern vm_offset_t ioplmmap();
 #define        ioplname                "iopl"
 
+extern int     ioopen(), ioclose();
+#define ioname                 "io"
+
 extern int     kmsgopen(), kmsgclose(), kmsgread(), kmsggetstat();
 #define kmsgname               "kmsg"
 
@@ -367,6 +370,11 @@ struct dev_ops     dev_name_list[] =
          nodev,        nulldev,        nulldev,        0,
          nodev },
 
+       { ioname,       ioopen,         ioclose,        nodev,
+         nodev,        nodev,          nodev,          nodev,
+         nodev,        nulldev,        nulldev,        0,
+         nodev },
+
 #if 0
 #if    NHD > 0
        { pchdname,     pchdopen,       hdclose,        pchdread,





reply via email to

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