uvm_ddb.h revision 1.3 1 1.3 thorpej /* $NetBSD: uvm_ddb.h,v 1.3 1999/06/21 17:25:11 thorpej Exp $ */
2 1.1 jonathan
3 1.1 jonathan /*
4 1.1 jonathan *
5 1.1 jonathan * Copyright (c) 1997 Charles D. Cranor and Washington University.
6 1.1 jonathan * All rights reserved.
7 1.1 jonathan *
8 1.1 jonathan * Redistribution and use in source and binary forms, with or without
9 1.1 jonathan * modification, are permitted provided that the following conditions
10 1.1 jonathan * are met:
11 1.1 jonathan * 1. Redistributions of source code must retain the above copyright
12 1.1 jonathan * notice, this list of conditions and the following disclaimer.
13 1.1 jonathan * 2. Redistributions in binary form must reproduce the above copyright
14 1.1 jonathan * notice, this list of conditions and the following disclaimer in the
15 1.1 jonathan * documentation and/or other materials provided with the distribution.
16 1.1 jonathan * 3. All advertising materials mentioning features or use of this software
17 1.1 jonathan * must display the following acknowledgement:
18 1.1 jonathan * This product includes software developed by Charles D. Cranor and
19 1.1 jonathan * Washington University.
20 1.1 jonathan * 4. The name of the author may not be used to endorse or promote products
21 1.1 jonathan * derived from this software without specific prior written permission.
22 1.1 jonathan *
23 1.1 jonathan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24 1.1 jonathan * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25 1.1 jonathan * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 1.1 jonathan * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
27 1.1 jonathan * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 1.1 jonathan * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 1.1 jonathan * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 1.1 jonathan * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 1.1 jonathan * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32 1.1 jonathan * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 1.1 jonathan *
34 1.1 jonathan * from: Id: uvm_extern.h,v 1.1.2.21 1998/02/07 01:16:53 chs Exp
35 1.1 jonathan */
36 1.1 jonathan
37 1.1 jonathan #ifndef _UVM_UVM_DDB_H_
38 1.1 jonathan #define _UVM_UVM_DDB_H_
39 1.1 jonathan
40 1.3 thorpej #ifdef _KERNEL
41 1.3 thorpej
42 1.3 thorpej #ifdef DDB
43 1.1 jonathan void uvm_map_print __P((vm_map_t, boolean_t));
44 1.1 jonathan void uvm_map_printit __P((vm_map_t, boolean_t,
45 1.1 jonathan void (*) __P((const char *, ...))));
46 1.1 jonathan
47 1.1 jonathan void uvm_object_print __P((struct uvm_object *, boolean_t));
48 1.1 jonathan void uvm_object_printit __P((struct uvm_object *, boolean_t,
49 1.1 jonathan void (*) __P((const char *, ...))));
50 1.1 jonathan void uvm_page_print __P((struct vm_page *, boolean_t));
51 1.1 jonathan void uvm_page_printit __P((struct vm_page *, boolean_t,
52 1.1 jonathan void (*) __P((const char *, ...))));
53 1.3 thorpej #endif /* DDB */
54 1.3 thorpej
55 1.3 thorpej #endif /* _KERNEL */
56 1.3 thorpej
57 1.1 jonathan #endif _UVM_UVM_DDB_H_
58