| 1 |
For the existing netdde translator... |
| 2 |
|
| 3 |
Index: hurd-debian/libmachdev/machdev.h |
| 4 |
=================================================================== |
| 5 |
--- hurd-debian.orig/libmachdev/machdev.h |
| 6 |
+++ hurd-debian/libmachdev/machdev.h |
| 7 |
@@ -37,6 +37,7 @@ void * machdev_server(void *); |
| 8 |
error_t machdev_create_device_port (size_t size, void *result); |
| 9 |
int machdev_trivfs_init(int argc, char **argv, mach_port_t bootstrap_resume_task, const char *name, const char *path, mach_port_t *bootstrap); |
| 10 |
int machdev_demuxer(mach_msg_header_t *inp, mach_msg_header_t *outp); |
| 11 |
+void machdev_trivfs_server(mach_port_t bootstrap); |
| 12 |
void machdev_trivfs_server_startup(mach_port_t bootstrap); |
| 13 |
void * machdev_trivfs_server_loop(void *); |
| 14 |
void * machdev_trivfs_server_loop_forever(void *); |
| 15 |
Index: hurd-debian/libmachdev/trivfs_server.c |
| 16 |
=================================================================== |
| 17 |
--- hurd-debian.orig/libmachdev/trivfs_server.c |
| 18 |
+++ hurd-debian/libmachdev/trivfs_server.c |
| 19 |
@@ -575,3 +575,9 @@ machdev_trivfs_server_loop_forever(void |
| 20 |
/* Not reached, or machine powers off */ |
| 21 |
return NULL; |
| 22 |
} |
| 23 |
+ |
| 24 |
+void machdev_trivfs_server(mach_port_t bootstrap) |
| 25 |
+{ |
| 26 |
+ machdev_trivfs_server_startup(bootstrap); |
| 27 |
+ machdev_trivfs_server_loop (NULL); |
| 28 |
+} |