Commit graph

2559 commits

Author SHA1 Message Date
ftrvxmtrx
0b212ed505 cc/lex: do not crash on -I without arg 2013-02-02 16:54:09 +01:00
cinap_lenrek
d41f67c2b9 audio: fix delay control, increase default buffer delay to 40ms
just doing a single sleep isnt enougth, as we get woken
up for every block!
2013-02-01 15:23:38 +01:00
cinap_lenrek
0b268440b9 6l: eleminate NOP X0 instructions (from eriks 6l-nop-x0 patch)
erik found that -N left NOPs in that 6l couldn't ignore.
add Xn to the NOP table.

bonanza; cat > fp.c
#include <u.h>
#include <libc.h>
#include <stdio.h>

void
main(void)
{
        double g;

        g = -0.;

        print("%g\n", g);
        printf("%g\n", g);
        exits("");
}
bonanza; 6c -N -FVTw fp.c
bonanza; 6l -o 6.fp fp.6
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
2013-02-01 00:15:02 +01:00
cinap_lenrek
029a8087a3 httpd: fix rane requests
we gave wrong content-length in range requests. r->stop - r->start
is wrong because r->stop is the byte offset of the *last* byte, not
the *next* byte after the last.
2013-01-31 22:51:21 +01:00
cinap_lenrek
e53ece53ed httpfile: fix range requests
byte ranges use closed intervals (inclusive first
and last byte offsets)
2013-01-31 22:48:56 +01:00
cinap_lenrek
5a93a2a983 usbehci: remove panic() calls from interrupts if stuff isnt ready (spurious interrupts?) 2013-01-31 23:43:04 +01:00
cinap_lenrek
a2b83a5aea nusb/kb: increase maximum report descriptor size, non-continuous endpoints (from richard millars usbmouse-endpoint patch)
Another band-aid fix to the usb mouse driver, to cope with a mouse which has
an interrupt endpoint number 3 but no number 1 or 2, and a report descriptor
more than 128 bytes long.
2013-01-30 20:33:28 +01:00
cinap_lenrek
6b4c5380d8 lib9p: defer freeing srv for listensrv()
use the Srv.end callback for freeing the srv and closing the
file descriptor of a connection. this makes sure we wont free
the srv while there are still outstanding requests that would
access the srv when doing the respond() call.
2013-01-30 10:34:57 +01:00
cinap_lenrek
2c62f8dc67 hjfs: fix bogus nodata getbuf() of superblock in createroot() (failed ream race bug)
we used to do getbuf() with nodata flag so it only worked when
we where lucky and got the same in memory block back. this
is uncritical once you have reamed the filesystem, its just
that sometimes ream would fail with "ream successfull, then
hjfs: fsinit: file ./hjfs not found".
2013-01-30 09:38:02 +01:00
cinap_lenrek
8e658df4fe merge 2013-01-30 06:30:07 +01:00
cinap_lenrek
3787f721c1 9p message size too small
various fileservers do not check if the message size is too small
(they subtract IOHDRSZ later from it to calculate iounit) which
can overflow.
2013-01-30 06:28:42 +01:00
cinap_lenrek
dbbbff8915 lib9p: defer closing down srv until the last request has been responded, Tversion message size
in multithreaded programs, we have to wait until all outstanding
requests have been responded before closing down the srv.

dont make write errors sysfatal(), only print them. in case if
listensrv() is used we dont want to exit the process in respond()
called by some worker thread.

