Commit Graph

198923 Commits

Author SHA1 Message Date
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
jmmv 8de5cd3354 Revert previous (revision 1.261): it broke the build because PROG_CXX is
defined in terms of PROG, so later on we would end up with target duplicates
because both PROG_CXX and PROG were being converted to PROGS_CXX and PROGS.

Did not catch this earlier because the test build I did was not clean and
thus the duplicate targets did not have nasty effects.
2011-03-08 07:53:43 +00:00
snj eedda0044d bah! it's 2011 already? 2011-03-08 07:44:39 +00:00
snj 30f96bf3e7 mention mdnsd(8), and fix a typo while here 2011-03-08 07:40:37 +00:00
kiyohara 5f8633bdc8 Fix hci_private data. slhci(4) is assuming, it is slhci_softc. not device_t. 2011-03-08 04:58:21 +00:00
macallan 951a3ca29c fix build for LP32
thanks to uebayasi@
2011-03-08 04:47:10 +00:00
macallan e5f1c17a70 only try to map the framebuffer if we don't already have an address
With this radeondrm works with genfb and r6xx.
2011-03-08 03:22:29 +00:00
macallan e13a6ad672 look for a 'virtual_address' property and use it as fb address 2011-03-08 03:16:30 +00:00
macallan 5e2db5a406 if we know the framebuffer's virtual address pass it to the fb driver 2011-03-08 02:57:00 +00:00
jmcneill 0cce2c7d9b put a : in an otherwise empty function, makes this script work with bash 2011-03-07 23:21:13 +00:00
phx 8562228c6f mkdigit() didn't work with values which have bit 31 set (>=0x80000000).
Do not cast to (int).
2011-03-07 22:18:46 +00:00
pooka fc3b823359 use nwork-adjusted amount of idle workers to decide is they are truly idle. 2011-03-07 21:57:15 +00:00
pooka 9d382a98c5 Fill in a functional struct lwp (especially l_mutex) before exposing
it on p_lwps.
2011-03-07 21:04:47 +00:00