diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-27 15:04:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-27 15:04:29 +0000 |
commit | a17de848416ff3328a86fc6f9999db7f03707bfb (patch) | |
tree | 7475c50079d68348135325c3ad6fd9007fb3c7c8 | |
parent | ab33490167acce974694c094b9e8ad67033ec050 (diff) |
(trivfs_handle_port): Take new parms; use new ports interface;
initialize CNTL->protid_bucket.
-rw-r--r-- | libtrivfs/handle-port.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libtrivfs/handle-port.c b/libtrivfs/handle-port.c index 5b64e968..6f51ccb9 100644 --- a/libtrivfs/handle-port.c +++ b/libtrivfs/handle-port.c @@ -19,14 +19,18 @@ mach_port_t trivfs_handle_port (mach_port_t realnode, - int cntltype, - int protidtype) + struct port_class *control_class, + struct port_bucket *control_bucket, + struct port_class *protid_class, + struct port_bucket *protid_bucket) { struct trivfs_control *cntl; - cntl = ports_allocate_port (sizeof (struct trivfs_control), cntltype); + cntl = ports_allocate_port (control_bucket, + sizeof (struct trivfs_control), control_class); cntl->underlying = realnode; - cntl->protidtypes = protidtype; + cntl->protid_class = protid_class; + cntl->protid_bucket = protid_bucket; mutex_init (&cntl->lock); return ports_get_right (cntl); } |