From 0109a74828576936780a17d57fdf6a617a638465 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 10 Feb 1994 19:16:41 +0000 Subject: Formerly init-init.c.~3~ --- libdiskfs/init-init.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libdiskfs') diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c index e32207a4..9c8adc56 100644 --- a/libdiskfs/init-init.c +++ b/libdiskfs/init-init.c @@ -22,6 +22,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" #include +mach_port_t diskfs_host_priv; +mach_port_t diskfs_master_device; +mach_port_t diskfs_default_pager; +mach_port_t diskfs_control_port; +struct mapped_time_value diskfs_mtime; + +spin_lock_t diskfs_node_refcnt_lock = SPIN_LOCK_INITIALIZER; + /* Call this after arguments have been parsed to initialize the library. */ void @@ -50,6 +58,8 @@ diskfs_init_diskfs (void) 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 = ((struct port_info *)ports_allocate_port(sizeof (struct port_info), PT_CTL))->port; -- cgit v1.2.3