]> git.saurik.com Git - apple/xnu.git/blame - osfmk/vm/vm_print.h
xnu-517.tar.gz
[apple/xnu.git] / osfmk / vm / vm_print.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
43866e37 6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
1c79356b 7 *
43866e37
A
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
1c79356b
A
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
43866e37
A
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.
1c79356b
A
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>
55e303ae 33#include <machine/db_machdep.h>
1c79356b
A
34
35extern void vm_map_print(
55e303ae 36 db_addr_t map);
1c79356b
A
37
38extern void vm_map_copy_print(
55e303ae 39 db_addr_t copy);
1c79356b
A
40
41#include <vm/vm_object.h>
42
43extern int vm_follow_object(
44 vm_object_t object);
45
46extern void vm_object_print(
47 vm_object_t object,
48 boolean_t have_addr,
49 int arg_count,
50 char *modif);
51
52#include <vm/vm_page.h>
53
54extern void vm_page_print(
55 vm_page_t p);
56
57#include <mach_pagemap.h>
58#if MACH_PAGEMAP
59#include <vm/vm_external.h>
60extern void vm_external_print(
61 vm_external_map_t map,
62 vm_size_t size);
63#endif /* MACH_PAGEMAP */
64
65extern void db_vm(void);
66
67extern vm_size_t db_vm_map_total_size(
55e303ae 68 db_addr_t map);
1c79356b
A
69
70#endif /* VM_PRINT_H */