NetBSD re-synchronization of the source tree

This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
This commit is contained in:
2015-10-15 17:01:16 +02:00
parent 8933525b85
commit 0a6a1f1d05
32425 changed files with 2998623 additions and 1342348 deletions

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.20 2013/05/02 03:56:40 matt Exp $
# $NetBSD: Makefile,v 1.22 2014/07/23 18:19:43 alnsn Exp $
INCSDIR= /usr/include/evbarm
INCS=
INCS= sljit_machdep.h
.include "../../arm/include/Makefile.common"

View File

@@ -1,4 +1,4 @@
/* $NetBSD: autoconf.h,v 1.7 2012/10/27 17:17:48 chs Exp $ */
/* $NetBSD: autoconf.h,v 1.8 2014/05/10 20:12:16 reinoud Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -39,5 +39,6 @@ struct mainbus_attach_args {
#endif
extern void (*evbarm_device_register)(device_t, void *);
extern void (*evbarm_device_register_post_config)(device_t, void *);
#endif /* _EVBARM_AUTOCONF_H_ */

View File

@@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.24 2012/11/08 08:19:50 skrll Exp $ */
/* $NetBSD: intr.h,v 1.26 2014/03/13 23:48:38 matt Exp $ */
/*
* Copyright (c) 2001, 2003 Wasabi Systems, Inc.
@@ -65,6 +65,8 @@
#define IST_EDGE_BOTH 6
#define IST_SOFT 7
#define IST_MPSAFE 0x100 /* interrupt is MPSAFE */
#ifndef _LOCORE
#include <sys/queue.h>
@@ -74,9 +76,6 @@
int _splraise(int);
int _spllower(int);
void splx(int);
#ifdef __HAVE_FAST_SOFTINTS
void _setsoftintr(int);
#endif
#else /* _LKM */

View File

@@ -9,9 +9,14 @@
#define READ(f, b, c) read((f), (void*)LOADADDR(b), (c))
#define BCOPY(s, d, c) memcpy((void*)LOADADDR(d), (void*)(s), (c))
#define BZERO(d, c) memset((void*)LOADADDR(d), 0, (c))
#define WARN(a) (void)(printf a, \
printf((errno ? ": %s\n" : "\n"), \
strerror(errno)))
#define WARN(a) do { \
(void)printf a; \
if (errno) \
(void)printf(": %s\n", \
strerror(errno)); \
else \
(void)printf("\n"); \
} while(/* CONSTCOND */0)
#define PROGRESS(a) (void)printf a
#define ALLOC(a) alloc(a)
#define DEALLOC(a, b) dealloc(a, b)

View File

@@ -0,0 +1,3 @@
/* $NetBSD: sljit_machdep.h,v 1.1 2014/07/23 18:19:43 alnsn Exp $ */
#include <arm/sljit_machdep.h>

View File

@@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.28 2012/02/18 16:29:37 christos Exp $ */
/* $NetBSD: vmparam.h,v 1.29 2015/02/23 20:34:38 joerg Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -50,11 +50,6 @@
#define KERNEL_BASE 0x80000000
#endif
/*
* Override the default pager_map size, there's not enough KVA.
*/
#define PAGER_MAP_DEFAULT_SIZE (4 * 1024 * 1024)
/*
* Size of User Raw I/O map
*/