Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Add definitions of C99 minimum-width and greatest-w...



details:   https://anonhg.NetBSD.org/src/rev/1708ebdfae7f
branches:  trunk
changeset: 508582:1708ebdfae7f
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Apr 14 12:19:49 2001 +0000

description:
Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.

diffstat:

 sys/arch/alpha/include/Makefile            |  12 ++--
 sys/arch/alpha/include/int_mwgwtypes.h     |  68 +++++++++++++++++++++++
 sys/arch/amiga/include/Makefile            |  11 ++-
 sys/arch/amiga/include/int_mwgwtypes.h     |   3 +
 sys/arch/amigappc/include/Makefile         |   8 +-
 sys/arch/amigappc/include/int_mwgwtypes.h  |   3 +
 sys/arch/arc/include/Makefile              |  10 +-
 sys/arch/arc/include/int_mwgwtypes.h       |   3 +
 sys/arch/arm/include/Makefile              |  12 ++--
 sys/arch/arm/include/int_mwgwtypes.h       |  77 ++++++++++++++++++++++++++
 sys/arch/arm26/include/Makefile            |   6 +-
 sys/arch/arm26/include/int_mwgwtypes.h     |   3 +
 sys/arch/arm32/include/Makefile            |  12 ++--
 sys/arch/arm32/include/int_mwgwtypes.h     |   3 +
 sys/arch/atari/include/Makefile            |  11 ++-
 sys/arch/atari/include/int_mwgwtypes.h     |   3 +
 sys/arch/bebox/include/Makefile            |   8 +-
 sys/arch/bebox/include/int_mwgwtypes.h     |   3 +
 sys/arch/cobalt/include/Makefile           |  12 ++--
 sys/arch/cobalt/include/int_mwgwtypes.h    |   3 +
 sys/arch/dnard/include/int_mwgwtypes.h     |   3 +
 sys/arch/dreamcast/include/Makefile        |   8 +-
 sys/arch/dreamcast/include/int_mwgwtypes.h |   3 +
 sys/arch/evbsh3/include/Makefile           |   8 +-
 sys/arch/evbsh3/include/int_mwgwtypes.h    |   3 +
 sys/arch/hp300/include/Makefile            |  11 ++-
 sys/arch/hp300/include/int_mwgwtypes.h     |   3 +
 sys/arch/hpcarm/include/Makefile           |  12 ++--
 sys/arch/hpcarm/include/int_mwgwtypes.h    |   3 +
 sys/arch/hpcmips/include/Makefile          |  14 ++--
 sys/arch/hpcmips/include/int_mwgwtypes.h   |   3 +
 sys/arch/hpcsh/include/Makefile            |   8 +-
 sys/arch/hpcsh/include/int_mwgwtypes.h     |   3 +
 sys/arch/i386/include/Makefile             |   8 +-
 sys/arch/i386/include/int_mwgwtypes.h      |  77 ++++++++++++++++++++++++++
 sys/arch/luna68k/include/Makefile          |   9 +-
 sys/arch/luna68k/include/int_mwgwtypes.h   |   3 +
 sys/arch/m68k/include/Makefile             |  10 +-
 sys/arch/m68k/include/int_mwgwtypes.h      |  77 ++++++++++++++++++++++++++
 sys/arch/mac68k/include/Makefile           |  11 ++-
 sys/arch/mac68k/include/int_mwgwtypes.h    |   3 +
 sys/arch/macppc/include/Makefile           |  11 ++-
 sys/arch/macppc/include/int_mwgwtypes.h    |   3 +
 sys/arch/mips/include/Makefile             |  12 ++--
 sys/arch/mips/include/int_mwgwtypes.h      |  77 ++++++++++++++++++++++++++
 sys/arch/mipsco/include/Makefile           |  10 +-
 sys/arch/mipsco/include/int_mwgwtypes.h    |   3 +
 sys/arch/mmeye/include/Makefile            |  10 +-
 sys/arch/mmeye/include/int_mwgwtypes.h     |   3 +
 sys/arch/mvme68k/include/Makefile          |   6 +-
 sys/arch/mvme68k/include/int_mwgwtypes.h   |   3 +
 sys/arch/news68k/include/Makefile          |  10 +-
 sys/arch/news68k/include/int_mwgwtypes.h   |   3 +
 sys/arch/newsmips/include/Makefile         |   4 +-
 sys/arch/newsmips/include/int_mwgwtypes.h  |   3 +
 sys/arch/next68k/include/Makefile          |  11 ++-
 sys/arch/next68k/include/int_mwgwtypes.h   |   3 +
 sys/arch/ofppc/include/Makefile            |  10 +-
 sys/arch/ofppc/include/int_mwgwtypes.h     |   3 +
 sys/arch/pc532/include/Makefile            |   8 +-
 sys/arch/pc532/include/int_mwgwtypes.h     |  77 ++++++++++++++++++++++++++
 sys/arch/pmax/include/Makefile             |  12 ++--
 sys/arch/pmax/include/int_mwgwtypes.h      |   3 +
 sys/arch/powerpc/include/Makefile          |  10 +-
 sys/arch/powerpc/include/int_mwgwtypes.h   |  77 ++++++++++++++++++++++++++
 sys/arch/prep/include/Makefile             |   8 +-
 sys/arch/prep/include/int_mwgwtypes.h      |   3 +
 sys/arch/sandpoint/include/Makefile        |  10 +-
 sys/arch/sandpoint/include/int_mwgwtypes.h |   3 +
 sys/arch/sgimips/include/Makefile          |  11 ++-
 sys/arch/sgimips/include/int_mwgwtypes.h   |   3 +
 sys/arch/sh3/include/int_mwgwtypes.h       |  77 ++++++++++++++++++++++++++
 sys/arch/sparc/include/Makefile            |  10 +-
 sys/arch/sparc/include/int_mwgwtypes.h     |  87 ++++++++++++++++++++++++++++++
 sys/arch/sparc64/include/Makefile          |  12 ++--
 sys/arch/sparc64/include/int_mwgwtypes.h   |  87 ++++++++++++++++++++++++++++++
 sys/arch/sun2/include/int_mwgwtypes.h      |   3 +
 sys/arch/sun3/include/Makefile             |  14 ++--
 sys/arch/sun3/include/int_mwgwtypes.h      |   3 +
 sys/arch/vax/include/Makefile              |   4 +-
 sys/arch/vax/include/int_mwgwtypes.h       |  77 ++++++++++++++++++++++++++
 sys/arch/x68k/include/Makefile             |  12 ++--
 sys/arch/x68k/include/int_mwgwtypes.h      |   3 +
 83 files changed, 1156 insertions(+), 194 deletions(-)

