diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-23 16:12:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-23 16:12:32 +0000 |
commit | 73c9f13809997febbf178be4123a0352ee8b8312 (patch) | |
tree | 4a514d179014528fcaa112abb942d619dc1ae9ca /sys/arch/aviion/include | |
parent | 3ea8990ba9276efe1c2bbde129074f8dd9b8c992 (diff) |
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added
to keep definitions our of user space. The MD files now follow a consistant
order -- all namespace intrusion is at the tail can be cleaned up
independently. locore, bootblocks, and libkvm still see enough visibility to
build. Checked on 90% of platforms...
Diffstat (limited to 'sys/arch/aviion/include')
-rw-r--r-- | sys/arch/aviion/include/param.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sys/arch/aviion/include/param.h b/sys/arch/aviion/include/param.h index 0e2d70fa60b..03c2dc8b63e 100644 --- a/sys/arch/aviion/include/param.h +++ b/sys/arch/aviion/include/param.h @@ -1,4 +1,5 @@ -/* $OpenBSD: param.h,v 1.3 2010/04/24 18:44:27 miod Exp $ */ +/* $OpenBSD: param.h,v 1.4 2013/03/23 16:12:21 deraadt Exp $ */ + /* * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1988 University of Utah. @@ -32,21 +33,17 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * from: Utah $Hdr: machparam.h 1.11 89/08/14$ - * - * @(#)param.h 7.8 (Berkeley) 6/28/91 */ -#ifndef _MACHINE_PARAM_H_ -#define _MACHINE_PARAM_H_ +#ifndef _MACHINE_PARAM_H_ +#define _MACHINE_PARAM_H_ -#define _MACHINE aviion -#define MACHINE "aviion" +#define _MACHINE aviion +#define MACHINE "aviion" #include <m88k/param.h> -#define KERNBASE 0x00000000 /* start of kernel virtual */ +#define KERNBASE 0x00000000 /* start of kernel virtual */ #define KERNTEXTOFF 0x00001000 /* start of kernel text */ -#endif /* !_MACHINE_PARAM_H_ */ +#endif /* _MACHINE_PARAM_H_ */ |