cinap_lenrek
8b40eecea8
kernel: cleanup /sys/src/9/pc/mkfile PORT= and OBJ= lists
2013-05-21 19:45:40 +02:00
cinap_lenrek
92b550d665
kernel: prevent alarm(2) from returning instantly when the tick timer wraps. (from erik quanstros alarmwrap patch)
2013-05-21 19:31:41 +02:00
cinap_lenrek
f6833ce428
wifi: properly size internal wifi input processing queue
...
we only used wifi->iq to process management frames only, now its also used
to forward encrypted data frames, so size it accordingly.
2013-05-21 19:29:57 +02:00
cinap_lenrek
7a9ecbed6a
merge
2013-05-21 18:58:13 +02:00
jpathy
5331734335
merge
2013-05-22 21:55:08 +05:30
jpathy
81b7451972
sse kernel support (sources)
2013-05-22 23:47:05 +05:30
jpathy
213bf50893
add 6(a|l) sse support to 8(a|l)
2013-05-21 23:15:13 +05:30
cinap_lenrek
8a3a36fc05
kernel: make allocb() wait instead of panic() when possible
...
as long as our process doesnt hold any locks or ilocks, we
can try to wait for the memory to become available instead of
panicing.
2013-05-21 02:29:46 +02:00
cinap_lenrek
58201a67c1
uarti8250: print on malloc failure
2013-05-20 17:43:30 +02:00
cinap_lenrek
3ccf5db688
merge
2013-05-20 17:33:46 +02:00
cinap_lenrek
c4f57ff492
pcuart: malloc error handling, cleanup
2013-05-20 17:32:48 +02:00
ftrvxmtrx
5aa2a1a845
kbmap/ua: fix uppercase ь
2013-05-20 13:48:09 +02:00
cinap_lenrek
6ac8a3ca65
devether: handle malloc error in etherprobe()
2013-05-20 01:17:38 +02:00
cinap_lenrek
926dd18a7a
wifi: handle malloc errors in wifiattach()
2013-05-20 01:03:20 +02:00
cinap_lenrek
18b8ae56e8
use resrcwait() when waiting for memory to become available
...
use resrcwait() when waiting for memory to become available. randomize
the sleep time and properly restore old process status in case tsleep()
gets interrupted.
2013-05-20 23:55:38 +02:00
cinap_lenrek
f97798e710
devsd: don't raise Enomem error if sdmalloc() fails, instead wait for the memory to become available
...
filesystems do not handle i/o errors well (cwfs will abandon the blocks),
and temporary exhaustion of kernel memory (because of too many i/o's in
parallel) causes read and write on the partition to fail.
i think it is better to wait for the memory to become available in
this case. the single allocation is at max SDmaxio bytes, which makes
it likely to become available. if we havnt even enought fo that, then
rebooting the machine would be the best option. (aux/reboot)
2013-05-19 20:59:55 +02:00
ftrvxmtrx
318cd6fbde
kbmap/ru: fix uppercase ь
2013-05-19 17:50:51 +02:00
cinap_lenrek
4c6c7be688
nusb/kb: simplify repeat logic as scancode now contains the info about esc1 extension
2013-05-18 01:46:25 +02:00
ftrvxmtrx
506cae05df
nusb/kb: oops, fixup
2013-05-18 01:03:13 +02:00
ftrvxmtrx
811c3e8d78
nusb/kb: use a flag to indicate extended code; fix the most unix-friendly key on se/fi kbd layout
2013-05-18 01:01:34 +02:00
stanley lieber
d50ca72774
faces: just say no to dejavu
2013-05-15 15:38:42 -04:00
cinap_lenrek
172b290e05
netaudit: check if ipgw= is an ip address
2013-05-14 18:54:42 +02:00
cinap_lenrek
4c6fa55456
make clear that the "ipgw" attribute has to be an ip address
2013-05-14 18:31:24 +02:00
stanley lieber
9e9521140d
fortunes: Subject: [9fans] [gsoc] Dart9P
2013-05-14 10:18:49 -04:00
cinap_lenrek
f990a6d30a
rio: place text at beginning of line before cursor and host point
2013-05-13 04:40:02 +02:00
cinap_lenrek
303394314a
rio: fix completion and readback and make it possible to complete history
2013-05-13 04:19:10 +02:00
ppatience0
7b4c8aac93
toppm: no need to initialize err
2013-05-12 18:00:47 -04:00
ppatience0
03d1d83deb
toppm: checking for err is useless; it was initialized to nil earlier
2013-05-12 17:52:35 -04:00
ppatience0
df25791b33
toppm: multichan converts to RGB24, not RGBV
2013-05-12 17:46:39 -04:00
ppatience0
eee0141465
writeppm: replace WriteGIF by WritePPM
2013-05-12 17:08:52 -04:00
cinap_lenrek
6bcc1eb399
writeppm: simplify
2013-05-13 23:03:23 +02:00
ppatience0
a3f776a13e
writeppm: for bitmaps, 1 is black, 0 is white
2013-05-12 16:36:29 -04:00
ppatience0
a1130d843d
toppm: fix style
2013-05-12 16:17:09 -04:00
ppatience0
d5e3e4326c
toppm: add -r flag for raw ppm
2013-05-12 16:11:43 -04:00
cinap_lenrek
b78e9525cf
writeppm: fix tab/spaces
2013-05-12 19:12:21 +02:00
cinap_lenrek
4c4fbdf78c
merge
2013-05-12 19:05:51 +02:00
cinap_lenrek
3cccb8fb12
devaoe: avoid panic on malloc() error by using smalloc() instead.
2013-05-12 19:04:07 +02:00
ppatience0
1d760c9b3e
file: recognize bitmap and graymap ppm images
...
writeppm: do not print extra space after each pixel for graymap formats to save space
2013-05-12 12:53:43 -04:00
cinap_lenrek
8020743579
ether8169: do phywakeup magic only for specific mac versions (from openbsd)
2013-05-12 18:25:24 +02:00
cinap_lenrek
29ece7fda4
ether8169: and phy wakeup and reset phy before enabling auto negotiation
...
this brings up the 8198B on BurnZeZ's ASRock Z68 Professional Gen3 board.
2013-05-12 02:58:02 +02:00
cinap_lenrek
25bc4e84e9
devmnt: fix mount device leak and allocation error handling in mntversion()
...
the fist problem is that qopen() might return nil and that kstrdup() will
sleep, so we should try to avoid holding the mntalloc lock. so we move
the kstrdup() and qopen() calls before the Mnt allocation, and properly
recover the memory if we fail later.
the second problem was that we error(Eshort) after we already created the Mnt
when returnlen < sizeof(f.version). this check has to happen *before* we
even attempt to allocate the Mnt structures. note that we only copy the
version string once everything is in the clear, so the semantics of the
user buffer not being modified in case of error is not changed.
a little cleanup in muxclose(), getting rid of mntptfree()...
2013-05-11 20:54:50 +02:00
cinap_lenrek
fe073f852a
sdide: add Intel SERIES 6 SATA controller pci ids
2013-05-11 18:45:46 +02:00
cinap_lenrek
3174ffc971
acme: apply nemos acmediskread patch (from sources)
...
pread does not guarantee that it would read all the data asked for.
But acme usage of disk assumes that. This issues as many reads as
needed to make acme work when read returns less data than it wanted.
2013-05-11 18:43:03 +02:00
cinap_lenrek
389d6a1054
ape: change types from unsigned long to void* for rendezvous() and segattach()/segbrk() (erik), use uniqueue rendezvous tags for _buf and listen
2013-05-11 18:34:40 +02:00
ppatience0
9af0b2c683
awk: proctab.c is always regenerated from maketab, so it is unnecessary to keep it
2013-05-09 20:48:23 -04:00
cinap_lenrek
9bb703e2cf
srv: be nice, close the previously duped pipe filedescriptor
2013-05-10 01:24:11 +02:00
khm
03cf6cae57
fortunes: all the world's a social vax cloud
2013-05-08 21:07:02 -04:00
ppatience0
c24a442ae2
samterm: revert previous changes.
2013-05-08 20:34:50 -04:00
ppatience0
6a2b5055f5
samterm: move cursor to next tabstop or non-space character before backspacing in spaces mode. this makes it less annoying to backspace (it's more like tabs).
2013-05-08 17:47:48 -04:00
jpathy
e3883b050e
Add RDRAND Support for /dev/random
2013-05-08 23:27:58 +05:30