Commit Graph

197218 Commits

Author SHA1 Message Date
pooka fd79a76046 Use NEEDED for librumpclient instead of loading it manually. 2011-01-27 18:12:19 +00:00
pooka e96a54f450 Set server reconnection timeout to infinite. There probably need
to be some toggle eventually, but for now I'm optimizing the default
for my firefox use ;)
2011-01-27 18:05:16 +00:00
pooka 41434db318 Allow to set a timeout for how long the client will attempt to
reconnect in case the connection to the server is lost.  Default
to exactly one reattempt.  This makes sense and additionally fixes
the dev/raidframe/smalldisk test which currently causes a server
panic when a certain raidctl command is run (without this fix the
test would timeout since the client kept attempting to reconnect).
2011-01-27 18:04:05 +00:00
phx f752ef7556 Debugging output is only visible when DEBUG is defined. 2011-01-27 17:38:04 +00:00
pooka 44d370c291 Fix syscall name for compat syscalls. Arguably makesyscalls.sh
should generate the right info, but it's easier to fix here now.

This fixes compat syscalls for rump servers with dynamically loaded
components.  Since the compat syscall revamp a little time ago e.g.
stat() didn't work on my system (which is 5.0-based) with e.g.
rump_server -lrumpvfs.  Static servers and non-compat syscalls
worked just fine, though, making this a little harder to spot that
the usual bug.
2011-01-27 17:36:27 +00:00
phx 3e7ea907ca Some cleanup. No functional change. 2011-01-27 16:13:51 +00:00
gdt e65b565849 Use ${INSTALL} ${COPY} instead of ${CP}.
This avoids a problem where files with mode 0400 (CVSREAD=t) are
copied to OBJDIR and then can't be re-copied on a subsequent build.
ok joerg@
2011-01-27 15:34:38 +00:00
wiz 16f356de90 Link kprintf(9) to device_printf(9). For David. 2011-01-27 14:48:36 +00:00
skrll 30f0ea9e51 Trailing whitespace. 2011-01-27 13:57:39 +00:00
tsutsui 1a97f9a80f Fix swapped comments. 2011-01-27 13:42:09 +00:00
plunky 9a8271a39a when a BNEP channel is opened, clear any NetType or MulticastAddress
filters that may be in effect at the remote side.
2011-01-27 12:19:48 +00:00
nisimura eabda714e1 add missing license notice as suggested by wiz@. 2011-01-27 11:33:43 +00:00
plunky a14e16bfe0 style nit 2011-01-27 11:13:59 +00:00
wiz 5d075ae010 New sentence, new line; full month name in Dd; add RCS Id. 2011-01-27 09:52:13 +00:00
wiz 7515698c17 Dd arguments should be full month names; new sentence, new line;
add serial comma; remove trailing whitespace; avoid xref to itself.
2011-01-27 09:50:00 +00:00
wiz 9422767211 Remove trailing whitespace. 2011-01-27 09:46:59 +00:00
mrg 9d38664bd2 consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU
soft/hard counters.  beyond the extra info, it seems to help avoid some
of these counters getting corrupted due to unlocked multiple accesses.

adjust the xcallintr() from xcall() hack so that we don't count these
events as interrupts.  align the existing evcnt name to count this.
2011-01-27 06:24:59 +00:00
mrg 43b17d1067 to quote a new comment:
* There's a deadlock potential between multiple CPUs trying
 * to xcall() at the same time, and the thread that loses the
 * race to get xpmsg_lock is at an IPL above the incoming IPI
 * IPL level, so it sits around waiting to take the lock while
 * the other CPU is waiting for this CPU to handle the IPI and
 * mark it as completed.
 *
 * If we fail to get the mutex, and we're at high enough IPL,
 * call xcallintr() if there is a valid msg.tag.

