Home | History | Annotate | Line # | Download | only in include
pte.h revision 1.18
      1  1.18    chs /*	$NetBSD: pte.h,v 1.18 2005/01/22 15:36:10 chs Exp $	*/
      2   1.7    cgd 
      3  1.11    gwr /*-
      4  1.16    gwr  * Copyright (c) 1998 The NetBSD Foundation, Inc.
      5   1.4  glass  * All rights reserved.
      6   1.4  glass  *
      7   1.4  glass  * Redistribution and use in source and binary forms, with or without
      8   1.4  glass  * modification, are permitted provided that the following conditions
      9   1.4  glass  * are met:
     10   1.4  glass  * 1. Redistributions of source code must retain the above copyright
     11   1.4  glass  *    notice, this list of conditions and the following disclaimer.
     12   1.4  glass  * 2. Redistributions in binary form must reproduce the above copyright
     13   1.4  glass  *    notice, this list of conditions and the following disclaimer in the
     14   1.4  glass  *    documentation and/or other materials provided with the distribution.
     15   1.4  glass  * 3. All advertising materials mentioning features or use of this software
     16   1.4  glass  *    must display the following acknowledgement:
     17  1.11    gwr  *        This product includes software developed by the NetBSD
     18  1.11    gwr  *        Foundation, Inc. and its contributors.
     19  1.11    gwr  * 4. Neither the name of The NetBSD Foundation nor the names of its
     20  1.11    gwr  *    contributors may be used to endorse or promote products derived
     21  1.11    gwr  *    from this software without specific prior written permission.
     22   1.4  glass  *
     23  1.11    gwr  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     24  1.11    gwr  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     25  1.11    gwr  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     26  1.13    gwr  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     27  1.13    gwr  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     28  1.11    gwr  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     29  1.11    gwr  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     30  1.11    gwr  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     31  1.11    gwr  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     32  1.11    gwr  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     33  1.11    gwr  * POSSIBILITY OF SUCH DAMAGE.
     34   1.4  glass  */
     35   1.2  glass 
     36  1.16    gwr #ifndef	_MACHINE_PTE_H
     37  1.16    gwr #define	_MACHINE_PTE_H
     38   1.2  glass 
     39  1.16    gwr #ifdef	_SUN3_
     40  1.16    gwr #include <machine/pte3.h>
     41  1.16    gwr #endif	/* SUN3 */
     42  1.16    gwr #ifdef	_SUN3X_
     43  1.16    gwr #include <machine/pte3x.h>
     44  1.16    gwr #endif	/* SUN3X */
     45  1.16    gwr 
     46  1.16    gwr #if defined(_KERNEL) || defined(_STANDALONE)
     47  1.18    chs u_int get_pte(vaddr_t va);
     48  1.18    chs void  set_pte(vaddr_t va, u_int pte);
     49  1.16    gwr #endif	/* _KERNEL */
     50   1.2  glass 
     51  1.16    gwr #endif	/* _MACHINE_PTE_H */
     52