diffs (truncated from 2042 to 300 lines):

diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/alpha/include/Makefile
--- a/sys/arch/alpha/include/Makefile   Sat Apr 14 08:36:12 2001 +0000
+++ b/sys/arch/alpha/include/Makefile   Sat Apr 14 12:19:49 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2000/06/26 15:42:16 kleink Exp $
+#      $NetBSD: Makefile,v 1.14 2001/04/14 12:19:49 kleink Exp $
 
 KDIR=  /sys/arch/alpha/include
 INCSDIR= /usr/include/alpha
@@ -6,10 +6,10 @@
 INCS=  alpha_cpu.h ansi.h aout_machdep.h asm.h atomic.h autoconf.h bswap.h \
        bus.h bwx.h cdefs.h cfbreg.h conf.h cpu.h cpuconf.h db_machdep.h \
        disklabel.h ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       fbio.h float.h frame.h ieee.h ieeefp.h int_types.h intr.h kbio.h \
-       kcore.h limits.h lock.h math.h pal.h param.h pcb.h pio.h pmap.h proc.h \
-       profile.h prom.h psl.h pte.h ptrace.h reg.h rpb.h setjmp.h \
-       signal.h stdarg.h sysarch.h types.h varargs.h vmparam.h \
-       vuid_event.h z8530var.h
+       fbio.h float.h frame.h ieee.h ieeefp.h int_mwgwtypes.h int_types.h \
+       intr.h kbio.h kcore.h limits.h lock.h math.h pal.h param.h pcb.h \
+       pio.h pmap.h proc.h profile.h prom.h psl.h pte.h ptrace.h reg.h \
+       rpb.h setjmp.h signal.h stdarg.h sysarch.h types.h varargs.h \
+       vmparam.h vuid_event.h z8530var.h
 
 .include <bsd.kinc.mk>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/alpha/include/int_mwgwtypes.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/include/int_mwgwtypes.h    Sat Apr 14 12:19:49 2001 +0000
