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