Home | History | Annotate | Line # | Download | only in uvm
uvm_ddb.h revision 1.11.48.1
      1  1.11.48.1      haad /*	$NetBSD: uvm_ddb.h,v 1.11.48.1 2008/10/19 22:18:10 haad 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.11   thorpej void	uvm_map_printit(struct vm_map *, bool,
     44        1.8  junyoung 	    void (*)(const char *, ...));
     45       1.11   thorpej void	uvm_object_printit(struct uvm_object *, bool,
     46        1.8  junyoung 	    void (*)(const char *, ...));
     47       1.11   thorpej void	uvm_page_printit(struct vm_page *, bool,
     48        1.8  junyoung 	    void (*)(const char *, ...));
     49       1.10     bjh21 void	uvm_page_printall(void (*)(const char *, ...));
     50        1.4       chs void	uvmexp_print(void (*)(const char *, ...));
     51  1.11.48.1      haad void	uvmhist_print(void (*)(const char *, ...));
     52        1.3   thorpej #endif /* DDB */
     53        1.3   thorpej 
     54        1.3   thorpej #endif /* _KERNEL */
     55        1.3   thorpej 
     56        1.6    marcus #endif /* _UVM_UVM_DDB_H_ */
     57