summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-22pc, pc64, xen: change return type of intrdisable() to voidcinap_lenrek
intrdisable() will always be able to unregister the interrupt now, so there is no reason to have it return an error value. all drivers except uart8250 already assumed it to never fail and theres no need to maintain that complexity.
2014-12-22sdvirtio: provide enable() and disable() functions so it can be switched offcinap_lenrek
2014-12-22pc, pc64: fix intrdisable() to remove the Vctl entry even tho we can't ↵cinap_lenrek
disable the interrupt on apic
2014-12-22sdvirtio: move common "queue i/o and wait" code into vqio() function, handle ↵cinap_lenrek
notify suppression
2014-12-22pc, pc64, xen: simplify #P/irqalloccinap_lenrek
2014-12-22pc, pc64: include PCArch.id in #P/archctl simplify #P/ioalloc read handlercinap_lenrek
2014-12-22ape: add fprint %z format (thanks Ori_B)cinap_lenrek
2014-12-21ip: exclude "don't fragment" bit from ipv4 reassembly testcinap_lenrek
other operating systems always set the "don't fragment" bit in ther outgoing ipv4 packets causing us to unnecesarily call ip4reassemble() looking for a fragment reassembly queue. the change excludes the "don't fragment" bit from the test so we now call ip4reassemble() only when the "more fragmens" bit is set or a fragment offset other than zero is given. this optimization was discovered from akaros.
2014-12-20pci(8): document vid/did argumentmischief
2014-12-20pci(8): fix usagemischief
2014-12-20mergemischief
2014-12-20pci: import pci script and updated database from 9atommischief
2014-12-21tee: get rid of openf[100] array and just dup() filedescriptors to 3+[0..n-1]cinap_lenrek
2014-12-21mergecinap_lenrek
2014-12-21kernel: avoid inconsistent reads in /proc/#/fd and /proc/#/nscinap_lenrek
to allow bytewise access to /proc/#/fd, the contents of the file where recreated on each call. if fd's had been closed or reassigned between the reads, the offset would be inconsistent and a read could start off in the middle of a line. this happens when you cat /proc/#/fd file of a busy process that mutates its filedescriptor table. to fix this, we now return one line record at a time. if the line fits in the read size, then this means the next read will always start at the beginning of the next line record. we remember the consumed byte count in Chan.mrock and the current record in Chan.nrock. (these fields are free to usefor non-directory files) if a read comes in and the offset is the same as c->mrock, we do not need to regenerate the file and just render the next c->nrock's record. for reads smaller than the line count, we have to regenerate the content up to the offset and the race is still possible, but this should not be the common case. the same algorithm is now used for /proc/#/ns file, allowing a simpler reimplementation and getting rid of Mntwalk state strcture.
2014-12-21mergeftrvxmtrx
2014-12-21sam: '^' and '_' cmds; same as '<' and '|' except that stdout goes to the ↵ftrvxmtrx
command window
2014-12-20flate: fix wrong adler32() length calculation (thanks qrstuv)cinap_lenrek
2014-12-19vblade: fix code so #pragma pack isnt neededcinap_lenrek
2014-12-19add erik quanstros vblade utilitycinap_lenrek
2014-12-19pc64: enable devaoe and sdloop in kernel configurationcinap_lenrek
2014-12-19sdloop: hardcode Enotup[] string to avoid devaoe dependencycinap_lenrek
2014-12-19sdaoe: allow aoedev= shorthand for id!lun -> id!#æ/aoe/luncinap_lenrek
we cannot type æ character in the bootloader console, so allow the shorthand syntax id!lun which gets translated to id!#æ/aoe/lun.
2014-12-19pc, pc64: adjust mpshutdown() comment to reflect the current statecinap_lenrek
2014-12-19pc, pc64: untangle acpireset() from mpshutdown()cinap_lenrek
mpshutdown() used to call acpireset() making it impossible to build a kernel without archacpi. now, mpshutdown() is a helper function that only shuts down the application processors that gets used from mpreset() and acpireset(). the generic machine reset code in exported by devarch's archreset() function that is called by mpreset() and from acpireset() as a fallback. so the code duplication that was in mpshutdown() is avoided.
2014-12-18hgfs(4): add SOURCE to man page (thanks, spew)stanley lieber
2014-12-18fortunes: oh really.stanley lieber
2014-12-18hgfs(4): add HISTORY to man pagestanley lieber
2014-12-18xen: remove segmentation constants, not used on xen.cinap_lenrek
2014-12-18pc: remove mmuinit0()cinap_lenrek
all mmuinit0() does is initialize m->gdt, but this isnt neccesary as this is done by mmuinit() anyway before loading the gdt.
2014-12-18mergecinap_lenrek
2014-12-18kernel: remove "checked xxx page table entries" print from checkpages()cinap_lenrek
the purpose of checkpages() is to verify consitency of the hardware mmu state, not to notify on the console that a program faulted. a program could also continue after handling the note. (this seems to be the case in go programs)
2014-12-18kernel: print addresses in hex and sizes in decimal in xallocsummarycinap_lenrek
2014-12-17acme: allow typing '\n' in window tagsmischief
2014-12-17pc, pc64: cleanup devarchcinap_lenrek
- shorten cpuidprnt so it doesnt have to break line - addarchfile: complain when running out of entries - fix range check in rmemrw() (harmless) - use nil instead of 0 for pointers
2014-12-17fstype(1): cleanupcinap_lenrek
2014-12-17boot(8): the method!server notation isnt usefull anymore...cinap_lenrek
- in 9front, the bootargs are in the form: method!device args - remove redundant and wrong paragraphs regarding tcp booting - document il boot method - fix boot and bootrc confusions
2014-12-17teg2, xen: remove unused bootdisk[] and fix conf.nswppo factor in kernel ↵cinap_lenrek
memory size calculation
2014-12-17pc: remove unused bootdisk[] variablecinap_lenrek
2014-12-17pc, pc64: remove old B.COM command line parsing and just pass tokenized ↵cinap_lenrek
BOOTLINE to /boot/boot as argv[] this change allows command line passing to /boot/boot from qemu like: qemu -kernel 9pcf -append "-u glenda tcp"
2014-12-16kernel: replace ulong with uintptr in ucallocb() and fix unneeded parenthesescinap_lenrek
2014-12-16kernel: remove obsolete comment regarding Mntcache size in */main.ccinap_lenrek
2014-12-16kernel: new mount cachecinap_lenrek
this is a new more simple version of the mount cache that does not require dynamic allocations for extends. the Mntcache structure now contains a page bitmap that is used for quick page invalidation. the size of the bitmap is proportional to MAXCACHE. instead of keeping track of cached range in the Extend data structure, we keep all the information in the Page itself. the offset from the page where the cache range starts is in the low PGSHIT bits and the end in the top bits of Page.va. we choose Page.daddr to map 1:1 the Mountcache number and page number (pn) in the Mountcache. to find a page, we first check the bitmap if the page is there and then do a pagelookup() with the daddr key.
2014-12-15audio/flacdec: fix pcmconv pipeline race (thanks mischief and henesy)cinap_lenrek
2014-12-15kernel: minor changes to mount cachecinap_lenrek
change page cache ids (bid) to uintptr so we use the full address space of Page.daddr. make maxcache offset check consistent in cread(). use consistent types in cupdate() and simplify with goto. make internal functions static. use nil instead of 0 for pointers.
2014-12-15xen: fix cross buildcinap_lenrek
2014-12-15kernel: use new disk/mkfs -o option to get proper source filename list for ↵cinap_lenrek
bootfs.proto
2014-12-15disk/mkfs: add -o flag to list source filescinap_lenrek
2014-12-14mergecinap_lenrek
2014-12-14kernel: remove *.acid files in nuke target instead of $CONF.clean targetcinap_lenrek