summaryrefslogtreecommitdiff
path: root/libdiskfs/init-init.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-16 22:37:09 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-16 22:37:09 +0000
commitb18f86235509a1f58f43f423639255eca2f573bc (patch)
tree6237f09c5963e93e3a31dbb3ec39090b2aba63b8 /libdiskfs/init-init.c
parent37ea7ab6910543aeb8f31024fe6282814c9b0c78 (diff)
Formerly init-init.c.~9~
Diffstat (limited to 'libdiskfs/init-init.c')
-rw-r--r--libdiskfs/init-init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c
index 66acf7e5..c879cdce 100644
--- a/libdiskfs/init-init.c
+++ b/libdiskfs/init-init.c
@@ -56,11 +56,8 @@ diskfs_init_diskfs (void)
mach_port_deallocate (mach_task_self (), dev);
}
- assert (diskfs_host_priv != MACH_PORT_NULL); /* XXX */
assert (diskfs_master_device != MACH_PORT_NULL); /* XXX */
- ports_wire_threads = diskfs_host_priv;
-
diskfs_control_port = ports_allocate_port(sizeof (struct port_info), PT_CTL);
ports_port_ref (diskfs_control_port);
@@ -69,7 +66,7 @@ diskfs_init_diskfs (void)
device_open (diskfs_master_device, 0, "time", &timedev);
device_map (timedev, VM_PROT_READ, 0, sizeof (mapped_time_value_t), &obj, 0);
- vm_map (mach_task_self (), (vm_address_t *)diskfs_mtime,
+ vm_map (mach_task_self (), (vm_address_t *)&diskfs_mtime,
sizeof (mapped_time_value_t), 0, 1, obj, 0, 0, VM_PROT_READ,
VM_PROT_READ, VM_INHERIT_NONE);
mach_port_deallocate (mach_task_self (), timedev);