blob: dda5eb8bae12c443eb354af99a031a8b12e452c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "machdev.h"
#include <hurd/machdev.h>
#include <hurd/machdevdde.h>
static mach_port_t bootstrap = MACH_PORT_NULL;
void machdev_init(int argc, char **argv)
{
machdevdde_register_net();
machdev_device_init();
machdev_trivfs_init(argc, argv, MACH_PORT_NULL, "netdde", NULL, &bootstrap);
}
void machdev_run1 (void *arg)
{
machdevdde_server(arg);
}
void machdev_run2(void)
{
machdev_trivfs_server(bootstrap);
}
|