Commit Graph

220767 Commits

Author SHA1 Message Date
jnemeth
50fa456661 add NetBSD 6.1.1 release 2013-09-01 10:16:19 +00:00
kiyohara
38435b16f2 Add support 16750 64Byte FIFO. But not test. 2013-09-01 04:58:15 +00:00
kiyohara
b5773b7ae3 Move the Marvell extension to com_mv.c. 2013-09-01 04:51:24 +00:00
matt
78620830e1 convert rfid to rfi in exception handlers. 2013-08-31 15:01:08 +00:00
jmcneill
04ca6cb022 md_root_setconf also depends on option MEMORY_DISK_DYNAMIC 2013-08-31 12:26:56 +00:00
he
6b42c440db Bump the image size so that the contents fits again. Kernel (at
least INSTALL32_IP3x) has big enough area already.
2013-08-31 10:42:18 +00:00
matt
310fbebba0 Move the pmap_setup to the start oea_init (no non-OFW ports can use it).
If PPC_OEA64_BRIDGE is defined, add code so that when OEACPU_64_BRIDGE is not
present, it replaces the rfid with rfi and mfmsr/rldicl/mtmsrd sequence
with NOPs.  This allows plain OEA kernels to work.  (tested on PMPPC with
PPC_OEA64_BRIDGE option added).
2013-08-31 07:33:15 +00:00
matt
378cec5a74 Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h 2013-08-30 21:29:29 +00:00
matt
bff961dda2 Use a constructor to get the cache_info.
However memset can be called before the constructor is called, just treat
those as simple fills.
Add CACHE_INFO_DCACHE_LINE_SIZE to assym.h and use it
2013-08-30 21:28:59 +00:00
mrg
0c2e06460b move most of the header writing code from record.c into wav.c and sun.c.
introduce a struct write_info for communication between front ends and
backends.

libaudio API is still pretty ugly, and needs to stay local here for now,
but it is a little more usable for other tools now.
2013-08-30 20:57:26 +00:00
jmcneill
fef2fc66c9 Bump bootloader version for memory disk image changes. 2013-08-30 16:43:33 +00:00
jmcneill
1265ac6952 Add support for using a raw file-system image as memory disk root with
the x86 bootloader.
2013-08-30 16:42:17 +00:00
riastradh
aada01fb57 Remove trailing whitespace in texi2dvi which confuses sed.
XXX pull up to 5, 6?
2013-08-30 16:24:06 +00:00
rmind
4c45c55542 bpf_filter: add a custom argument which can be passed to coprocessor routine. 2013-08-30 15:00:08 +00:00
skrll
36c915dd13 Remove race introduced by using usbd_sync_transfer_sig with a callback
that use the xfer cv (or does wake up on the xfer). The xfer has likely
been freed or re-used.

While here update utoppy(4) to use usbd_sync_transfer_sig.

Fixes PR/48151
2013-08-30 12:59:19 +00:00
hannken
1f6a95ec03 Dounmount() violates the locking protocol for member v_mountedhere.
A vnode lock is required to access or modify this field.

Lock/unlock the vnode when clearing v_mountedhere.

Reviewed by: David Holland <dholland@netbsd.org>

Should fix PR #48135 (Bad locking for umount)
2013-08-30 12:58:22 +00:00
pooka
1f2f41bbc5 commit all files when regen'ing 2013-08-30 11:10:34 +00:00
pooka
8ab637bd54 regen 2013-08-30 10:34:39 +00:00
pooka
7efe29ddc3 There is absolutely no way that fexecve() could even theoretically work
in a rump kernel, so don't create a wrapper for that.

recv/sendmmsg(), however, can, so create wrappers for those.
2013-08-30 10:33:10 +00:00
pooka
74f1a93841 Rename RUMPTEST_BUILDSH to RUMPKERN_ONLY. Turns out not building any
POSIX implementations of hypercalls is useful beyond the build.sh test,
such as when building rump kernels for non-POSIX hosts.
2013-08-30 10:29:06 +00:00
skrll
7ce615b673 PR/48164: BEAGLEBONE_INSTALL kernel not built with preferred ABI for
platform
2013-08-30 10:13:39 +00:00
christos
d407b3e25b draft-gont-6man-ipv6-atomic-fragment-00 is now RFC 6949 (Loganaden Velvindron
logan at elandsys dot com)
2013-08-30 07:42:08 +00:00
dholland
0a50969465 Use __CTASSERT instead of handrolled version. 2013-08-30 07:35:44 +00:00
dholland
13106e31df more typos in comments 2013-08-30 07:30:50 +00:00
dholland
99c51e18cd typo in comment 2013-08-30 07:25:43 +00:00
riastradh
aab95335f3 Make the rpi hwrng feed data to the entropy pool in a softint.
The two-lock scheme here is excessive but will do provisionally until
rnd(9) gets disentangled.

