summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-20mergeaiju
2014-02-20games/nes: cleanup and resize handlingaiju
2014-02-20games/nes: bug fixingaiju
2014-02-20fix blowfish endianess confusion (thanks erik)cinap_lenrek
from /n/sources/patch/blowfish/readme: Blowfish is broken. The order of the bytes in the ciphertext is wrong. The problem is the conversion from the ciphertext plaintext block to the array of u32int used by the core funcions and vice versa. This code has been tested on big endian and little endian machines. A test program is also included, bftets.c. It uses the test vectors of blowfish available at https://www.schneier.com/code/vectors.txt
2014-02-18exportfs: fix flush races, proc sweepingcinap_lenrek
2014-02-17aux/cpuid: hack for amd64cinap_lenrek
2014-02-17prof: properly save and restore RARG for amd64cinap_lenrek
amd64 passes first argument in RARG (BP) register which has the be preserved duing _profin() and _profout() calls. to handle this we introduce _saveret() and _savearg(). _saveret() returns AX, _savearg() returns RARG (BP). for archs other and amd64, _saveret() and _savearg() are the same function, doing nothing. restoing works with dummy function: uintptr _restore(uintptr, uintptr ret) { return ret; } ... ret = _saveret(); arg = _savearg(); ... return _restore(arg, ret); as we pass arg as the first argument, RARG (BP) is restored.
2014-02-16games/nes: add mapper 7 supportcinap_lenrek
2014-02-16xd: changed -s option to switch to little-endian unitsaap
2014-02-16added games/nesaiju
2014-02-16mothra: remove unused local variables from pl_nextc()cinap_lenrek
2014-02-16truss: use A instead of X as address format for data dumpcinap_lenrek
2014-02-16truss: fix syscall address formatscinap_lenrek
2014-02-16mothra: fix unicode rendering for plaintextcinap_lenrek
we did the utf-8 to unicode conversion in pl_nextc(), but the plaintext handler uses pl_readc() which only translates newlines but otherwise returns bytes. move unicode conversion in pl_readc() fixes it.
2014-02-15documented usbwait in plan9.ini(8)Matthew Veety
2014-02-15factotum/authsrv: fix padding for mschap on amd64, use constants for ↵cinap_lenrek
structure sizes
2014-02-15pc64: fix mistakecinap_lenrek
2014-02-15pc64: simplify mmuwalk by factoring out mmu page table creation into ↵cinap_lenrek
separate function
2014-02-15mergecinap_lenrek
2014-02-15pc64: support for vmware PCnet ethernetcinap_lenrek
2014-02-15pc64: move VMAP into its own PDP (for vmware)cinap_lenrek
modifying the kernel pdp (CPU0PDP) hangs vmware. so we initialize the pdp with KZERO and KZERO+1GB map in l.s and never change it. (except when removing the zero double map which seems to work). VMAP has its own pdp now allowing to map 512GB of physical address space. this simplifies the code a bit and gives nice virtual addresses.
2014-02-14added in a way to make net.rc wait for the network hardware to come up ↵Matthew Veety
before running ip/ipconfig. This fixes the issue with the Raspberry Pi where ip/ipconfig tried running prior to /net/etherU3 exists
2014-02-14libc: remove malloc.acid and pool.acidcinap_lenrek
2014-02-14page: fix compiler warningcinap_lenrek
2014-02-14socksd: close inside udp server one we get a connection (udprelay)cinap_lenrek
2014-02-14cifsd: fix compiler warningcinap_lenrek
2014-02-14nusb/ether: fix pointer truncationcinap_lenrek
2014-02-14webfs: fix compiler warningcinap_lenrek
2014-02-14ip/torrent: remove unneeded assignmentcinap_lenrek
2014-02-14acid: add semacquire/semrelease/tsemacquire syscalls, handle _seek hack for ↵cinap_lenrek
amd64 (thanks erik)
2014-02-14similar to my last commit, but combined the two waits for the usb devices. ↵Matthew Veety
still configurable, but with usbwait. If usbwait is not defined then it defaults to the original 2 seconds.
2014-02-12pc64: add ahci.h to PCHEADERS so it will be removed on mk cleanmischief
2014-02-12pc64: remove ethermii.h and copy it from pc insteadmischief
2014-02-12added pccpu64 for cpuservers. also enabled etherigbe in pc64 and pccpu64Matthew Veety
2014-02-12acid: fix acid/network, fix address formats from X to Acinap_lenrek
2014-02-12truss: support for amd64cinap_lenrek
2014-02-12pool(2): fix ulong -> uintptrcinap_lenrek
2014-02-10ramfs: remove mainmem pool limit when called with -u flagcinap_lenrek
2014-02-10pc64: limit memory of per processor mmu freelist to 1MBcinap_lenrek
2014-02-10acid: remove objchar, prefering foobar.$objtype.acidcinap_lenrek
acid already sets up objtype for us.
2014-02-10pc64: return up in RUSER (BP) for devproc kregs filecinap_lenrek
2014-02-10cc: emit right acid format for addresscinap_lenrek
we could use 'A' here but then it would require the new acid.
2014-02-10acid: update acid libraries for amd64cinap_lenrek
2014-02-09acid: make 'a' and 'A' format to have the same size as mach->szaddrcinap_lenrek
to make it easier to write portable acid code, we introduce 'A' format in the same meaning as in db(1): A Print the value of dot in hexadecimal. Dot is unaffected. both 'a' (symbolic) and 'A' will both have 64 or 32 bit size depending on the mach, so pointer array indexing works the same.
2014-02-09pc64: pass Ureg* argument in BP to userspace note handlercinap_lenrek
2014-02-09acid: fix memory corruption due to gccinap_lenrek
we cannot call gc() in execute() because it will gc anonyous intermediate results which happens when we construct a list and the elements are calculated by calling a function thru ocall() which calls execute(). also, the _thiscmd symbol; which is used to keep a reference to a statement so it wont get garbage collected; does not work as yyparse() is recursive (include statements). we add execrec() function which *only* gets called from yyparse() when evaluating a statement. it will keep a stack on the _thiscmd symbol handling the yyparse() recursion. we also only call gc() in execrec() before calling execute(). so execute() will never gc() while evaluating a statement which prevents the intermediate results from getting collected.
2014-02-08pc64: handle negative file offsets when accessing kernel memory with devproccinap_lenrek
file offset is 64 bit signed integer, negative offsets are invalid and rejected by the kernel. to still access kernel memory on amd64, we unconditionally clear the sign bit of the 64 bit offset in libmach and devproc sign extends the offset back to a 64 bit address.
2014-02-08mtrr: fix mistakecinap_lenrek
2014-02-08jpg: center image in screencinap_lenrek
when using the jpg(1) programs interactively, draw the image in the center of it. this avoids wasting space with always on borders on small windows and looks better when used in fullscreen.
2014-02-08reuse mtrr slots with default memory typecinap_lenrek