summaryrefslogtreecommitdiff
path: root/serverboot/def_pager_setup.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-01-11 22:32:35 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-01-11 22:32:35 +0000
commitd8de5d79215dc437d3159f812d3e93a92c01063b (patch)
treeb4c8aeacbbe97c3960081ea95a3ad3df4424195c /serverboot/def_pager_setup.c
parent88487d6b67d4714d4bc63ca59a5ec7449b0bc219 (diff)
The below change is preperation for a new mach-defpager interface by Roland.
2001-01-11 Marcus Brinkmann <marcus@gnu.org> * def_pager_setup.c: Include <mach/mig_errors.h> and <mach/default_pager_types.h>. (default_pager_paging_storage): New stub.
Diffstat (limited to 'serverboot/def_pager_setup.c')
-rw-r--r--serverboot/def_pager_setup.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/serverboot/def_pager_setup.c b/serverboot/def_pager_setup.c
index 8834a379..5e2073ec 100644
--- a/serverboot/def_pager_setup.c
+++ b/serverboot/def_pager_setup.c
@@ -24,6 +24,8 @@
* the rights to redistribute these changes.
*/
#include <mach.h>
+#include <mach/mig_errors.h>
+#include <mach/default_pager_types.h>
#include <file_io.h>
@@ -93,6 +95,16 @@ remove_paging_file(file_name)
return kr;
}
+kern_return_t
+default_pager_paging_storage (mach_port_t pager,
+ mach_port_t device,
+ recnum_t *runs, mach_msg_type_number_t nrun,
+ default_pager_filename_t name,
+ boolean_t add)
+{
+ return MIG_BAD_ID;
+}
+
#if 0 /* no longer used */
/*
* Set up default pager