@@ -0,0 +1,68 @@
+/*     $NetBSD: int_mwgwtypes.h,v 1.1 2001/04/14 12:19:49 kleink Exp $ */
+
+/*-
+ * Copyright (c) 2001 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Klaus Klein.
+ *
+ * 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 the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``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 FOUNDATION OR CONTRIBUTORS
+ * 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.
+ */
+
+#ifndef _ALPHA_INT_MWGWTYPES_H_
+#define _ALPHA_INT_MWGWTYPES_H_
+
+/*
+ * 7.18.1 Integer types
+ */
+
+/* 7.18.1.2 Minimum-width integer types */
+
+typedef        __signed char             int_least8_t;
+typedef        unsigned char            uint_least8_t;
+typedef        short int                int_least16_t;
+typedef        unsigned short int      uint_least16_t;
+typedef        int                      int_least32_t;
+typedef        unsigned int            uint_least32_t;
+#ifdef __COMPILER_INT64__
+typedef        __COMPILER_INT64__       int_least64_t;
+typedef        __COMPILER_UINT64__     uint_least64_t;
+#else
+typedef        long int                 int_least64_t;
+typedef        unsigned long int       uint_least64_t;
+#endif
+
+
+/* 7.18.1.5 Greatest-width integer types */
+
+typedef        long int                      intmax_t;
+typedef        unsigned long int            uintmax_t;
+
+#endif /* !_ALPHA_INT_MWGWTYPES_H_ */
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/amiga/include/Makefile
--- a/sys/arch/amiga/include/Makefile   Sat Apr 14 08:36:12 2001 +0000
+++ b/sys/arch/amiga/include/Makefile   Sat Apr 14 12:19:49 2001 +0000
@@ -1,13 +1,14 @@
-#      $NetBSD: Makefile,v 1.9 2000/06/26 15:42:19 kleink Exp $
+#      $NetBSD: Makefile,v 1.10 2001/04/14 12:19:49 kleink Exp $
 
 KDIR=  /sys/arch/amiga/include
 INCSDIR= /usr/include/amiga
 
 INCS=  ansi.h aout_machdep.h asm.h bswap.h bus.h cdefs.h conf.h cpu.h \
        cpufunc.h db_machdep.h disklabel.h elf_machdep.h endian.h \
-       endian_machdep.h fbio.h float.h frame.h ieee.h ieeefp.h int_types.h \
-       intr.h kcore.h limits.h lock.h math.h mtpr.h param.h pcb.h pmap.h \
-       proc.h profile.h psl.h pte.h ptrace.h reg.h setjmp.h signal.h \
-       stdarg.h svr4_machdep.h trap.h types.h varargs.h vmparam.h
+       endian_machdep.h fbio.h float.h frame.h ieee.h ieeefp.h \
+       int_mwgwtypes.h int_types.h intr.h kcore.h limits.h lock.h math.h \
+       mtpr.h param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h \
+       reg.h setjmp.h signal.h stdarg.h svr4_machdep.h trap.h types.h \
+       varargs.h vmparam.h
 
 .include <bsd.kinc.mk>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/amiga/include/int_mwgwtypes.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/amiga/include/int_mwgwtypes.h    Sat Apr 14 12:19:49 2001 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: int_mwgwtypes.h,v 1.1 2001/04/14 12:19:50 kleink Exp $ */
