summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-22alarm: run checkalarms() only on cpu0 (from eriks alarm-once patch)cinap_lenrek
2013-06-22apic: eleminate splhi and apictimerlock, per cpu apictimer structurecinap_lenrek
the splhi() and apictimerlock in the Mach isnt neccesary, as portclock always holds the ilock of the per mach timer queue when calling timerset(). as fastticks() and the portclock timers are all handled on a per processor basis, i think it should be theoretically possible for the lapics to run at different frequencies. so we measure the lapic frequency for each individual lapic and keep them in a per processor Apictimer structure instead of assuming them to be the same.
2013-06-22wifi: add list of setup encryption key ciphers and lengths into ifstats filecinap_lenrek
it is usefull to see what encryption keys have been estabished by aux/wpa.
2013-06-22devcons: change /dev/kmesg buffer back to normal 16Kcinap_lenrek
this makes it consistent with the manual again.
2013-06-22apic: fix lapic timer divider (fixes wrong lapic frequency on boot)cinap_lenrek
loading the divider before programming one shot mode *sometimes* gives the wrong frequency. (X200s got 192Mhz vs. 266Mhz, after 5 boot attempts) also reload the divider after programming periodic mode. (from http://wiki.osdev.org/APIC_timer)
2013-06-21mergecinap_lenrek
2013-06-21reverting *notsc= option, this needs another revisioncinap_lenrek
2013-06-21mergecinap_lenrek
2013-06-21reverting guesscpuhz() changes, causes troublecinap_lenrek
2013-06-21uhtml: fix wrong open error handling (fd 0 != fd 1) (thanks BurnZeZ)cinap_lenrek
2013-06-21ndb/dns: avoid duplicate entries for db recordscinap_lenrek
dnauthdb() would relabel expired rr's as rr->db == 0 to make them get garbage collected by dnage(). but this doesnt work due to dn->keep and also causes the deduplication to fail on rrattach() as rrattach1() handles rr->dn/rr->auth as separate name spaces. this causes duplicate entries in the rr's when ndb gets gets changed. to fix, we just delete the expired (removed from ndb) rr's immidiately in dnauthdb() instead of trying trick dnage() to garbage collect it.
2013-06-19nusb/ether: fix asixread() invert/shift in wrong orderppatience0
2013-06-20disable tscticks in pc kernel (for now)cinap_lenrek
doesnt seem to be reliable. also, separate tsc frequency measurement and cpu loopconst measurement. turned out with *notsc=, the simplcycles() calls would mess up loopconst.
2013-06-19plan9.ini: add *notsc= option to disable use of TSC as righ resolution clockcinap_lenrek
we previously used tsc only on cpu kernel. now that we use it on terminal kernel too, there might be some surprises ahead. so make it possible to disable tsc for machines where the tsc rate is not kept constant across cores or is dynamically adjusted by power management.
2013-06-19libc: fix compiler warning for mips canlock() and _tas()cinap_lenrek
2013-06-19libdraw: fix allocscreen() memory leak with too many retries (from 9atom)cinap_lenrek
2013-06-19acpi: use Tblsz enum instead of sizeof(Tbl) due to alignment, enable use tsc ↵cinap_lenrek
on terminal kernel (thank erik)
2013-06-19auth/asm12dsa: use fd 0 instead of trying to open /dev/stdin (thanks arpunk)cinap_lenrek
2013-06-18libaml: pikeshedd style, handle division by zero (thanks erik)cinap_lenrek
2013-06-18smtp: usage for -t flag (thanks erik)cinap_lenrek
2013-06-18nusb/ether: fix asixwrite()cinap_lenrek
invert/shift in wrong order causing low 16 bits to be all ffff...
2013-06-18libdraw: avoid moving cursor if we dont have to for menuhitcinap_lenrek
depending on the font, poping the menu would move your cursor one pixel down each time (due to division). this is annoying when using a trackpoint and trying to repeat some operation over 9000 times. the cursor should only be moved when the menu is repositioned to contain it on the screen.
2013-06-18devsrv, devshr: wstat permissionscinap_lenrek
update permissions last in wstat so it will only get changed when there was no error.
2013-06-18devshr: fix wstat, stylecinap_lenrek
- same problem with wstat, if we error then owner has been already updated... - avoid smalloc while holding qlock in wstat, do it before - pikeshedd style...
2013-06-17devsrv: fix wstat(), srvname(), avoid smalloc() while holding srv qlock, stylecinap_lenrek
- wstat would half update the Srv data structure if name was too long - srvname() walked the linked srv list without holding srv qlock - dont access sp->chan while not holding srv qlock in srvopen() - dont modify sp->owner while not holding srv qlock in srvcreate() - avoid smalloc() allocations while holding srv qlock - style pikeshedding, sorry
2013-06-17page: use resizewin() to change window size for gif displaycinap_lenrek
resizewin() has some extra logic making sure the rect doesnt get too big. rio would otherwise refuse to create the window and the operation will fail completely.
2013-06-16nusb/ether: call sysfatal if dev is nilppatience0
2013-06-17ip/ethermedium: drop short packets instead of producing negative size blockscinap_lenrek
on usb ethernet, it can happen that we read truncated packets smaller than the ethernet header size. this produces a warning in pullupblock() later like: "pullup negative length packet, called from 0xf0199e46"
2013-06-16draw: add badrect() function to reject zero, negative size or orverly huge ↵cinap_lenrek
rectangles not checking the rectangle dimensions causes integer overflows and memory corruption. adding a new badrect() function that checks for these cases.
2013-06-16make filesystem handling of read9pmsg() consistentcinap_lenrek
2013-06-16devmnt: add debug print for convS2M failing, suspecting this causing zero ↵cinap_lenrek
length writes
2013-06-16paint: limit zoom to 12 stepscinap_lenrek
2013-06-16wpa: fix bugcinap_lenrek
2013-06-16crop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)cinap_lenrek
2013-06-16libmemdraw: fix drawing to color mapped with alpha chan (m8a8)cinap_lenrek
2013-06-16abaco: allow single quotes for ctype attribute (thanks plhk)cinap_lenrek
plhk9 → abaco: charset 'utf-8'> not supported plhk9 → http://plhk.ru/trash/abaco-singlequote.diff makes it go away
2013-06-15page: 12 zoom levels should be enougthcinap_lenrek
making zoom too big just causes pagesize() multiplication to overflow passing bogus rectangles to allocimage().
2013-06-15wpa: automatically pick cipher suits from beacon rsnecinap_lenrek
2013-06-14rdbfs: add -s srvname (from charles forsyth's rdbfs-srvname patch)cinap_lenrek
Add a -s srvname option to rdbfs, allowing debugging sessions to be shared or later reattached after disconnection.
2013-06-14lpdaemon: fix bogus string termination (from sources)cinap_lenrek
2013-06-14ndb/cs, ndb/dns: ignore special commands from users different from the one ↵cinap_lenrek
we run the service owner this prevents users like "none" from toggling special options in ndb/dns and ndb/cs.
2013-06-14pool: use splaying to balance free node treecinap_lenrek
use splaytree algorithm to balance the tree of free allocations as an optimization. the data structures are unchanged by this optimization.
2013-06-13mergecinap_lenrek
2013-06-14fpiarm: condok() verfiy before specialop() omap/kwjpathy
2013-06-12mergecinap_lenrek
2013-06-12libmach: add EMMS for disassembly (8db.c, thanks mischief)cinap_lenrek
2013-06-12fortunes: When Do Apps Become Rituals?stanley lieber
2013-06-12mergecinap_lenrek
2013-06-12smtp: add SMTPS support (-t)cinap_lenrek
2013-06-12Remove unused fpemu function in omap, kwjpathy