summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/trap.c8
-rw-r--r--sys/arch/alpha/include/intr.h4
-rw-r--r--sys/arch/alpha/include/reg.h8
-rw-r--r--sys/arch/alpha/include/types.h10
4 files changed, 15 insertions, 15 deletions
diff --git a/sys/arch/alpha/alpha/trap.c b/sys/arch/alpha/alpha/trap.c
index a28209ea907..31e6fa36194 100644
--- a/sys/arch/alpha/alpha/trap.c
+++ b/sys/arch/alpha/alpha/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.25 2001/01/20 20:27:40 art Exp $ */
+/* $OpenBSD: trap.c,v 1.26 2001/07/09 18:55:21 millert Exp $ */
/* $NetBSD: trap.c,v 1.52 2000/05/24 16:48:33 thorpej Exp $ */
/*-
@@ -602,8 +602,8 @@ syscall(code, framep)
int error, numsys;
u_int64_t opc;
u_quad_t sticks;
- u_int64_t rval[2];
- u_int64_t args[10]; /* XXX */
+ u_long rval[2];
+ u_long args[10]; /* XXX */
u_int hidden, nargs;
#ifdef COMPAT_OSF1
extern struct emul emul_osf1;
@@ -661,7 +661,7 @@ syscall(code, framep)
if (nargs > 10) /* XXX */
panic("syscall: too many args (%d)", nargs);
error = copyin((caddr_t)(alpha_pal_rdusp()), &args[6],
- (nargs - 6) * sizeof(u_int64_t));
+ (nargs - 6) * sizeof(u_long));
case 6:
args[5] = framep->tf_regs[FRAME_A5];
case 5:
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h
index 1135b7bdc12..6fb510601a2 100644
--- a/sys/arch/alpha/include/intr.h
+++ b/sys/arch/alpha/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.10 2001/06/24 17:05:26 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.11 2001/07/09 18:55:22 millert Exp $ */
/* $NetBSD: intr.h,v 1.25 2000/05/23 05:12:56 thorpej Exp $ */
/*
@@ -84,7 +84,7 @@ _splraise(s)
/*
* simulated software interrupt register
*/
-extern u_int64_t ssir;
+extern u_long ssir;
#define SIR_NET 0x1
#define SIR_CLOCK 0x2
diff --git a/sys/arch/alpha/include/reg.h b/sys/arch/alpha/include/reg.h
index f7f9dcde9ed..4f0896553c0 100644
--- a/sys/arch/alpha/include/reg.h
+++ b/sys/arch/alpha/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.3 1996/10/30 22:39:25 niklas Exp $ */
+/* $OpenBSD: reg.h,v 1.4 2001/07/09 18:55:22 millert Exp $ */
/* $NetBSD: reg.h,v 1.2 1995/03/28 18:14:07 jtc Exp $ */
/*
@@ -74,7 +74,7 @@
#define R_ZERO 31
struct reg {
- u_int64_t r_regs[32];
+ u_long r_regs[32];
};
/*
@@ -87,8 +87,8 @@ struct reg {
* That array has to look exactly like 'struct reg' though.
*/
struct fpreg {
- u_int64_t fpr_regs[32];
- u_int64_t fpr_cr;
+ u_long fpr_regs[32];
+ u_long fpr_cr;
};
#ifdef _KERNEL
diff --git a/sys/arch/alpha/include/types.h b/sys/arch/alpha/include/types.h
index b111d7ada10..f3f3f5a2993 100644
--- a/sys/arch/alpha/include/types.h
+++ b/sys/arch/alpha/include/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.8 2000/11/16 04:33:47 ericj Exp $ */
+/* $OpenBSD: types.h,v 1.9 2001/07/09 18:55:22 millert Exp $ */
/* $NetBSD: types.h,v 1.6 1996/12/05 00:13:47 cgd Exp $ */
/*-
@@ -73,11 +73,11 @@ typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
typedef unsigned int uint32_t;
-typedef long int64_t;
-typedef unsigned long u_int64_t;
-typedef unsigned long uint64_t;
+typedef long long int64_t;
+typedef unsigned long long u_int64_t;
+typedef unsigned long long uint64_t;
-typedef int64_t register_t;
+typedef long register_t;
#define __BROKEN_INDIRECT_CONFIG