summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-12-01 03:06:44 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-12-01 03:06:44 +0000
commitf0665e2709cf75e9ead515f6eab21a66e501de53 (patch)
treefeed22e424fd923216e053479ae9c549b0887982 /sys/arch
parent953cd8956b4f42c23a54e82b39d2b70a98f1898d (diff)
define *reg structures; m-include protect; copyright
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/include/reg.h47
1 files changed, 46 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/reg.h b/sys/arch/hppa/include/reg.h
index 63fe692e10c..ba6db357c91 100644
--- a/sys/arch/hppa/include/reg.h
+++ b/sys/arch/hppa/include/reg.h
@@ -1,5 +1,34 @@
-/* $OpenBSD: reg.h,v 1.2 1998/08/29 01:25:14 mickey Exp $ */
+/* $OpenBSD: reg.h,v 1.3 1998/12/01 03:06:43 mickey Exp $ */
+/*
+ * Copyright (c) 1998 Michael Shalayeff
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Michael Shalayeff.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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.
+ */
/*
* Copyright (c) 1990,1994 The University of Utah and
* the Computer Systems Laboratory at the University of Utah (CSL).
@@ -24,6 +53,9 @@
* Author: Bob Wheeler, University of Utah CSL
*/
+#ifndef _MACHINE_REG_H_
+#define _MACHINE_REG_H_
+
/*
* constants for registers for use with the following routines:
*
@@ -61,3 +93,16 @@
#define CCR_MASK 0xff
+#ifndef _LOCORE
+
+struct reg {
+ u_int32_t r_regs[32];
+ /* p'bably some cr* ? */
+};
+
+struct fpreg {
+ u_int64_t fpr_regs[32];
+};
+#endif /* !_LOCORE */
+
+#endif /* _MACHINE_REG_H_ */