226981 Commits

Author SHA1 Message Date
skrll
1fa48c8c01 Whitespace. 2014-04-25 15:51:12 +00:00
skrll
4f4a9d7f28 Trailing whitespace 2014-04-25 15:49:17 +00:00
pooka
45fe388485 Don't lock an already locked vnode. 2014-04-25 15:18:06 +00:00
pooka
7028473ae3 Init function pointers to nullop() so that callers don't need a dance 2014-04-25 13:20:45 +00:00
pooka
4391c9d4fc g/c no longer necessary weak alias 2014-04-25 13:13:26 +00:00
pooka
a49c814657 regen for etfs move from rumpvfs to rumpkern 2014-04-25 13:11:47 +00:00
pooka
796b9a7a4e Move the etfs linkage from rumpvfs to rumpkern, and replace the
weak alias show with an honest pointer indirection.

No client-visible change. (apart from this version working e.g.
on musl w/ dlopen)
2014-04-25 13:10:42 +00:00
pooka
ddc2c52a0c Automatogically create a function pointer type for each interface. 2014-04-25 13:07:31 +00:00
pooka
d9bf6db7cc pretend to handle the poll return value for -Wunused-but-set 2014-04-25 12:20:12 +00:00
abs
2678a1c767 Fix MKPAM=no build 2014-04-25 12:11:27 +00:00
pooka
d0e2f6013a Remove old HAVE_SUN_LD compat handling, it was there long enough. 2014-04-25 11:49:16 +00:00
martin
17480df656 Pull up upstream revision 209789: remove the *ashlsi3_extend pattern.
This fixes gcc [Bug target/60941] and resolves a firefox crash for me.
2014-04-25 11:06:52 +00:00
pettai
c07133c8ad Fix a merge miss 2014-04-25 00:26:16 +00:00
pooka
0159a35e80 obsolete the installed <rump/scsitest.h> header and make it private
to tests/dev/scsipi
2014-04-25 00:24:39 +00:00
mrg
4460048395 don't apply "ptyfsoldnodes" if /dev/pts does not exist, even if ptyfs
is listed in /etc/fstab.  without this, postinstall happily removes
all your ptys leaving you with none at all.  return an error if we
have ptyfs in /etc/fstab, but no /dev/pts.
2014-04-25 00:23:26 +00:00
pooka
37510bf29a CPPFLAGS for rump_private.h 2014-04-25 00:17:48 +00:00
christos
e6c9ef61dd Fix volume name (Ed Maste) 2014-04-24 23:49:40 +00:00
pooka
8fa17e4756 scsitest is a SCSI target emulator used by one test, and has little
reason to get installed.  Make the component private to the test using
it and obsolete the installed one.

IOW, rename sys/rump/dev/lib/libscsitest -> tests/dev/scsipi/libscsitest
2014-04-24 21:46:44 +00:00
pooka
232a041b7a Wrap stpncpy() iff GNUC_PREREQ(4,8). Fixes USE_SSP=yes builds
with gcc 4.5.
2014-04-24 20:12:56 +00:00
christos
e761cdd8b6 Explain what is going on with the 64 bit atomic ops, and restore them
for pure kernel use.
2014-04-24 19:23:00 +00:00
christos
3d0d60dd15 PR/48426: Dimitris Karagkasidis: Convert to sized, unsigned types.
Ideally we could use uint64_t, but for compatibility and performance
we don't (for now)
2014-04-24 18:43:02 +00:00
christos
9bbbeef3e7 PR/48426: Dimitris Karagkasidis: Make nfsstat use unsigned numbers. 2014-04-24 18:40:35 +00:00
christos
5f78e43780 Pass a file pointer to write data instead of writing to stdout.
No functional change.
2014-04-24 17:22:41 +00:00
pettai
bb5b3d69da note kerberos(8) update 2014-04-24 14:57:37 +00:00
christos
a2dd64f9b4 The sysctl code does not support verbose route printing that prints the
internal route statistics. Restore the old kmem route printing code that
was not just used for post-mortem displays. Reported by kardel@, test by
netstat -nrvf inet
2014-04-24 14:56:29 +00:00
christos
7cdbcec7f5 un __P 2014-04-24 14:54:51 +00:00
pettai
efd5c8c1c2 remove duplicate resolve_free_handle(handle); 2014-04-24 14:49:43 +00:00
pettai
5a3d3c7618 Update build framework for latest heimdal-1-5-branch
Ok'ed and reviewed by elric@
2014-04-24 13:50:53 +00:00
pettai
9641b56ec0 Import latest heimdal-1-5-branch, merge conflicts
Ok'ed and reviewed by elric@
2014-04-24 13:45:33 +00:00
pettai
4f77a4588e Import latest heimdal-1-5-branch from git
Ok'ed + reviewed by elric@
2014-04-24 12:45:26 +00:00
tsutsui
619ff4fb47 Pull random notes on the Apollo Domain keyboard from ancient PR/3528. 2014-04-24 12:10:27 +00:00
pooka
e1b9adcc58 Make sleepq_wake() type void. The return value hasn't been used in
almost 6 years.  Even if it were, returning an arbitrary lwp is a bit
of a wonky interface and can really work only when expected == 1.
2014-04-24 12:04:28 +00:00
tsutsui
f9e543313f Make the Apollo Domain keyboard actually work.
Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
provided by Miod Vallat.  Mouse support needs more work.
2014-04-24 11:58:04 +00:00
pooka
80733d752e in sleepq_wake(), honor the "expected" parameter 2014-04-24 11:56:11 +00:00
jnemeth
c9cad90aec space -> tab conversion 2014-04-24 03:00:10 +00:00
pooka
d6b3d0da5a allow use with linkers that don't support --warn-shared-textrel
(Solaris, OpenBSD)
2014-04-24 00:14:59 +00:00
pooka
d6454414fd Add a RUMP_USE_CTOR compile-time switch. If defined, use
__attribute__((constructor)) to determine which rump kernel components
and kernel modules are linked into the rump kernel.  If not defined
(default), use the regular approach with link sets.

