| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: pmap.h,v 1.30 2020/03/14 14:05:43 ad Exp $ */ | | 1 | /* $NetBSD: pmap.h,v 1.31 2020/07/06 09:10:02 rin Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (C) 1995, 1996 Wolfgang Solfrank. | | 4 | * Copyright (C) 1995, 1996 Wolfgang Solfrank. |
5 | * Copyright (C) 1995, 1996 TooLs GmbH. | | 5 | * Copyright (C) 1995, 1996 TooLs GmbH. |
6 | * All rights reserved. | | 6 | * All rights reserved. |
7 | * | | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | | 8 | * Redistribution and use in source and binary forms, with or without |
9 | * modification, are permitted provided that the following conditions | | 9 | * modification, are permitted provided that the following conditions |
10 | * are met: | | 10 | * are met: |
11 | * 1. Redistributions of source code must retain the above copyright | | 11 | * 1. Redistributions of source code must retain the above copyright |
12 | * notice, this list of conditions and the following disclaimer. | | 12 | * notice, this list of conditions and the following disclaimer. |
13 | * 2. Redistributions in binary form must reproduce the above copyright | | 13 | * 2. Redistributions in binary form must reproduce the above copyright |
14 | * notice, this list of conditions and the following disclaimer in the | | 14 | * notice, this list of conditions and the following disclaimer in the |
| @@ -28,27 +28,27 @@ | | | @@ -28,27 +28,27 @@ |
28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | | 28 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | | 29 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | | 30 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 31 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
32 | */ | | 32 | */ |
33 | | | 33 | |
34 | #ifndef _POWERPC_OEA_PMAP_H_ | | 34 | #ifndef _POWERPC_OEA_PMAP_H_ |
35 | #define _POWERPC_OEA_PMAP_H_ | | 35 | #define _POWERPC_OEA_PMAP_H_ |
36 | | | 36 | |
37 | #ifdef _LOCORE | | 37 | #ifdef _LOCORE |
38 | #error use assym.h instead | | 38 | #error use assym.h instead |
39 | #endif | | 39 | #endif |
40 | | | 40 | |
41 | #if defined(_LKM) || defined(_MODULE) | | 41 | #ifdef _MODULE |
42 | #error this file should not be included by loadable kernel modules | | 42 | #error this file should not be included by loadable kernel modules |
43 | #endif | | 43 | #endif |
44 | | | 44 | |
45 | #ifdef _KERNEL_OPT | | 45 | #ifdef _KERNEL_OPT |
46 | #include "opt_ppcarch.h" | | 46 | #include "opt_ppcarch.h" |
47 | #endif | | 47 | #endif |
48 | #include <powerpc/oea/pte.h> | | 48 | #include <powerpc/oea/pte.h> |
49 | | | 49 | |
50 | /* | | 50 | /* |
51 | * Pmap stuff | | 51 | * Pmap stuff |
52 | */ | | 52 | */ |
53 | struct pmap { | | 53 | struct pmap { |
54 | #ifdef PPC_OEA64 | | 54 | #ifdef PPC_OEA64 |