From b18f86235509a1f58f43f423639255eca2f573bc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 16 Feb 1994 22:37:09 +0000 Subject: Formerly init-init.c.~9~ --- libdiskfs/init-init.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libdiskfs/init-init.c') 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); -- cgit v1.2.3