summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_map.c15
-rw-r--r--sys/vm/vm_map.h7
2 files changed, 15 insertions, 7 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 73e5611..119e4ee 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.22 1995/05/30 08:16:07 rgrimes Exp $
+ * $Id: vm_map.c,v 1.23 1995/07/13 08:48:26 davidg Exp $
*/
/*
@@ -2231,11 +2231,14 @@ vm_map_simplify(map, start)
* vm_map_print: [ debug ]
*/
void
-vm_map_print(map, full)
- register vm_map_t map;
+vm_map_print(imap, full, dummy3, dummy4)
+ /* db_expr_t */ int imap;
boolean_t full;
+ /* db_expr_t */ int dummy3;
+ char *dummy4;
{
register vm_map_entry_t entry;
+ register vm_map_t map = (vm_map_t)imap; /* XXX */
iprintf("%s map 0x%x: pmap=0x%x,ref=%d,nentries=%d,version=%d\n",
(map->is_main_map ? "Task" : "Share"),
@@ -2270,7 +2273,8 @@ vm_map_print(map, full)
(entry->prev->object.share_map !=
entry->object.share_map)) {
indent += 2;
- vm_map_print(entry->object.share_map, full);
+ vm_map_print((int)entry->object.share_map,
+ full, 0, (char *)0);
indent -= 2;
}
} else {
@@ -2287,7 +2291,8 @@ vm_map_print(map, full)
(entry->prev->object.vm_object !=
entry->object.vm_object)) {
indent += 2;
- vm_object_print(entry->object.vm_object, full);
+ vm_object_print((int)entry->object.vm_object,
+ full, 0, (char *)0);
indent -= 2;
}
}
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index 98ecb7e..07c17c0 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.h,v 1.5 1995/03/16 18:17:17 bde Exp $
+ * $Id: vm_map.h,v 1.6 1995/07/13 08:48:28 davidg Exp $
*/
/*
@@ -204,7 +204,10 @@ void vm_map_lookup_done __P((vm_map_t, vm_map_entry_t));
boolean_t vm_map_lookup_entry __P((vm_map_t, vm_offset_t, vm_map_entry_t *));
int vm_map_pageable __P((vm_map_t, vm_offset_t, vm_offset_t, boolean_t));
int vm_map_clean __P((vm_map_t, vm_offset_t, vm_offset_t, boolean_t, boolean_t));
-void vm_map_print __P((vm_map_t, boolean_t));
+#ifdef DDB
+void vm_map_print __P((/* db_expr_t */ int, boolean_t, /* db_expr_t */ int,
+ char *));
+#endif
int vm_map_protect __P((vm_map_t, vm_offset_t, vm_offset_t, vm_prot_t, boolean_t));
void vm_map_reference __P((vm_map_t));
int vm_map_remove __P((vm_map_t, vm_offset_t, vm_offset_t));
OpenPOWER on IntegriCloud