Commit Graph

219943 Commits

Author SHA1 Message Date
jnemeth
2471f41e04 add an Oscar Wilde quote 2013-07-24 04:41:49 +00:00
skrll
0bdf107fbc Another codegen bug that fixes (in this case lots of) atf tests.
rump_server doesn't die so much now.
2013-07-23 14:52:07 +00:00
skrll
40f59d6111 Add revision to previous 2013-07-23 14:47:54 +00:00
kefren
f9bf6846c4 Use . for shm bus path and rump_server url instead of /tmp
Exit after first reply in mpls_fw
2013-07-23 12:41:01 +00:00
martin
4ddc14a004 Move all shm files from /tmp into . so ATF can automatically do cleanup
for us. Ok: kefren
2013-07-23 12:14:49 +00:00
kefren
96e1b99106 Add a test for RFC4182 2013-07-23 11:26:33 +00:00
kefren
326bf6fa4a Implement RFC4182 changes - switchable via sysctl 2013-07-23 11:11:55 +00:00
soren
308cd677bf Restrict the hack for offset BAR's to x86.
A cleaner fix requires a rewrite of puc.c, but not today.
2013-07-23 07:40:38 +00:00
skrll
ea7eb28732 Compile tests/lib/libc/sys/t_msgrcv with -O0 on hppa to avoid compiler
bug.
2013-07-23 07:04:18 +00:00
skrll
0c66710506 Fix debug code to not use uninitialised variables. 2013-07-23 07:03:16 +00:00
riastradh
fcd0cb2850 Import drm sources from Linux v3.8-rc6.
(commit id 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7)

Linux                   NetBSD
drivers/gpu/drm         sys/external/bsd/drm2/dist/drm
include/drm             sys/external/bsd/drm2/dist/include/drm
include/uapi/drm        sys/external/bsd/drm2/dist/uapi/drm

Files/subtrees excluded because of licence issues, to be either
revisited later (particularly nouveau and radeon, which are mostly
permissively licensed but a number of whose files have no licence
statements), rewritten/ignored, or imported later as kernel modules
under external/gpl2 instead:

   include/drm/drm_fb_cma_helper.h
   include/drm/drm_gem_cma_helper.h
   include/drm/drm_os_linux.h
   include/drm/drm_pciids.h
   include/drm/drm_sysfs.h
   include/drm/drm_usb.h
   include/drm/exynos_drm.h
   include/drm/gma_drm.h
   include/drm/intel-gtt.h
   drm/cirrus
   drm/drm_edid_load.c
   drm/drm_fb_cma_helper.c
   drm/drm_gem_cma_helper.c
   drm/drm_sysfs.c
   drm/drm_trace.h
   drm/drm_trace_points.c
   drm/drm_usb.c
   drm/exynos
   drm/gma500
   drm/i915/i915_trace.h
   drm/i915/i915_trace_points.c
   drm/i915/intel_acpi.c
   drm/mgag200
   drm/nouveau
   drm/radeon
   drm/shmobile
   drm/tegra
   drm/udl
   uapi/exynos_drm.h
2013-07-23 02:13:06 +00:00
pooka
f371d8fbb1 In recv, align data after ether_header at _ALIGN_BYTES. 2013-07-22 21:12:03 +00:00
alnsn
cb7134ee1a Revert the previous commit. 2013-07-22 19:43:54 +00:00
matt
cb0d6358fc Move to motorola syntax
Change all branches to use j.. instead of b.. (branches now use byte offsets)
(this causes it to go from 932 to 848 bytes of text)
Add GETCURPCB macro.
(binary identical before the b -> j changes)
2013-07-22 17:52:21 +00:00
soren
c5563e5ccb Oops. 2013-07-22 14:52:02 +00:00
martin
11dfba29f8 Unbreak the build - soren, please review! 2013-07-22 14:40:03 +00:00
wiz
5048d3da1f Bump date for previous. 2013-07-22 13:56:46 +00:00
soren
9387374c52 Use the standard i2c address to DIMM slot mapping to show the slot number. 2013-07-22 13:46:20 +00:00
soren
6dddde6a8c PUCCN is now implicit. 2013-07-22 13:44:59 +00:00
soren
09454bb7c5 Missing AB_QUIET newlines. 2013-07-22 13:43:49 +00:00
soren
afe28e28cb Since puc(4) serial ports are typically not identified in the
BIOS COM[1234] table, the I/O address must be manually set using
installboot(8) in order to enable a serial console.
Print the address here so the user doesn't have to dig through
PCI configuration space to find it.

Enable suspend/resume hooks.
2013-07-22 13:42:17 +00:00
soren
4f69980004 Allow console on com_puc without a compile-time option so that PC servers
can become headless after the first reboot (sadly, e.g. Intel AMT presents
as a com_puc, but doesn't appear in the BIOS serial port table, so you need
a keyboard and monitor to install and set the installboot parameters first).