+
+#include <m68k/int_mwgwtypes.h>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/amigappc/include/Makefile
--- a/sys/arch/amigappc/include/Makefile        Sat Apr 14 08:36:12 2001 +0000
+++ b/sys/arch/amigappc/include/Makefile        Sat Apr 14 12:19:49 2001 +0000
@@ -1,13 +1,13 @@
-#      $NetBSD: Makefile,v 1.3 2000/06/26 15:42:21 kleink Exp $
+#      $NetBSD: Makefile,v 1.4 2001/04/14 12:19:50 kleink Exp $
 
 KDIR=  /sys/arch/amigappc/include
 INCSDIR= /usr/include/amigappc
 
 INCS=  ansi.h aout_machdep.h asm.h bswap.h bus.h cdefs.h conf.h cpu.h \
        cpufunc.h db_machdep.h disklabel.h elf_machdep.h endian.h fbio.h \
-       float.h frame.h ieee.h ieeefp.h int_types.h intr.h kcore.h limits.h \
-       mtpr.h param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h \
-       reg.h setjmp.h signal.h stdarg.h svr4_machdep.h trap.h \
+       float.h frame.h ieee.h ieeefp.h int_mwgwtypes.h int_types.h intr.h \
+       kcore.h limits.h mtpr.h param.h pcb.h pmap.h proc.h profile.h psl.h \
+       pte.h ptrace.h reg.h setjmp.h signal.h stdarg.h svr4_machdep.h trap.h \
        types.h varargs.h vmparam.h
 
 .include <bsd.kinc.mk>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/amigappc/include/int_mwgwtypes.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/amigappc/include/int_mwgwtypes.h Sat Apr 14 12:19:49 2001 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: int_mwgwtypes.h,v 1.1 2001/04/14 12:19:50 kleink Exp $ */
+
+#include <powerpc/int_mwgwtypes.h>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/arc/include/Makefile
--- a/sys/arch/arc/include/Makefile     Sat Apr 14 08:36:12 2001 +0000
+++ b/sys/arch/arc/include/Makefile     Sat Apr 14 12:19:49 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2000/06/26 15:42:22 kleink Exp $
+#      $NetBSD: Makefile,v 1.18 2001/04/14 12:19:50 kleink Exp $
 
 KDIR=  /sys/arch/arc/include
 INCSDIR= /usr/include/arc
@@ -8,9 +8,9 @@
 INCS=  ansi.h aout_machdep.h asm.h autoconf.h bswap.h bsd-aout.h \
        cdefs.h cpu.h disklabel.h display.h ecoff_machdep.h \
        elf_machdep.h endian.h endian_machdep.h float.h ieee.h ieeefp.h \
-       int_types.h kcore.h kdbparam.h limits.h lock.h math.h mips_opcode.h \
-       mouse.h param.h pcb.h pccons.h pmap.h proc.h profile.h psl.h \
-       pte.h ptrace.h reg.h regdef.h regnum.h reloc.h setjmp.h signal.h \
-       stdarg.h trap.h types.h varargs.h vmparam.h
+       int_mwgwtypes.h int_types.h kcore.h kdbparam.h limits.h lock.h \
+       math.h mips_opcode.h mouse.h param.h pcb.h pccons.h pmap.h proc.h \
+       profile.h psl.h pte.h ptrace.h reg.h regdef.h regnum.h reloc.h \
+       setjmp.h signal.h stdarg.h trap.h types.h varargs.h vmparam.h
 
 .include <bsd.kinc.mk>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/arc/include/int_mwgwtypes.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/arc/include/int_mwgwtypes.h      Sat Apr 14 12:19:49 2001 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: int_mwgwtypes.h,v 1.1 2001/04/14 12:19:50 kleink Exp $ */
