Commit Graph

223236 Commits

Author SHA1 Message Date
kiyohara
9745ea1238 Support Basic Mode for Armada XP. 2013-12-23 02:23:25 +00:00
rkujawa
7598b3c28a Changes to ACA500 support:
- Add support for second (aux) CF slot.
- Rework wdc attachment to be more sane.
- Add support for clockport on ACA500.
- Fix style where appropriate.
2013-12-22 23:02:38 +00:00
mlelstv
e0271abc62 Preallocate command and status buffers as auto allocation cannot
happen in intrrupt context.
2013-12-22 18:30:21 +00:00
mlelstv
9dd2780596 Catch illegal memory allocations in softints. 2013-12-22 18:29:25 +00:00
matt
7532101325 Now that cngetc supports -1 as a return value from the cn_getc routine,
let cngetc loop until a character is available so it can call the critpoll
hooks.
2013-12-22 18:20:46 +00:00
matt
51abc2a7e7 raise spl to IPL_HIGH when calling cngetc. Make sure to call
do_critpollhooks() when outputing and getting input.
2013-12-22 18:05:40 +00:00
njoly
b50661d98e CTASSERT that native to compat errno translation tables are kept in
sync with native errno list.

Remove extra entries (linux) which resulted in bad translated values,
and add missing ones (ibcs2, osf1 and svr4) which made some out of
bounds accesses.
2013-12-22 17:14:22 +00:00
matt
7aa5a25a2b Use arm_cksumdata instead of .L_cksumdata
pop {..., pc} instead of pop {..., lr}; RET
2013-12-22 16:29:42 +00:00
mlelstv
1d339cd8f0 Resolve symlinks and cook the targets instead of the symlink names. 2013-12-22 14:31:51 +00:00
rkujawa
523bbfbb4c Note ACA500 support. 2013-12-22 11:36:12 +00:00
nonaka
68be9a10fc regen 2013-12-22 07:25:01 +00:00
nonaka
b87af9359a Added some Realtek devices. 2013-12-22 07:24:33 +00:00
christos
3d0abaffba - don't clobber hp in the RES_USE_INET6 case
- increment naddrs in the yp case
- don't use __hostalias(), it is not thread-safe.
2013-12-22 02:45:16 +00:00
christos
a296e15ea3 this is supposed to be re-entrant, call don't call __hostalias that uses
a static buffer.
2013-12-22 02:40:48 +00:00
rkujawa
f7bd7656e0 Add preliminary support for the Individual Computers ACA500 in the form of acahf
driver. If ACA500 is equipped with supported accelerator with MMU, it allows
running NetBSD on an Amiga 500.

Since ACA is not autoconf-aware, and the probe procedure does not exist yet, the
driver is activated with the ACA500_SUPPORT kernel option. The acahf driver
is commented out in the GENERIC kernel for now (at least until it stops being
very experimental and hackish).

When it comes to ACA-specific hardware, for now the boot CF slot works. Support for everything else is incoming...
2013-12-22 02:21:51 +00:00
dholland
18caf3b85f Fix _crunch entries, which accidentally got changed from compression
operations to decompression operations nearly two years ago. They are
used only by catman(8), which we don't run any more, but they ought to
be correct anyway.
2013-12-22 01:18:28 +00:00
christos
73e8f5b689 refer to our own h_errno so we don't fetch the libc one 2013-12-21 20:10:02 +00:00
skrll
04e9e004ed Check interp after reading it. Checking newly allocated memory doesn't
work.

