From 73c9f13809997febbf178be4123a0352ee8b8312 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 23 Mar 2013 16:12:32 +0000 Subject: 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... --- sys/arch/aviion/include/param.h | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'sys/arch/aviion/include') 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 -#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_ */ -- cgit v1.2.3