]> git.saurik.com Git - apple/xnu.git/blob - osfmk/vm/vm_print.h
xnu-792.6.22.tar.gz
[apple/xnu.git] / osfmk / vm / vm_print.h
1 /*
2 * Copyright (c) 2000-2004 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 #include <machine/db_machdep.h>
31
32 extern void vm_map_print(
33 db_addr_t map);
34
35 extern void vm_map_copy_print(
36 db_addr_t copy);
37
38 #include <vm/vm_object.h>
39
40 extern int vm_follow_object(
41 vm_object_t object);
42
43 extern void vm_object_print(
44 db_addr_t object,
45 boolean_t have_addr,
46 int arg_count,
47 char *modif);
48
49 #include <vm/vm_page.h>
50
51 extern void vm_page_print(
52 db_addr_t p);
53
54 #include <mach_pagemap.h>
55 #if MACH_PAGEMAP
56 #include <vm/vm_external.h>
57 extern void vm_external_print(
58 vm_external_map_t map,
59 vm_size_t size);
60 #endif /* MACH_PAGEMAP */
61
62 extern void db_vm(void);
63
64 extern vm_map_size_t db_vm_map_total_size(
65 db_addr_t map);
66
67 #endif /* VM_PRINT_H */