Hi Christos.
2013-12-21 17:44:33 +00:00
tsutsui
a6e2218d95 Add and enable wsmux(4) in GENERIC (for mlterm-fb demonstration). 2013-12-21 17:12:36 +00:00
kiyohara
91d01b24a6 Add Marvell 88E1543. Tested on OPENBLOCKS_AX3. 2013-12-21 15:20:39 +00:00
kiyohara
e18003215d Regen. 2013-12-21 15:18:21 +00:00
kiyohara
9b43ff34a8 Add Marvell 88E1543 Quad Port Gb PHY 2013-12-21 15:16:23 +00:00
christos
39826d358b Consistency checks for the length of the interpreter (the length includes
the trailing NUL): make sure it is not empty and has the proper length.
From Maxime Villard
2013-12-21 14:41:02 +00:00
msaitoh
e73c08c0cd regen. 2013-12-21 09:24:11 +00:00
msaitoh
974c26e26d Add some Intel E600 and EG20T devices. 2013-12-21 09:23:36 +00:00
skrll
e819bee156 Re-enable arm-simd now that SPRSR restoration has been fixed. 2013-12-21 08:58:07 +00:00
christos
b65f650cb0 remove __P 2013-12-20 21:04:09 +00:00
christos
9a6b9e13f8 sixthavenue got upgraded 2013-12-20 20:22:26 +00:00
wiz
d95f5d3fd5 Revert previous, it was wrong.
From David H. Gutteridge in PR bin/48460.
2013-12-20 17:01:39 +00:00
christos
710be304aa make the non-threaded case work again. 2013-12-20 16:58:34 +00:00
joerg
d26da565f7 Drop .fpu. Discussed with Matt. 2013-12-20 15:35:48 +00:00
wiz
f61d31bbaf Sort errors. 2013-12-20 13:48:45 +00:00
joerg
a060b1754e Fix typo. 2013-12-20 12:46:42 +00:00
wiz
dc3127b204 Document what ngen 0 does.
From David Gutteridge in PR 48460.
2013-12-20 10:14:25 +00:00
pooka
6971bddad3 include shmif_dumpbus 2013-12-20 10:13:24 +00:00
pooka
aab6639102 make portable 2013-12-20 10:04:33 +00:00
pooka
1150b99ea3 use _KERNEL_RCSID only in _KERNEL, _RCSID elsewhere 2013-12-20 10:00:59 +00:00
pooka
ef64361cbb Allow overriding LIBCRT0 in mk.conf 2013-12-20 09:44:16 +00:00
pooka
84de6be8b7 RCS Id police stings again! 2013-12-20 09:36:03 +00:00
pooka
26ef2cc943 If creating a pcap dump to stdout, print metainfo to stderr. 2013-12-20 09:32:13 +00:00
pooka
1a7f9ac66c header massage, mostly improves portability 2013-12-20 09:06:35 +00:00
matt
015a4426f3 When restoring SPRSR, use spsr_fsxc not spsr_all so bits[23-8] are restored.
This should fix use of simd instructions that rely on the GE bits.
2013-12-20 07:01:06 +00:00
matt
053c552b29 If we are exec'ing AAPCS and running on armv6+, disable alignment faults
since gcc 4.8 will generate code that uses unaligned accesses.
2013-12-20 06:50:28 +00:00
matt
173c27211d Add CPU_IS_ARMV6_P() macro 2013-12-20 06:48:09 +00:00
jakllsch
d5501e90a2 Add support for the brandless "QF9700" USB 1.1 to 10Mbit/s Ethernet adapter.
The multicast filter doesn't appear to work, so put the chip in promisc
mode so that IPv6 NDP works.
2013-12-20 01:17:54 +00:00
jakllsch
b1c1d4380e regen 2013-12-20 01:06:21 +00:00
jakllsch
550d9d9378 Add QF9700 USB Ethernet. 2013-12-20 01:05:26 +00:00
joerg
9373e80503 Use explicit register pairs as arguments for ldrd. 2013-12-19 23:48:44 +00:00
mlelstv
757ba59472 cpu_infos is a NULL terminated array, not an array followed by a 0 byte. 2013-12-19 23:36:07 +00:00
joerg
0850b0cc3c long_ad is a mix of struct and union, so use memset to initialise in the
one place it is used.
2013-12-19 23:00:50 +00:00