summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 19:25:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 19:25:43 +0000
commitbfdffa9f75b2ac37c9cec3940ab6aac63499b4a4 (patch)
tree4fca5d334c3805ed5f6a32b3d9837a84fc3a9520
parentb8846a2e8a00525eb61803eec4a0c9f2696c5d58 (diff)
(diskfs_shutdown_lock, diskfs_protid_class, diskfs_transboot_class,
diskfs_control_class, diskfs_execboot_class, diskfs_initboot_class, diskfs_port_bucket): New variables. (diskfs_pager_users): New function declaration.
-rw-r--r--libdiskfs/diskfs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index 0d556f7f..f3e3bb89 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -120,6 +120,7 @@ extern mach_port_t diskfs_exec_ctl; /* send right */
extern mach_port_t diskfs_exec; /* send right */
extern auth_t diskfs_auth_server_port; /* send right */
+extern struct mutex diskfs_shutdown_lock;
extern volatile struct mapped_time_value *diskfs_mtime;
@@ -138,6 +139,16 @@ extern int pager_port_type;
struct pager;
+
+/* Port classes we manage */
+extern struct port_class *diskfs_protid_class;
+extern struct port_class *diskfs_transboot_class;
+extern struct port_class *diskfs_control_class;
+extern struct port_class *diskfs_execboot_class;
+extern struct port_class *diskfs_initboot_class;
+
+extern struct port_bucket *diskfs_port_bucket;
+
/* Declarations of things the user must or may define. */
@@ -404,6 +415,10 @@ void diskfs_shutdown_pager ();
right) for the file contents of NP. */
mach_port_t diskfs_get_filemap (struct node *np);
+/* The user must define this function. Return true if there are pager
+ ports exported that might be in use by users. */
+int diskfs_pager_users ();
+
/* The user must define this function. Return a `struct pager *' suitable
for use as an argument to diskfs_register_memory_fault_area that
refers to the pager returned by diskfs_get_filemap for node NP.