Fix com_puc console on devices with offset BAR's.
2013-07-22 13:40:36 +00:00
soren
7b703c077a The SB800 SMBus controller has four selectable SDA lines.
Expose them as four iic busses.
2013-07-22 13:27:14 +00:00
njoly
f2bb7e6625 Use <major>.<minor> for NetBSD version. 2013-07-22 12:36:56 +00:00
pooka
1b3ff08420 Support Linuxen where libc ioctl has cmd as int unstead of unsigned long. 2013-07-22 12:11:03 +00:00
pooka
3fcbbf6450 TIMEVAL_TO_TIMESPEC (for musl)
from Justin Cormack
2013-07-22 08:58:31 +00:00
msaitoh
56e70cb375 Both increment_overflow() and normalize_overflow() have two different
declarations. One must be *32(). Fixes compile error observed on sparc64.
2013-07-22 04:55:09 +00:00
matt
418abeab42 In the non-MP case, just initialize onproc to NULL. 2013-07-22 03:40:36 +00:00
matt
283b482b24 If not MULTIPROCESSOR, just make cpu_tlb_info(ci) return &pmap_tlb0_info 2013-07-22 03:39:55 +00:00
matt
cc7b19c021 use mvz[wb] when possible 2013-07-22 03:37:17 +00:00
matt
32e8c32db8 Use motorola syntax
Adjust for coldfire
(no binary difference for non-coldfire
2013-07-22 03:30:38 +00:00
riastradh
68f2e8ca36 When reading from /dev/random, block at most once in cprng_strong.
We are not obligated to return exactly as many bytes as requested,
and many applications -- notably those that use stdio or otherwise
buffered I/O to read from /dev/random -- try to read many more than
32 bytes at a time from /dev/random even if all they are about to use
is 32 bytes.

In this case, blocking until we have enough entropy to fill a large
buffer causes needless application delays, e.g. causing cgdconfig
(which reads from /dev/random with stdio) to hang at boot when trying
to configure a random-keyed device for swap.

Patch tested by Aran Clauson.  Fixes PR kern/48028.
2013-07-21 22:30:19 +00:00
tron
c8ccd84f1f Fix build with stack-protection enabled. 2013-07-21 15:29:04 +00:00
njoly
a8ad9a70f6 Kill a few trailing spaces. 2013-07-21 10:14:55 +00:00
dholland
b7e188bc2a Merge logic from ulfs_close(), ulfs_getattr(), and ulfs_strategy()
into the preexisting lfs_*() versions of these functions, and delete
the unused ulfs copies.
2013-07-21 00:01:22 +00:00
dholland
8238e5b049 oops, spell b_bcount properly 2013-07-20 23:00:08 +00:00
dholland
be719d1e75 In spec_strategy, if fscow_run() fails, set b_resid along with b_error
to avoid panic in biodone. Noticed by riastradh.
2013-07-20 22:42:59 +00:00
dholland
f15a6faedc Remove ulfs_mknod, which is not used. 2013-07-20 22:16:02 +00:00
dholland
f59e924a8b Merge ulfs_mknod into lfs_mknod, which was missing some bits. 2013-07-20 22:14:49 +00:00
wiz
a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
dholland
0166a5c7cf fix another defective C&P makefile 2013-07-20 20:44:02 +00:00
dholland
d0790dc078 why does rump have to have its own private build system? 2013-07-20 20:43:09 +00:00
dholland
2aee89e8d5 G/C unused pieces. 2013-07-20 20:01:24 +00:00
dholland
0e93cfc3cb Collect the pieces of lfs rename into lfs_rename.c, and sprinkle static. 2013-07-20 19:59:31 +00:00
pooka
40fd6d6fa3 Fixes when compiling against musl libc.
from Justin Cormack via private email
2013-07-20 18:46:15 +00:00
njoly
8d578817f8 Remove, in do_sys_renameat(), wrong KASSERTs that check for non NULL
from/to arguments. Such values are correctly handled by later
pathbuf_maybe_copyin() calls, that will fail with EFAULT.

ok from dholland@.
2013-07-20 15:55:57 +00:00
rmind
1ded926c3d Mention rmind-smpnet branch. 2013-07-20 14:15:20 +00:00
njoly
0cb3d6b752 Initialise destination before performing stat structure conversion.
Avoid getting garbage for structure members not set explicitely.
2013-07-20 13:13:33 +00:00
christos
78da6e3986 revert socklen_t to int (from dh) 2013-07-20 10:31:19 +00:00
kefren
ae8b7d0074 don't connect on first hello, there are chances that ours is not seen yet
setproctitle with ldp id - useful for rump kernels testing
fix a memory leak in ldp_peer_new
don't holddown if already holded down
peer sockets are now non-blocking
connected routes deletes are now processed
check if peer is connected before attempting to sending label mappings
2013-07-20 05:16:08 +00:00