| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: param.h,v 1.706 2021/12/21 18:59:22 thorpej Exp $ */ | | 1 | /* $NetBSD: param.h,v 1.707 2022/03/03 07:31:24 riastradh Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 1982, 1986, 1989, 1993 | | 4 | * Copyright (c) 1982, 1986, 1989, 1993 |
5 | * The Regents of the University of California. All rights reserved. | | 5 | * The Regents of the University of California. All rights reserved. |
6 | * (c) UNIX System Laboratories, Inc. | | 6 | * (c) UNIX System Laboratories, Inc. |
7 | * All or some portions of this file are derived from material licensed | | 7 | * All or some portions of this file are derived from material licensed |
8 | * to the University of California by American Telephone and Telegraph | | 8 | * to the University of California by American Telephone and Telegraph |
9 | * Co. or Unix System Laboratories, Inc. and are reproduced herein with | | 9 | * Co. or Unix System Laboratories, Inc. and are reproduced herein with |
10 | * the permission of UNIX System Laboratories, Inc. | | 10 | * the permission of UNIX System Laboratories, Inc. |
11 | * | | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | | 12 | * Redistribution and use in source and binary forms, with or without |
13 | * modification, are permitted provided that the following conditions | | 13 | * modification, are permitted provided that the following conditions |
14 | * are met: | | 14 | * are met: |
| @@ -57,49 +57,49 @@ | | | @@ -57,49 +57,49 @@ |
57 | * m = minor version; a minor number of 99 indicates current. | | 57 | * m = minor version; a minor number of 99 indicates current. |
58 | * r = 0 (*) | | 58 | * r = 0 (*) |
59 | * p = patchlevel | | 59 | * p = patchlevel |
60 | * | | 60 | * |
61 | * When new releases are made, src/gnu/usr.bin/groff/tmac/mdoc.local | | 61 | * When new releases are made, src/gnu/usr.bin/groff/tmac/mdoc.local |
62 | * needs to be updated and the changes sent back to the groff maintainers. | | 62 | * needs to be updated and the changes sent back to the groff maintainers. |
63 | * | | 63 | * |
64 | * (*) Up to 2.0I "release" used to be "",A-Z,Z[A-Z] but numeric | | 64 | * (*) Up to 2.0I "release" used to be "",A-Z,Z[A-Z] but numeric |
65 | * e.g. NetBSD-1.2D = 102040000 ('D' == 4) | | 65 | * e.g. NetBSD-1.2D = 102040000 ('D' == 4) |
66 | * NetBSD-2.0H (200080000) was changed on 20041001 to: | | 66 | * NetBSD-2.0H (200080000) was changed on 20041001 to: |
67 | * 2.99.9 (299000900) | | 67 | * 2.99.9 (299000900) |
68 | */ | | 68 | */ |
69 | | | 69 | |
70 | #define __NetBSD_Version__ 999009300 /* NetBSD 9.99.93 */ | | 70 | #define __NetBSD_Version__ 999009400 /* NetBSD 9.99.94 */ |
71 | | | 71 | |
72 | #define __NetBSD_Prereq__(M,m,p) (((((M) * 100000000) + \ | | 72 | #define __NetBSD_Prereq__(M,m,p) (((((M) * 100000000) + \ |
73 | (m) * 1000000) + (p) * 100) <= __NetBSD_Version__) | | 73 | (m) * 1000000) + (p) * 100) <= __NetBSD_Version__) |
74 | | | 74 | |
75 | /* | | 75 | /* |
76 | * Historical NetBSD #define | | 76 | * Historical NetBSD #define |
77 | * | | 77 | * |
78 | * NetBSD 1.4 was the last release for which this value was incremented. | | 78 | * NetBSD 1.4 was the last release for which this value was incremented. |
79 | * The value is now permanently fixed at 199905. It will never be | | 79 | * The value is now permanently fixed at 199905. It will never be |
80 | * changed again. | | 80 | * changed again. |
81 | * | | 81 | * |
82 | * New code must use __NetBSD_Version__ instead, and should not even | | 82 | * New code must use __NetBSD_Version__ instead, and should not even |
83 | * count on NetBSD being defined. | | 83 | * count on NetBSD being defined. |
84 | * | | 84 | * |
85 | */ | | 85 | */ |
86 | | | 86 | |
87 | #define NetBSD 199905 /* NetBSD version (year & month). */ | | 87 | #define NetBSD 199905 /* NetBSD version (year & month). */ |
88 | | | 88 | |
89 | /* | | 89 | /* |
90 | * These macros determine if we are running in protected mode or not. | | 90 | * These macros determine if we are running in protected mode or not. |
91 | * _HARDKERNEL: code uses kernel namespace and runs in hw priviledged mode | | 91 | * _HARDKERNEL: code uses kernel namespace and runs in hw privileged mode |
92 | * _SOFTKERNEL: code uses kernel namespace but runs without hw priviledges | | 92 | * _SOFTKERNEL: code uses kernel namespace but runs without hw privileges |
93 | */ | | 93 | */ |
94 | #if defined(_KERNEL) && !defined(_RUMPKERNEL) | | 94 | #if defined(_KERNEL) && !defined(_RUMPKERNEL) |
95 | #define _HARDKERNEL | | 95 | #define _HARDKERNEL |
96 | #endif | | 96 | #endif |
97 | #if defined(_KERNEL) && defined(_RUMPKERNEL) | | 97 | #if defined(_KERNEL) && defined(_RUMPKERNEL) |
98 | #define _SOFTKERNEL | | 98 | #define _SOFTKERNEL |
99 | #endif | | 99 | #endif |
100 | | | 100 | |
101 | #include <sys/null.h> | | 101 | #include <sys/null.h> |
102 | | | 102 | |
103 | #ifndef __ASSEMBLER__ | | 103 | #ifndef __ASSEMBLER__ |
104 | #include <sys/inttypes.h> | | 104 | #include <sys/inttypes.h> |
105 | #include <sys/types.h> | | 105 | #include <sys/types.h> |