]> git.saurik.com Git - apple/xnu.git/blob - osfmk/vm/vm_print.h
fff318eff661cdcb243b51bdedfc8f52e6375b0c
[apple/xnu.git] / osfmk / vm / vm_print.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * file.
14 *
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25 /*
26 * @OSF_COPYRIGHT@
27 */
28
29 #ifndef VM_PRINT_H
30 #define VM_PRINT_H
31
32 #include <vm/vm_map.h>
33
34 extern void vm_map_print(
35 vm_map_t map);
36
37 extern void vm_map_copy_print(
38 vm_map_copy_t copy);
39
40 #include <vm/vm_object.h>
41
42 extern int vm_follow_object(
43 vm_object_t object);
44
45 extern void vm_object_print(
46 vm_object_t object,
47 boolean_t have_addr,
48 int arg_count,
49 char *modif);
50
51 #include <vm/vm_page.h>
52
53 extern void vm_page_print(
54 vm_page_t p);
55
56 #include <mach_pagemap.h>
57 #if MACH_PAGEMAP
58 #include <vm/vm_external.h>
59 extern void vm_external_print(
60 vm_external_map_t map,
61 vm_size_t size);
62 #endif /* MACH_PAGEMAP */
63
64 extern void db_vm(void);
65
66 extern vm_size_t db_vm_map_total_size(
67 vm_map_t map);
68
69 #endif /* VM_PRINT_H */