Commit Graph

198835 Commits

Author SHA1 Message Date
jmmv
66b2e37b2b Add a script to generate a distfile of window from the verbatim sources on
cvs.  This will be used for the upcoming pkgsrc package of window.

I am not copying the code to othersrc because I want to keep things as
simple as possible for now.  When we remove window from src, the code will
be moved to othersrc and any improvements (such as autoconfification) can
be done there.
2011-03-09 17:32:03 +00:00
tsutsui
7e1a38b9b3 Reorder insns to fix more load delay hazard botches on R3000.
Fixes floating point exceptions in _longjmp() during /etc/rc and
now NWS-3470D boots up to multi user with -current userland binaries.

Also fill BDslots in error path properly.
2011-03-09 16:10:29 +00:00
pooka
a7f297977b * use _exit() instead of exit() in retryconn=die: atexit() handlers
may hang if the server is dead
* consistent use of data
2011-03-09 15:09:21 +00:00
pooka
1af2e3a0a3 Add a bunch of process-wide hijack calls. Among other things, it's
now possible to use unmodified userspace binaries (rpcbind, mountd,
nfsd) to start a rump nfs service and mount file systems from it.

pain-rustique:42:~> mount
rumpfs on / type rumpfs (local)
10.1.1.1:/export on /mnt type nfs
2011-03-09 15:03:18 +00:00
tsutsui
4fada584a6 Fix newsmips interrupt handling for new mips interrupt/spl framework:
- make news3400_badaddr() work even if interrupts are disabled
   (in the old world bus error interrupt is enabled even during splhigh())
 - make ipl_sr_map values model dependent

Now GENERIC kernel boots to single user properly on R3000 NWS-3470D,
though sh(1) still gets floating point exceptions during /etc/rc scripts.
news5000 is untested (yet).
2011-03-09 13:21:36 +00:00
pooka
73fa5bcac3 print processing details only if we've not outputting a pcap file
to stdout
2011-03-09 12:56:08 +00:00
ahoka
e01dc4626a Add some PRIxxx macros to correctly print stdint types 2011-03-09 12:33:59 +00:00
martin
a7e0465d20 Use %zu for size_t 2011-03-09 12:13:42 +00:00
pooka
d469e02a3b Create cgd block device files in the right directory.
hi pooka!
2011-03-09 11:56:17 +00:00
drochner
5321a73544 const'fy algorithm descriptors 2011-03-09 11:43:36 +00:00
drochner
d4205293e5 -start to make the GZIP code similar to DEFLATE: make error handling
work the same way, grow output buffer exponentially and kill
 reallocation of metadata
-minor cleanup, make definitions private which are implementation
 details of deflate.gzip
2011-03-09 11:36:43 +00:00
pooka
08f26b12e5 Duh, the nfsd hacks in tests still used RUMP_SYS_NETWORKING. It
appears that using nxr to search for users wasn't a very good idea.
Put networking back and make the test of the defines give out
#errors.

me be fixink this
2011-03-09 10:10:19 +00:00
ahoka
be9d16386d + nand_micron.c 2011-03-09 10:05:28 +00:00
ahoka
14ce4ecc83 Add support for legacy devices not supporting the ONFI READ_PARAMETER_PAGE
command with example usage for Micron chips
2011-03-09 10:05:08 +00:00
pooka
a30ace437f g/c unused global 2011-03-09 09:17:12 +00:00
ahoka
e43298d4d8 cleanup comments, prototypes
remove unused leftover debug code
2011-03-09 07:49:15 +00:00
macallan
c3b14fbfbc change dbri's DMA segment size to a power of two value - the ship allows
segments up to 0x1fff bytes but even rounded to 32bit this seems to
confuse the rest of the audio code these days
TODO: we don't need to interrupt at every single segment
either way, with this mpg123 doesn't produce semi-random funny noises
anymore
2011-03-09 05:40:11 +00:00
yamt
b1563ea6d9 fix a typo in rev.1.283, which broke tcp dupack and duppack statistics. 2011-03-09 00:44:23 +00:00
riz
802dd4220f Revert previous, to fix build on Mac OS X again.
ok christos@
2011-03-08 23:55:19 +00:00
wiz
3bc5f349f0 Remove trailing whitespace. 2011-03-08 23:51:23 +00:00
pooka
7e4239caf4 some blanket tests 2011-03-08 22:21:52 +00:00
pooka
5ec619238a test case for runon prefixes 2011-03-08 21:36:25 +00:00
pooka
7a2f6e5362 Enforce that the path=/rump specifier specifies and actual path
prefix and doesn't accept e.g. /rumpdev (only /rump/dev).
2011-03-08 21:36:01 +00:00
pooka
94372010ba clarify blanket operation a bit more 2011-03-08 21:09:18 +00:00
pooka
964221c99c maybe typo 2011-03-08 21:02:22 +00:00
pooka
f5d8571208 Add ``blanket''. It acts like path, except that the prefix does
_not_ get removed if the call goes to the rump namespace.

So, now it's possible to use e.g. tcpdump (and most other utilities
which hardcore a /dev pathname) on a rump kernel:

