Home | History | Annotate | Line # | Download | only in include
pmap.h revision 1.27.42.1
      1  1.27.42.1  skrll /*	$NetBSD: pmap.h,v 1.27.42.1 2005/01/24 08:34:54 skrll Exp $	*/
      2       1.10    cgd 
      3       1.15    gwr /*-
      4       1.24    gwr  * Copyright (c) 1998 The NetBSD Foundation, Inc.
      5        1.5  glass  * All rights reserved.
      6        1.5  glass  *
      7        1.5  glass  * Redistribution and use in source and binary forms, with or without
      8        1.5  glass  * modification, are permitted provided that the following conditions
      9        1.5  glass  * are met:
     10        1.5  glass  * 1. Redistributions of source code must retain the above copyright
     11        1.5  glass  *    notice, this list of conditions and the following disclaimer.
     12        1.5  glass  * 2. Redistributions in binary form must reproduce the above copyright
     13        1.5  glass  *    notice, this list of conditions and the following disclaimer in the
     14        1.5  glass  *    documentation and/or other materials provided with the distribution.
     15        1.5  glass  * 3. All advertising materials mentioning features or use of this software
     16        1.5  glass  *    must display the following acknowledgement:
     17       1.15    gwr  *        This product includes software developed by the NetBSD
     18       1.15    gwr  *        Foundation, Inc. and its contributors.
     19       1.15    gwr  * 4. Neither the name of The NetBSD Foundation nor the names of its
     20       1.15    gwr  *    contributors may be used to endorse or promote products derived
     21       1.15    gwr  *    from this software without specific prior written permission.
     22        1.5  glass  *
     23       1.15    gwr  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     24       1.15    gwr  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     25       1.15    gwr  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     26       1.18    gwr  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     27       1.18    gwr  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     28       1.15    gwr  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     29       1.15    gwr  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     30       1.15    gwr  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     31       1.15    gwr  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     32       1.15    gwr  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     33       1.15    gwr  * POSSIBILITY OF SUCH DAMAGE.
     34        1.5  glass  */
     35        1.5  glass 
     36       1.24    gwr #ifndef	_MACHINE_PMAP_H
     37       1.24    gwr #define	_MACHINE_PMAP_H
     38       1.14    gwr 
     39       1.26    gwr /*
     40       1.26    gwr  * NB:  The details of struct pmap are exposed ONLY when
     41       1.26    gwr  * building a kernel.  LKMs and user-level programs see
     42       1.26    gwr  * only this anonymous declaration.  Note that the actual
     43       1.26    gwr  * declaration may vary on different m68k kernels.
     44       1.26    gwr  */
     45       1.26    gwr struct pmap;
     46       1.26    gwr typedef struct pmap *pmap_t;
     47       1.26    gwr 
     48       1.24    gwr #ifdef	_SUN3_
     49       1.24    gwr #include <machine/pmap3.h>
     50       1.24    gwr #endif	/* SUN3 */
     51       1.24    gwr #ifdef	_SUN3X_
     52       1.24    gwr #include <machine/pmap3x.h>
     53       1.24    gwr #endif	/* SUN3X */
     54       1.27     is 
     55  1.27.42.1  skrll void pmap_procwr(struct proc *, vaddr_t, size_t);
     56        1.3  glass 
     57       1.24    gwr #endif	/* _MACHINE_PMAP_H */
     58