]> git.saurik.com Git - apple/xnu.git/blame - osfmk/vm/vm_print.h
xnu-344.34.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 *
de355530
A
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.
1c79356b 11 *
de355530
A
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
1c79356b
A
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
de355530
A
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.
1c79356b
A
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
31extern void vm_map_print(
de355530 32 vm_map_t map);
1c79356b
A
33
34extern void vm_map_copy_print(
de355530 35 vm_map_copy_t copy);
1c79356b
A
36
37#include <vm/vm_object.h>
38
39extern int vm_follow_object(
40 vm_object_t object);
41
42extern 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
50extern 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>
56extern void vm_external_print(
57 vm_external_map_t map,
58 vm_size_t size);
59#endif /* MACH_PAGEMAP */
60
61extern void db_vm(void);
62
63extern vm_size_t db_vm_map_total_size(
de355530 64 vm_map_t map);
1c79356b
A
65
66#endif /* VM_PRINT_H */