golem> setenv RUMPHIJACK blanket=/dev/bpf
golem> tcpdump -n -i virt0
tcpdump: WARNING: SIOCGIFADDR: virt0: Device not configured
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on virt0, link-type EN10MB (Ethernet), capture size 96 bytes
21:55:38.925596 IP 192.168.2.101 > 204.152.190.12: ICMP echo request, id 47811, seq 0, length 64
21:55:39.095596 IP 204.152.190.12 > 192.168.2.101: ICMP echo reply, id 47811, seq 0, length 64

(if you additionally set socket=all in RUMPHIJACK, tcpdump doesn't
whine about the "not configured" interface)
2011-03-08 20:59:01 +00:00
plunky
a7983e8a67 source files are scan.l and parse.y
in particular, parse.y was being processed twice.. with one
process leaving a y.tab.h file behind

no need to explicitly add scan.c, parse.c and parse.h to CLEANFILES,
the framework knows they are generated and will remove them
2011-03-08 19:25:32 +00:00
pooka
57a486416f need -I${.OBJDIR} now 2011-03-08 19:11:27 +00:00
phx
d1be3375cc On the ST1023 (and compatible, like IP1000A), the mac-address can also be
passed via device properties, when the serial EEPROM is missing or empty.
2011-03-08 19:06:58 +00:00
phx
cbde51df40 Driver seems to work now. Successfully booted a kernel via BOOTP and NFS on
an ST1023-compatible IC+ IP1000A chip.
2011-03-08 19:00:38 +00:00
pooka
53b769ebd0 g/c old-style syscall selection method 2011-03-08 18:35:10 +00:00
pooka
ffad644563 regen: include rumpclient syscall headers from source tree instead of host 2011-03-08 18:31:11 +00:00
pooka
c057875f13 create srcsys symlink 2011-03-08 18:30:24 +00:00
pooka
50313877de Include syscall.h and syscallargs.h from <srcsys> instead of <sys>
in the RUMP_CLIENT case.  This makes librumpclient compile against
-current sources regardless of host.

inspired by Taylor R Campbell
2011-03-08 18:29:49 +00:00
pooka
d06a7e799a and for my next trick, i'm going to spell ARGSUSED correctly 2011-03-08 18:28:01 +00:00
pooka
e48cccc4df lint love 2011-03-08 18:25:16 +00:00
pooka
7905447e1d Since we ~never have a frame waiting on the initial call to waitresp,
call kevent before readframe.  Doesn't really affect performance,
but makes ktraces shorter ;)
2011-03-08 15:55:12 +00:00
pooka
a495c82c5f Enable the "send a lot of syscall requests before exec" code, since
it works now.  (or at least works in my tests)
2011-03-08 15:35:28 +00:00
pooka
00e34b229c Use sendmsg() instead multiple calls to sendto(). It behaves
slightly better in the multithreaded exec case in terms of partial
frames sent.  Plus, it's theoretically a little cheaper.

There's still a gray area with partial transfer from sendmsg(),
but I'm not sure I care enough about some academic scenario to
start fixing it (it basically needs an OOB exec signaller).
2011-03-08 15:34:37 +00:00
tsutsui
9dc0b4ee04 Pass correct exception PC value to cpu_intr() as mipsX_subr.S does.
Fixes SIGILL on all FPU exceptions on R3000.

XXX: cpu_intr() may require cause value as mentioned in PR port-mips/44639
2011-03-08 15:12:46 +00:00
tsutsui
b23f3dbe35 Sprinkle NOPs to avoid load delay hazard on R3000. 2011-03-08 15:05:40 +00:00
tsutsui
908b1c665b Put NOPs to avoid load delay hazard on R3000.
Fixes TLB miss panic in ras_mutex_spin_exit() on NWS-3470D.
2011-03-08 15:01:02 +00:00
pooka
fe92fa8193 print out the unexpected rv too 2011-03-08 14:53:03 +00:00
pooka
18b64059e0 +helper 2011-03-08 12:42:14 +00:00
pooka
46dfa511bc add test case for multithreaded client calling exec 2011-03-08 12:40:25 +00:00
pooka
91240244df Nuke all threads belonging to a process calling exec before allowing
the exec handshake to return.

In addition to being The Right Thing To Do, fixes some nasty
conditions for CLOEXEC fd's (or at least does so in theory, I
couldn't create any problems although I tried).
2011-03-08 12:39:28 +00:00
njoly
2198134aa6 Adjust html link template and css location for man pages in arch
subdirs.
2011-03-08 12:20:17 +00:00
adam
561fc3a751 Added missing Polish translations 2011-03-08 11:24:28 +00:00
pooka
20446f99b9 return correct value when reading a short frame 2011-03-08 10:02:01 +00:00
mlelstv
c619be51ca Don't try to clean/build or install a library here, there are only
subdirectories.

Also, bsd.lib.mk requires a defined LIB, otherwise it will generate
unwanted commands during clean. It even failed on netbsd-4 where
'rm -f' needs at least one parameter which is missing due to recent
corrections in make/vars.c.
2011-03-08 09:49:42 +00:00