this seems to fix the xcall() failed to ping cpus problem.
idea from martin, tested by macallan and myself.
2011-01-27 05:31:13 +00:00
nisimura 717da00c62 remove an excess echo line accidentally creeped in. 2011-01-27 04:54:40 +00:00
nisimura 5311358b9c arrange vers.c generation to honour MKREPRO for global build control. 2011-01-27 04:32:49 +00:00
uwe 019e9658dd general_exception: when printing current mode in the panic message,
test "usermode" directly instead of testing for EXP_USER bit.
2011-01-27 01:01:55 +00:00
uwe b4bb14b73f Include only headers that are actually used. 2011-01-27 00:19:27 +00:00
uwe 3476d7709a Clear MDP_SSTEP in setregs(). 2011-01-26 23:29:16 +00:00
uwe 9fc3efc45b Add MDP_SSTEP flag. Not used yet. 2011-01-26 23:26:37 +00:00
njoly 5488d3a23f Add section 3 for getpwuid_r xref. 2011-01-26 22:00:45 +00:00
njoly 4a85854e5e Do mask the upper 16 bits, when sanity checking fs/gs register values.
Fix my own PR/43842.
2011-01-26 21:44:31 +00:00
joerg de8f1690b2 Fix tools build on !NetBSD. Fix printfs to use correct types. 2011-01-26 21:35:14 +00:00
jakllsch 8e0c3a90a8 Attempt to correct two regressions.
- avoid Virtualbox's BIOS panicing on 64-bit LBAs
 - MBR-without-disklabel was ignored
2011-01-26 20:59:48 +00:00
christos 4e0632c12d PR/44470: Dr. Wolfgang Stukenbrock: opencrypto kernel implementation may pass
outdated argument to worker
2011-01-26 19:52:16 +00:00
drochner cc068f7930 fix and cleanup for tvtohz():
-assume (KASSERT) that the timeval given is normalized, and remove
 some partial fixup which I don't see what it is good for
 (I'm ready to back that out if someone tells a reason)
-catch overflows due to conversion of time_t (from tv_sec) to
 integer -- this function doesn't do 64-bit arithmetics (which makes
 sense because relative times which don't fit into 32 bits can be
 considered nonsense here), and before a huge tv_sec could lead to
 a zero hz result, violating the caller's assumptions (in particular
 trigger a diagnostic panic in abstimeout2timo())
2011-01-26 19:15:13 +00:00
uwe 9e17c3f550 Add sh4 PSL_FD - FPU disable bit. 2011-01-26 19:07:42 +00:00
christos 4ffe9a1805 make the code more re-usable 2011-01-26 18:48:57 +00:00
bouyer 1fbeaeff16 Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.
2011-01-26 18:48:51 +00:00
christos 9a37731036 make SSP friendly 2011-01-26 18:48:32 +00:00
bouyer 4ca29e6bc3 Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.
2011-01-26 18:48:11 +00:00
uwe 0b43ff8c5f BRCR and BAMRA have different format in sh3 and sh4, so there's no
point in using SH_() wrapper to refer to them in code that is already
model-specific.
2011-01-26 18:43:30 +00:00
bouyer 948baca81d Regen: Add RDC Semiconductor R6040 10/100 integrated PHY 2011-01-26 18:39:25 +00:00
bouyer a24cf481d2 Add RDC Semiconductor R6040 10/100 integrated PHY 2011-01-26 18:39:04 +00:00
bouyer 24529c48cd Regen: Add RDC Semiconductor R6040 10/100 Ethernet 2011-01-26 18:37:52 +00:00
bouyer f8bfb5a7e1 Add RDC Semiconductor R6040 10/100 Ethernet 2011-01-26 18:37:06 +00:00
christos 74a83d351e Moving the ssp check inside the source code does not work properly because
the compiler loses information about the size of the object. So instead of
the hacky #define mess we did before, add a way to inject our function between
the user call and the system call.
2011-01-26 18:11:35 +00:00
christos e6a9e964d2 provide a way to override the weak name. 2011-01-26 18:08:00 +00:00
christos 93fcf9c9a9 fix readlink prototype. 2011-01-26 18:07:44 +00:00
pooka feb7052396 add entries required by sandpoint 2011-01-26 16:53:17 +00:00
uebayasi 346fff22c8 Fix build of malta/sbmips. 2011-01-26 16:31:00 +00:00
pooka 84a1daa21a add sandpoint dirs for man chapter 4, they seem to be required now 2011-01-26 15:00:56 +00:00
pooka e6450adeb5 plug fd leak in reconnect code 2011-01-26 14:42:41 +00:00
nisimura 9f531b55b7 one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.
2011-01-26 13:36:49 +00:00
tsutsui 08814574b2 Add proper prefix to structures. 2011-01-26 13:14:07 +00:00
phx 4ce3172075 bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.
2011-01-26 13:13:25 +00:00