summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-23 16:12:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-23 16:12:32 +0000
commit73c9f13809997febbf178be4123a0352ee8b8312 (patch)
tree4a514d179014528fcaa112abb942d619dc1ae9ca /sys/arch/hp300
parent3ea8990ba9276efe1c2bbde129074f8dd9b8c992 (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/hp300')
-rw-r--r--sys/arch/hp300/include/param.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/arch/hp300/include/param.h b/sys/arch/hp300/include/param.h
index 861bf1dd1e8..4b1ffd21653 100644
--- a/sys/arch/hp300/include/param.h
+++ b/sys/arch/hp300/include/param.h
@@ -1,5 +1,4 @@
-/* $OpenBSD: param.h,v 1.25 2006/06/11 20:48:11 miod Exp $ */
-/* $NetBSD: param.h,v 1.35 1997/07/10 08:22:38 veego Exp $ */
+/* $OpenBSD: param.h,v 1.26 2013/03/23 16:12:22 deraadt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -33,18 +32,11 @@
* 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.16 92/12/20$
- *
- * @(#)param.h 8.1 (Berkeley) 6/10/93
*/
#ifndef _MACHINE_PARAM_H_
#define _MACHINE_PARAM_H_
-/*
- * Machine dependent constants for HP 9000 series 300.
- */
#define _MACHINE hp300
#define MACHINE "hp300"
@@ -54,7 +46,7 @@
#include <m68k/param.h>
-#define MSGBUFSIZE 4096
+#define MSGBUFSIZE 4096
#if defined(_KERNEL) && !defined(_LOCORE)
#define delay(us) _delay((us) << 8)
@@ -63,4 +55,4 @@
void _delay(u_int);
#endif /* _KERNEL && !_LOCORE */
-#endif /* !_MACHINE_PARAM_H_ */
+#endif /* _MACHINE_PARAM_H_ */