make sure Tversion is only handled when there are no outstanding
requests and make sure message size is sane.
2013-01-30 06:26:03 +01:00
mveety
e322e84f5f reverted changes to termrc 2013-01-29 21:48:57 -05:00
mveety
b8f88c803c made the timesync failure more obvious on the rpi. 2013-01-29 19:03:10 -05:00
ppatience0
f0a451d667 Fixed some ircrc bugs. Only the last channel given to the -t flag is set as target. Unknown commands are not sent to the server. Control-D can be used to exit the client. When the connection is lost, an error message is displayed and the client waits for user input before exiting. Manual page updated. 2013-01-29 23:56:29 -05:00
cinap_lenrek
bc0e5ffa22 audiohda: fix vid typo 1003 -> 1003 2013-01-29 21:59:34 +01:00
cinap_lenrek
bf37280c25 audiohda: add pci id for Intel P55 chipset and ATI HDMI (Radeon HD 8500) 2013-01-29 21:56:02 +01:00
cinap_lenrek
50cf738d69 acpi: remove "cannot get pci bus number for ..." debug prints
on almost all machines, we get tons of these prints for pci busses that
are not physically there but are described in the ACPI namespace. the
reason that we enumerate these is because we do not enumerate _INI and _STA
methods to check if they are present. we just match the information with
the PCI devices we enumerated with our generic pci code. this works fine and
doesnt require aml code to poke arround in pci config space.
2013-01-29 18:24:48 +01:00
cinap_lenrek
05825fd78e hgignore: ignore /proc 2013-01-29 02:54:38 +01:00
mveety
12f51e356a added support for the dos partition on raspberry pi. 2013-01-28 18:48:34 -05:00
mveety
611eedc8d0 removed fakertc device that confused timesync. timesync now fails trying to read it and hints user to get time elsewhere 2013-01-28 17:06:35 -05:00
mveety
73f9e49dbb removed fake rtc device. 2013-01-28 17:00:30 -05:00
cinap_lenrek
245355f719 document tcp445 (CIFS/SMB) listener 2013-01-28 16:41:25 +01:00
cinap_lenrek
696659ad21 remove /rc/bin/mousereset 2013-01-28 16:40:50 +01:00
cinap_lenrek
2eb678a7b5 valley: fix random numbers 2013-01-28 03:54:17 +01:00
khm
115e5f88ed hurr 2013-01-27 17:46:31 -05:00
khm
1859bc9832 added valley(1) 2013-01-27 17:36:05 -05:00
cinap_lenrek
c1cb685a32 audioac97: fix inverted recgain control, init to zero recgain
some controls are inverted. we reflect this by specifying
negative range in the volume table now and let genaudiovolread()
and genaudiovolwrite() do the conversion.
2013-01-27 17:20:42 +01:00
cinap_lenrek
866ee3ab5d audioac97, audiohda: dont block on close, just pad the last block with zeros 2013-01-27 14:00:42 +01:00
cinap_lenrek
47bb182b5b merge 2013-01-27 13:00:09 +01:00
cinap_lenrek
87325403b0 sam: make scroll wheel work outside scrollbar 2013-01-27 12:57:51 +01:00
ftrvxmtrx
bea0aa8472 statusbar: fix garbled percentage output 2013-01-27 11:51:31 +01:00
cinap_lenrek
ea0f580909 add arm vfp support to compiler and linker (from sources) 2013-01-26 18:03:45 +01:00
cinap_lenrek
bc610a1b1c add raspberry pi kernel (from sources) 2013-01-26 17:33:56 +01:00
cinap_lenrek
ea108c8ca6 add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
cinap_lenrek
43e09c468b omap: update omap kernel (from sources)
refactors of the usb ehci code and adds vfp support
2013-01-26 17:32:08 +01:00
cinap_lenrek
44eb643cb2 devuart: export uartenable() 2013-01-26 17:26:28 +01:00
cinap_lenrek
7592fa3e68 kernel: add portable uncached memory allocator (ucalloc) (from sources) 2013-01-26 17:25:23 +01:00
cinap_lenrek
14d663b169 kernel: add portable sd mmc interface (from sources) 2013-01-26 17:06:28 +01:00
cinap_lenrek
ae116c9446 libc: update atomic ops and fp code for arm (from sources) 2013-01-26 17:00:38 +01:00
cinap_lenrek
68c5dc8014 nusb/serial: add silabs driver (from sources) 2013-01-25 17:12:15 +01:00
cinap_lenrek
98dd0aebef acme: fix unicode handling for editout (from sources) 2013-01-25 16:45:04 +01:00
cinap_lenrek
180e04ee41 omap: fix breakpoint instruction trap handling (from sources) 2013-01-25 14:48:57 +01:00
cinap_lenrek
358f72266a merge 2013-01-25 14:20:53 +01:00
cinap_lenrek
9888ead042 libventi: handle nil connection in rpc as error instead of crashing (from sources) 2013-01-25 14:19:18 +01:00
cinap_lenrek
0c4d5b8b07 libdraw: fix memory corruption bug in initdisplay() 2013-01-25 14:17:41 +01:00
cinap_lenrek
13dbaaaf70 libc: set malloctag for runestrdup() 2013-01-25 14:15:48 +01:00
cinap_lenrek
ea81146c15 jpg: check read count when reading png magic (harmless) 2013-01-25 14:14:31 +01:00
cinap_lenrek
188153b7df add Uruguay timezone (from sources) 2013-01-25 14:13:01 +01:00
ftrvxmtrx
e00c53cf74 tga, file: 15-bit tga images 2013-01-24 22:10:27 +01:00