summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-09 18:55:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-09 18:55:23 +0000
commit7548c55007e361b876e5d71a16ace1c37d7baa68 (patch)
treebcd6f00aed694340890f1a3c094628dcb14e3a10 /sys/arch/alpha/include
parente4937de5d9fdf39c64afccf2f9f0a5884fdd8dbe (diff)
Make quad types on alpha be "long long" not "long". This means that
printf's "%lld" can be used with a quad_t or int64_t without a bogus cast.
Diffstat (limited to 'sys/arch/alpha/include')
-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
3 files changed, 11 insertions, 11 deletions
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