+
+#include <mips/int_mwgwtypes.h>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/arm/include/Makefile
--- a/sys/arch/arm/include/Makefile     Sat Apr 14 08:36:12 2001 +0000
+++ b/sys/arch/arm/include/Makefile     Sat Apr 14 12:19:49 2001 +0000
@@ -1,14 +1,14 @@
-#      $NetBSD: Makefile,v 1.11 2001/02/24 07:24:36 ichiro Exp $
+#      $NetBSD: Makefile,v 1.12 2001/04/14 12:19:50 kleink Exp $
 
 KDIR=  /sys/arch/arm/include
 INCSDIR= /usr/include/arm
 
 INCS=  ansi.h aout_machdep.h armreg.h asm.h bswap.h cdefs.h cpu.h cpufunc.h \
        cpus.h db_machdep.h disklabel.h disklabel_acorn.h elf_machdep.h \
-       endian_machdep.h float.h fp.h frame.h ieee.h ieeefp.h int_types.h \
-       ipkdb.h isa_machdep.h isapnp_machdep.h limits.h lock.h math.h \
-       ofisa_machdep.h ofw.h pci_machdep.h pio.h proc.h profile.h \
-       profileio.h pte.h ptrace.h reg.h setjmp.h signal.h stdarg.h trap.h \
-       types.h varargs.h
+       endian_machdep.h float.h fp.h frame.h ieee.h ieeefp.h \
+       int_mwgwtypes.h int_types.h ipkdb.h isa_machdep.h isapnp_machdep.h
+       limits.h lock.h math.h ofisa_machdep.h ofw.h pci_machdep.h pio.h \
+       proc.h profile.h profileio.h pte.h ptrace.h reg.h setjmp.h signal.h \
+       stdarg.h trap.h types.h varargs.h
 
 .include <bsd.kinc.mk>
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/arm/include/int_mwgwtypes.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/arm/include/int_mwgwtypes.h      Sat Apr 14 12:19:49 2001 +0000
@@ -0,0 +1,77 @@
+/*     $NetBSD: int_mwgwtypes.h,v 1.1 2001/04/14 12:19:50 kleink Exp $ */
+
+/*-
+ * Copyright (c) 2001 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Klaus Klein.
+ *
+ * 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 the NetBSD
+ *        Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``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 FOUNDATION OR CONTRIBUTORS
+ * 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.
+ */
+
+#ifndef _ARM_INT_MWGWTYPES_H_
+#define _ARM_INT_MWGWTYPES_H_
+
+/*
+ * 7.18.1 Integer types
+ */
+
+/* 7.18.1.2 Minimum-width integer types */
+
+typedef        __signed char             int_least8_t;
+typedef        unsigned char            uint_least8_t;
+typedef        short int                int_least16_t;
+typedef        unsigned short int      uint_least16_t;
+typedef        int                      int_least32_t;
+typedef        unsigned int            uint_least32_t;
+#ifdef __COMPILER_INT64__
+typedef        __COMPILER_INT64__       int_least64_t;
+typedef        __COMPILER_UINT64__     uint_least64_t;
+#else
+/* LONGLONG */
+typedef        long long int            int_least64_t;
+/* LONGLONG */
+typedef        unsigned long long int  uint_least64_t;
+#endif
+
+
+/* 7.18.1.5 Greatest-width integer types */
+
+#ifdef __COMPILER_INT64__
+typedef        __COMPILER_INT64__            intmax_t;
+typedef        __COMPILER_UINT64__          uintmax_t;
+#else
+/* LONGLONG */
+typedef        long long int                 intmax_t;
+/* LONGLONG */
+typedef        unsigned long long int       uintmax_t;
+#endif
+
+#endif /* !_ARM_INT_MWGWTYPES_H_ */
diff -r f1f0998ec75a -r 1708ebdfae7f sys/arch/arm26/include/Makefile
--- a/sys/arch/arm26/include/Makefile   Sat Apr 14 08:36:12 2001 +0000
+++ b/sys/arch/arm26/include/Makefile   Sat Apr 14 12:19:49 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2001/01/22 22:10:44 bjh21 Exp $
+#      $NetBSD: Makefile,v 1.5 2001/04/14 12:19:51 kleink Exp $
 
 KDIR=  /sys/arch/arm26/include
 INCSDIR= /usr/include/arm26
@@ -6,8 +6,8 @@



Home | Main Index | Thread Index | Old Index