summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-075e: make sure stack base is aligned to avoid unaligned memory trap on armcinap_lenrek
2015-07-01open(2): fix typostanley lieber
2015-06-29nusb/audio: dont sysfatal on bad endpoint (no altc)cinap_lenrek
2015-06-28nusbrc: handle fat formated usb drives without partition tablecinap_lenrek
on some usb drives, there is no dos partition table, so check the filesystem type and consider the whole drive.
2015-06-28etherwpi: remove debug prints, use iprint() in interruptcinap_lenrek
2015-06-28wpa: do not prompt for key when there is already one in factotumcinap_lenrek
2015-06-28etherwpi: Intel PRO Wireless 3945abg driver based on openbsd's if_wpi ↵cinap_lenrek
(thanks aap)
2015-06-28pc, pc64: toggle bit 2 in port 0x61 to reset and enable PCI SERR# nmi's, ↵cinap_lenrek
print nmi status
2015-06-27approx: chmod 775stanley lieber
2015-06-27added approx(1)aiju
2015-06-26fortunes: No we can't.stanley lieber
2015-06-21wifi: berlin prime bunny hoppingcinap_lenrek
- reduce delay for channel hop to 200ms - use 1000ms timeout for auth response (dont hop channels while we wait) - bunny hop sequence is mathematically prooven
2015-06-195e: implement DSB,DMB,ISB and CLREX instructionscinap_lenrek
2015-06-19kernel: do not pull in atom.s from libc for arm kernelscinap_lenrek
- provide our own copy of cas() in l.s - replace use of libc ainc()/adec() with portable incref()/decref()
2015-06-19exec(2): return register (R0) contains address of Tos structure.cinap_lenrek
2015-06-19kernel: ignore last page at the top of virtual kernel address space for xalloc()cinap_lenrek
avoding kernel address -BY2PG because of end pointer wrapping to zero.
2015-06-18ndb(6): fix typo (thanks, pena)stanley lieber
2015-06-18dhcpd(8): the fs attribute refers to the file server, not the name server ↵stanley lieber
(thanks, pena)
2015-06-18zynq: use KADDR() for kmap() if we can avoiding the mappingcinap_lenrek
2015-06-18kernel: ignore memory pages with singular kernel addressescinap_lenrek
addresses va's of 0 and -BY2PG cause trouble with some memmove()/memset() implementations and possibly other code because of the nil pointer and end pointers wrapping to zero.
2015-06-18zynq: fix barrierscinap_lenrek
unlock()/iunlock(): we need to place the coherence() *before* "l->key = 0", so that any stores that where done while holding the lock become observable *before* other processors see the lock released. cas()/tas(): place memory barrier before successfull return to prevent reordering.
2015-06-18kernel: do not inherit Proc.dot (current working directory) in kproc()cinap_lenrek
making sure to close the dot in every kproc appears repetitive, so instead stop inheriting the dot in kproc() as this is usually never what you wanted in the first place.
2015-06-18kernel: do not inherit current directory channel (dot) to pagercinap_lenrek
kproc() inherits dot and slash, pager needs to drop these channels, otherwise it will keep the files open preventing say, ramfs to exit.
2015-06-17usps: cut the useless partftrvxmtrx
2015-06-16stats: add kernel malloc and kernel draw allocation size graphscinap_lenrek
2015-06-16devcons: add current pool allocations to #c/swapcinap_lenrek
2015-06-16kernel: remove waserror() arround newpage() in mntcachecinap_lenrek
newpage() does not raise error().
2015-06-15kernel: add pagechaindone() to wakeup processes waiting for memorycinap_lenrek
we keep the details about palloc in page.c, providing pagechaindone() for mmu code to be called after a series of pagechainhead() calls.
2015-06-15dontkill: only use noswap flag to mark processes as not to be terminated on oomcinap_lenrek
changing procmode has the nasty side effect that notes cannot be posted to them, prventing sysfatal() and threadexitsall() to cleanup properly. recent kernels also check the noswap flag to void killing them in out of memory condition, so this is really all we need now.
2015-06-15there's plenty of room in /libaiju
2015-06-15kernel: implement separate wait queues for page allocationcinap_lenrek
give kernel processes and local disk file servers (procs having noswap flag set) a clear advantage for page allocation under starved condition by giving them ther own wait queue so they get readied as soon as pages become available.
2015-06-15hjfs: defer parent directory permission check for wstatcinap_lenrek
check parent directory permission *after* we determined that the new name does not exist in the parent, so that when the new name is the same as old name then no write permission is required in the parent directory.
2015-06-15hjfs: fix wstatcinap_lenrek
- rename to same name is ok - only truncate when file size is different - check for uid/gid *change*, not if it is specified or not
2015-06-15nusb/serial: remove unused channelcinap_lenrek
2015-06-15zynq: remove unused PTE typedefcinap_lenrek
all the mmu code uses ulong, so get rid of the typeded.
2015-06-15zynq: remove unused statistics fields from Mach structurecinap_lenrek
2015-06-14ndb/dns: cleanup forwarding code (redistrib())cinap_lenrek
instead of copying the whole packet, just save the udp header and restore it aftwards. dont call redistrib() when there are no forwards (this should be almost always the case).
2015-06-13theo: You are on your own.stanley lieber
2015-06-13aux/vga: == is not strncmpftrvxmtrx
2015-06-13htmlroff: fix wrong newline in \name handling (| -> ||)cinap_lenrek
2015-06-13qc, 9/ppc, 9/mtx: fix wrong if statementsftrvxmtrx
2015-06-13kernel: dont use smalloc() to allocate pte array in ibrk()cinap_lenrek
when we'r out of kernel memory, it is probably better to let that alloc fail instead of hanging while holding the segment qlock.
2015-06-13vblade, cifs, usbuhci: fix parenthesiscinap_lenrek
2015-06-13lock: reopen lockfile after changing mode to make lock effectivecinap_lenrek
lock is acquired on open/create when file has DMEXCL set in mode, so we need to reopen the file after setting the bit with wstat.
2015-06-13lib9p: fix lib9p wstat qid.type/mode checks (fixes lock(1) for ramfs/hjfs)cinap_lenrek
2015-06-13ndb/dns: use same buffer size of udp packet in redistrib() as dnudpserver() ↵cinap_lenrek
(fixes assert)
2015-06-12games/doom: remove Makefilecinap_lenrek
2015-06-12games/doom: fix desyncing demo (thanks qwx)cinap_lenrek
the code used P_Random()-P_Random() in some places which has undefined evaluation order resulting in the wrong pseudo random numbers being returned causing demo playback to desync. this change adds P_Random2() function which returns the right delta-random number and uses it in place of P_Random()-P_Random() expression.
2015-06-12kernel: fix accounttime() for HZ >= 1000cinap_lenrek
"milli-CPU's" is too low resolution for the decaying load average calculation when HZ >= 1000.
2015-06-11zynq: increase kernel memory for graphicscinap_lenrek