pmap.h revision 1.30 1 1.30 martin /* $NetBSD: pmap.h,v 1.30 2008/04/28 20:23:38 martin 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.26 gwr /*
33 1.26 gwr * NB: The details of struct pmap are exposed ONLY when
34 1.26 gwr * building a kernel. LKMs and user-level programs see
35 1.26 gwr * only this anonymous declaration. Note that the actual
36 1.26 gwr * declaration may vary on different m68k kernels.
37 1.26 gwr */
38 1.26 gwr struct pmap;
39 1.26 gwr typedef struct pmap *pmap_t;
40 1.26 gwr
41 1.24 gwr #ifdef _SUN3_
42 1.24 gwr #include <machine/pmap3.h>
43 1.24 gwr #endif /* SUN3 */
44 1.24 gwr #ifdef _SUN3X_
45 1.24 gwr #include <machine/pmap3x.h>
46 1.24 gwr #endif /* SUN3X */
47 1.27 is
48 1.28 chs void pmap_procwr(struct proc *, vaddr_t, size_t);
49 1.3 glass
50 1.24 gwr #endif /* _MACHINE_PMAP_H */
51