Home | History | Annotate | Line # | Download | only in include
      1  1.34  tsutsui /*	$NetBSD: pmap.h,v 1.34 2020/02/01 06:17:12 tsutsui 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  *
     16  1.15      gwr  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     17  1.15      gwr  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     18  1.15      gwr  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     19  1.18      gwr  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     20  1.18      gwr  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     21  1.15      gwr  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     22  1.15      gwr  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     23  1.15      gwr  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     24  1.15      gwr  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     25  1.15      gwr  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     26  1.15      gwr  * POSSIBILITY OF SUCH DAMAGE.
     27   1.5    glass  */
     28   1.5    glass 
     29  1.24      gwr #ifndef	_MACHINE_PMAP_H
     30  1.24      gwr #define	_MACHINE_PMAP_H
     31  1.14      gwr 
     32  1.24      gwr #ifdef	_SUN3_
     33  1.24      gwr #include <machine/pmap3.h>
     34  1.24      gwr #endif	/* SUN3 */
     35  1.24      gwr #ifdef	_SUN3X_
     36  1.24      gwr #include <machine/pmap3x.h>
     37  1.24      gwr #endif	/* SUN3X */
     38  1.27       is 
     39  1.32  tsutsui #ifdef _KERNEL
     40  1.33  tsutsui /*
     41  1.33  tsutsui  * Some pmap(9) API macros should be defined here for module(7)
     42  1.33  tsutsui  * because they are common between sun3 and sun3x. (see PR/54869)
     43  1.33  tsutsui  */
     44  1.34  tsutsui #define	pmap_update(pmap)		__nothing	/* nothing (yet) */
     45  1.33  tsutsui 
     46  1.28      chs void pmap_procwr(struct proc *, vaddr_t, size_t);
     47  1.32  tsutsui #endif
     48   1.3    glass 
     49  1.24      gwr #endif	/* _MACHINE_PMAP_H */
     50