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/sgi | |
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/sgi')
-rw-r--r-- | sys/arch/sgi/include/param.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sys/arch/sgi/include/param.h b/sys/arch/sgi/include/param.h index fd4951f97f6..900b9f8ed44 100644 --- a/sys/arch/sgi/include/param.h +++ b/sys/arch/sgi/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.6 2012/03/19 19:11:26 miod Exp $ */ +/* $OpenBSD: param.h,v 1.7 2013/03/23 16:12:26 deraadt Exp $ */ /* * Copyright (c) 2003 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -23,21 +23,16 @@ * 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. - * */ -#ifndef _MACHINE_PARAM_H_ -#define _MACHINE_PARAM_H_ +#ifndef _MACHINE_PARAM_H_ +#define _MACHINE_PARAM_H_ -/* - * Machine dependent constants. - */ #define MACHINE "sgi" #define _MACHINE sgi -#define MACHINE_ARCH "mips64" -#define _MACHINE_ARCH mips64 - -#define MID_MACHINE MID_MIPS64 /* None but has to be defined */ +#define MACHINE_ARCH "mips64" +#define _MACHINE_ARCH mips64 +#define MID_MACHINE MID_MIPS64 /* None but has to be defined */ #ifdef _KERNEL #ifndef PAGE_SHIFT |