This option is aimed to fix problems with toolchains where using link
sets is not possible because the linker does not generate the requisite
__start/__stop symbols for the link set sections (e.g. GNU gold, OS X, ...).
2014-04-23 23:25:45 +00:00
pooka
2393231e9a add a mask for currently valid ETHERCAP flags 2014-04-23 23:17:22 +00:00
riastradh
bca9723e6a matt@ did the real work for the Beaglebone, so credit him properly.
My memory misled me when I added this entry the other day.
2014-04-23 21:53:53 +00:00
riastradh
ff9a7f6db9 Avoiding arithmetic on void * need not be NetBSD-specific. 2014-04-23 21:34:17 +00:00
skrll
e97ebf330d Fix a logic inversion introduced with the matt-nb5-mips64 for
pmap_{zero,copy}_page cache alias handing. The check previously used
PG_MD_UNCACHED_P, where it now uses PG_MD_CACHED_P, when considering if
a cache invalidation is required.

Additionally flush the cache for the uarea va to avoid potential (future)
cache aliases in cpu_uarea_free when handing pages back to uvm for later
use.

ok matt@

Hopefully this addresses the instability reported in the following PRs:

PR/44900 - R5000/Rm5200 mips ports are broken
PR/46170 - NetBSD/cobalt 6.0_BETA does not boot
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead
2014-04-23 20:57:15 +00:00
pooka
afbb108620 domains are attached by module(-like) constructors, so no need to
play link_set games with them.
2014-04-23 17:05:18 +00:00
macallan
c32ba149e1 rev. 27 SX needs memory referencing instructions written to 64bit aligned
addresses ( my rev. 25 just ignores the lower 3 bits )
so, we zero these bits now
2014-04-23 16:54:21 +00:00
pooka
ee62fa6483 Include LIST_ENTRY() in "struct rump_component".
Main benefit: rump_component_load() can now be called from an
early-running constructor since the routine doesn't need to allocate
memory.
2014-04-23 16:17:55 +00:00
macallan
2997acefaf if a device is marked as BS_EARLY but no driver is present don't panic()
when the device is also BS_OPTIONAL
now kernels without the sx driver will boot again on hardware that has SX
2014-04-23 09:06:57 +00:00
msaitoh
aef7c0c5ee Enable pseudo-device ipfilter. 2014-04-23 07:34:30 +00:00
kardel
04f5544c2e install bcmgpio.4 for evbarm arch 2014-04-23 07:04:01 +00:00
kardel
9171ee3159 move mcp23s17gpio.4 to MI SPI drivers section 2014-04-23 06:53:14 +00:00
wiz
7363dee110 New sentence, new line. 2014-04-22 22:23:43 +00:00
phx
625c110fa2 Fixed mkbootimage for 64-bit architectures. Now I can create a working
BeBox boot.fs under NetBSD/amd64.
2014-04-22 21:37:52 +00:00