Tested by Aymeric Vincent.
2013-08-29 21:54:11 +00:00
wiz
830908813f New sentence, new line. Bump date for previous. 2013-08-29 20:02:35 +00:00
rmind
8088e72932 Remove SS_ISCONFIRMING, it is unused and TP4 will not come back. 2013-08-29 17:49:20 +00:00
riz
aded92b403 Use __BIT(), not __BITS() to define a single-bit mask.
From Dennis Ferguson in PR#48162.
2013-08-29 15:50:41 +00:00
riz
8f49c8af7c Fix typo: VERBOSE_INIT_ARM, not VERBOSE_ARM_INIT. From
Dennis Ferguson in PR#48163.
2013-08-29 15:46:17 +00:00
christos
efbe1fcbf4 add stdint.h for FreeBSD compat. 2013-08-29 15:01:57 +00:00
christos
e6ada316ce use sysctl to find the pathname argv[0] if available (from FreeBSD via
Ed Maste)
2013-08-29 14:58:56 +00:00
rmind
1962fa8781 Implement BPF_COP/BPF_COPX instructions in the misc category (BPF_MISC)
which add a capability to call external functions in a predetermined way.

It can be thought as a BPF "coprocessor" -- a generic mechanism to offload
more complex packet inspection operations.  There is no default coprocessor
and this functionality is not targeted to the /dev/bpf.  This is primarily
targeted to the kernel subsystems, therefore there is no way to set a custom
coprocessor at the userlevel.

Discussed on: tech-net@
OK: core@
2013-08-29 14:25:40 +00:00
kiyohara
8bb6eda9b2 Fix build failed with ofppc.
Move 'attach mvspi at mvsoc' to arch/arm/marvell/files.marvell.
2013-08-29 09:46:04 +00:00
tls
f41d33c667 Mix in boot time (wherever we may find it). Helps avoid predictable output
on young systems.
2013-08-29 01:05:29 +00:00
tls
b460f1f7d9 Fix rnd_add_* to conform to manual page: allow addition of entropy
with NULL source.
2013-08-29 01:04:49 +00:00
tls
cee9eabe74 Schedule the softint to run once when it's first registered. 2013-08-28 23:40:43 +00:00
sjg
ec98624792 Fix parsing of SUNSHCMD style :sh = assigments.
Submitted by: Will Andrews at freebsd.org
2013-08-28 21:56:49 +00:00
riastradh
3db7caeeb3 Comment on possible data-dependent branch in `!res'. 2013-08-28 19:31:14 +00:00
riastradh
c462ebccdd Update set lists after libc minor bump. 2013-08-28 19:04:12 +00:00
riastradh
361f5037ee Get some entropy early on bcm2835_rng attach. 2013-08-28 18:32:45 +00:00
riastradh
719254e9b5 Bump libc minor for consttime_memequal and explicit_memset. 2013-08-28 18:01:22 +00:00
riastradh
1239c2bb08 Publish explicit_memset and consttime_memequal in userland libc.
Remove the double-underscore from the userland versions, and do the
weak alias dance instead, now that these are public parts of libc.

As discussed on tech-userlevel:

https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html
(option 3)
2013-08-28 17:47:07 +00:00
riastradh
04e877f3a1 Fix libkern's prototype for explicit_memset. 2013-08-28 16:20:38 +00:00
riastradh
495fdb7e9a Make explicit_memset match memset's return value. 2013-08-28 15:46:23 +00:00
slp
1abe162f6c Added slp@ to NetBSD Developers list. 2013-08-28 15:39:30 +00:00
riastradh
cc79193075 Fix sense of consttime_memequal and update all callers.
Now it returns true (nonzero) to mean equal and false (zero) to mean
inequal, as the name suggests.

As promised on tech-userlevel back in June:

https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html
2013-08-28 15:24:41 +00:00
riastradh
5287a42d7a Tighten initialization of rnd softints.
- Do rnd_init_softint as early as possible in main, after configure2,
  and before networking is initialized.

- Initialize the rnd_wakeup softint in rnd_init_softint, not lazily in
  rnd_schedule_wakeup.

ok tls
2013-08-28 12:50:18 +00:00
christos
efab425d4c get rid of PATH_MAX. 2013-08-28 08:05:21 +00:00
wiz
378f5c9530 sqlite-3.8.0 out 2013-08-28 07:34:13 +00:00