]>
Commit | Line | Data |
---|---|---|
1c79356b | 1 | /* |
91447636 | 2 | * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved. |
1c79356b A |
3 | * |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
e5568f75 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 | * |
e5568f75 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, | |
e5568f75 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> | |
55e303ae | 30 | #include <machine/db_machdep.h> |
1c79356b A |
31 | |
32 | extern void vm_map_print( | |
55e303ae | 33 | db_addr_t map); |
1c79356b A |
34 | |
35 | extern void vm_map_copy_print( | |
55e303ae | 36 | db_addr_t copy); |
1c79356b A |
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( | |
91447636 | 44 | db_addr_t object, |
1c79356b A |
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( | |
91447636 | 52 | db_addr_t p); |
1c79356b A |
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 | ||
91447636 | 64 | extern vm_map_size_t db_vm_map_total_size( |
55e303ae | 65 | db_addr_t map); |
1c79356b A |
66 | |
67 | #endif /* VM_PRINT_H */ |