Home | History | Annotate | Line # | Download | only in uvm
uvm_ddb.h revision 1.13.8.1
      1  1.13.8.1    bouyer /*	$NetBSD: uvm_ddb.h,v 1.13.8.1 2011/02/08 16:20:06 bouyer Exp $	*/
      2       1.1  jonathan 
      3       1.1  jonathan /*
      4       1.1  jonathan  * Copyright (c) 1997 Charles D. Cranor and Washington University.
      5       1.1  jonathan  * All rights reserved.
      6       1.1  jonathan  *
      7       1.1  jonathan  * Redistribution and use in source and binary forms, with or without
      8       1.1  jonathan  * modification, are permitted provided that the following conditions
      9       1.1  jonathan  * are met:
     10       1.1  jonathan  * 1. Redistributions of source code must retain the above copyright
     11       1.1  jonathan  *    notice, this list of conditions and the following disclaimer.
     12       1.1  jonathan  * 2. Redistributions in binary form must reproduce the above copyright
     13       1.1  jonathan  *    notice, this list of conditions and the following disclaimer in the
     14       1.1  jonathan  *    documentation and/or other materials provided with the distribution.
     15       1.1  jonathan  *
     16       1.1  jonathan  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     17       1.1  jonathan  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     18       1.1  jonathan  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     19       1.1  jonathan  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     20       1.1  jonathan  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     21       1.1  jonathan  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     22       1.1  jonathan  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     23       1.1  jonathan  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     24       1.1  jonathan  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     25       1.1  jonathan  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     26       1.1  jonathan  *
     27       1.1  jonathan  * from: Id: uvm_extern.h,v 1.1.2.21 1998/02/07 01:16:53 chs Exp
     28       1.1  jonathan  */
     29       1.1  jonathan 
     30       1.1  jonathan #ifndef _UVM_UVM_DDB_H_
     31       1.1  jonathan #define _UVM_UVM_DDB_H_
     32       1.1  jonathan 
     33       1.3   thorpej #ifdef _KERNEL
     34       1.3   thorpej 
     35      1.13     pooka #if defined(DDB) || defined(DEBUGPRINT)
     36      1.11   thorpej void	uvm_map_printit(struct vm_map *, bool,
     37       1.8  junyoung 	    void (*)(const char *, ...));
     38      1.11   thorpej void	uvm_object_printit(struct uvm_object *, bool,
     39       1.8  junyoung 	    void (*)(const char *, ...));
     40      1.11   thorpej void	uvm_page_printit(struct vm_page *, bool,
     41       1.8  junyoung 	    void (*)(const char *, ...));
     42      1.10     bjh21 void	uvm_page_printall(void (*)(const char *, ...));
     43       1.4       chs void	uvmexp_print(void (*)(const char *, ...));
     44      1.12     skrll void	uvmhist_print(void (*)(const char *, ...));
     45      1.13     pooka #endif /* DDB || DEBUGPRINT */
     46       1.3   thorpej 
     47       1.3   thorpej #endif /* _KERNEL */
     48       1.3   thorpej 
     49       1.6    marcus #endif /* _UVM_UVM_DDB_H_ */
     50