summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-28hjfs: improve error messaging around blocks that are not foundspew
2017-03-28hjfs: Fix bugs in ref count scan check. Enable as a console command (caveat: ↵spew
command arguments will change as I implement more functionality)
2017-03-29move blit roms to /sys/lib/blitcinap_lenrek
2017-03-29blit: fix mkfilecinap_lenrek
2017-03-29kernel: fix twakeup()/timerdel() race conditioncinap_lenrek
timerdel() did not make sure that the timer function is not active (on another cpu). just acquiering the Timer lock in the timer function only blocks the caller of timerdel()/timeradd() but not the other way arround (on a multiprocessor). this changes the timer code to track activity of the timer function, having timerdel() wait until the timer has finished executing.
2017-03-29sdnvme: NVMe controller driver (work in progress)cinap_lenrek
basic NVMe controller driver, reads and writes work. "namespaces" show up as logical units. uses pin/msi interrupts (no msi-x support yet). one submission queue per cpu, shared completion queue. no recovery from fatal controller errors. only tested in qemu (no hardware available). commiting this so it can be found by someone who has hardware.
2017-03-28games/blit: mkfile: install into /bin/gamesaiju
2017-03-28add games/blitaiju
2017-03-27hjfs: fix broken dprintspew
2017-03-27hjfs: simplify dprintingspew
2017-03-27hjfs: add simple scan check of directory entry blocksspew
2017-03-27hjfs: check: check a block if its ref count is _not_ zero. Also check all ↵spew
the ref counts of blocks of a directory and clean up messages
2017-03-27various fortune corpuses: Nil means nothing.stanley lieber
2017-03-27hjfs: merge start of hjfs check implementationspew
2017-03-27hjfs: start implementation of checking a directoryspew
2017-03-26devsd: handle case where theres no ifc->enable() functioncinap_lenrek
2017-03-26mergecinap_lenrek
2017-03-26devsd: check return value of ifc->enable(), don't leak unit name/user stringscinap_lenrek
2017-03-26sdvirtio: return 1 for success in vioenable()/viodisable()cinap_lenrek
2017-03-25file(1): recognise Xilinx bitstreamsaiju
2017-03-25games/galaxy: fix exit race condition by pausing the galaxy before ↵spew
threadexitsall
2017-03-25hjfs: Add comment to change the OFF size to 8 when given the chancespew
2017-03-25games/galaxy: parallelize gravitational force calculationsspew
Once the Barnes-Hut tree is constructed, the gravitational force calculations can be done in parallel by dividing the bodies up between a number of procs.
2017-03-25pc kernel: handle PCMP and RSD being in low (kaddr) or reserved (vmap) memorycinap_lenrek
on thinkpad x1v4, the PCMP structure resides in upper reserved memory pa=0xd7f49000 - while system memory ends at 0x0ffff000; so we have to vmap() it instead of KADDR(). the RSD structure for ACPI might reside in low memory, so we sould KADDR() in that case.
2017-03-23upas/smtp: fix cram-md5 auth, simplify doauth(), check varargs for dBprint()cinap_lenrek
- smtpcram() was replying with the challenge instead of the response... m( - simplify doauth, use error string for auth_getuserpasswd() error logging - enable #pragma varargck for dBprint()
2017-03-23upas/smtp: generate 128-bit random message id (was 32 bit), use dBprint(), ↵cinap_lenrek
cleanup unused variables
2017-03-22plumb(2): Fix typo in description of Plumbdelattr (thanks sam-d)spew
2017-03-22webfs(4): timeout is in milliseconds not seconds (thanks sam-d)spew
2017-03-22upas/smtp: Revert smtp dial string behavior to match that of old upas ↵spew
(thanks sam-d) Also do some cleanup around buffers and memory management
2017-03-22[012568kqv]a: correctly lex full range of integers in the assemblers (thanks ↵spew
Ori_B) The Plan 9 assemblers use strtoll to parse the integer literals in their input. It turns out that this is almost correct, but VLONG_MIN is clamped. This patch changes to use strtoull in order to allow the full range of integers.
2017-03-21remove accidentally commited binary /sys/src/cmd/upas/fs/chkidx file (thanks ↵cinap_lenrek
mischief)
2017-03-21hjfs: Clear all refs to zero when reaming.spew
And a couple clarity/formatting changes
2017-03-20ip/torrent: exit immidiately when file is complete after verification and ↵cinap_lenrek
not being in seed mode
2017-03-20ip/torrent: avoid peerid collision using truerand() instead of time(0)cinap_lenrek
2017-03-19fortune: avoid buffer overflow for lines >= 2K, make sure index has at least ↵cinap_lenrek
one entry, use nrand()/ntruerand() for uniform distribution
2017-03-195l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)cinap_lenrek
The plan 9 assemblers support the DUPOK flag on text symbols. They parse and ignore it on GLOBL symbols. This patch makes it work in the linkers. The reason I ran into this is because my programming language (Myrddin) uses data symbols to generate type information, and it's useful to avoid duplicating all of the type info in every file that gets generated.
2017-03-18inst: make command window not overlap stats window in glendas riostartcinap_lenrek
2017-03-18cdproto: make mdir for glendacinap_lenrek
2017-03-18diskparts(8), prep(8): add edisk in NAME sectioncinap_lenrek
2017-03-18mus(1): fix manpage referencescinap_lenrek
2017-03-18vga(3): complete list of vga controllers and software cursorscinap_lenrek
2017-03-18devmouse: refactor screen blanking logiccinap_lenrek
devmouse controls the screen blanking timeout, so move the code there avoiding cross calls between modules. the only function that needs to be provided is blankscreen(), which gets called with drawlock locked. the blank timeout is set thru /dev/mousectl now, so kernels without devvga can set it. blanking now only happens while /dev/mouse is read. so this avoids accidentally blanking the screen on cpu servers that do not have a mouse to unblank it.
2017-03-17games/doom: don't spawn midi process when opening /dev/audio failed (thanks qwx)cinap_lenrek
2017-03-17tapefs: handle more cpio formats (thanks qrstuv)cinap_lenrek
2017-03-16upas/fs: tls sni support for pop3/imapcinap_lenrek
2017-03-16upas/fs: fix memory leaks in tls code, handle tls in a common wraptls() functioncinap_lenrek
2017-03-15upas/fs: getting rid of the fine-grain locking...cinap_lenrek
now that locking works, its time to get rid of it. given that the only concurrency is between the periodic reader process and the filesystem code, just make sure the filesystem rpc handlers do not run concurrenty while syncing is in progress with a single qlock.
2017-03-14upas/fs: more cleanup...cinap_lenrek
2017-03-14upas/fs: remove more debugging crapcinap_lenrek
2017-03-14upas/fs: remove unused segbrk memory allocatorcinap_lenrek