summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-10mothra(1): replace code.google.com with code.9front.orgstanley lieber
2015-04-09bootrc: simplify bootargs splitting avoiding awkcinap_lenrek
2015-04-09pc, pc64: remove PCICONS debug buffer from pci.ccinap_lenrek
2015-04-08pool: avoid triggering assert(b->magic != FREE_MAGIC) in blocksetsize() for ↵cinap_lenrek
mallocalignl() when we trim the front of a block with freefromfront(), the block magic of the back was not initialized which could sometimes trigger the assert in blocksetsize() to fail. fix is to just move the initialization of the magic field before the blocksetsize() call. the second b->magic = UNALLOC_MAGIC isnt really required but just done for consistency with the trim() code above.
2015-04-08nusb/kb: always try to recover on error, fix recover for multi-function devicescinap_lenrek
when we get an i/o error, always call hdrecover() which will reset the port and reinitialize the interface of the calling processes endpoint. handle the case when we have multi-function device with multiple reader procs in hdrecover(). the sequence is as follows: 1) any of the reader procs encounters i/o error and calls hdrecover(), acquires qlock and initiates port reset. 2) any other readerprocs will now encounter i/o error (due to reset) and also call hdrecover() but will be waiting on the qlock for reset to complete. 3) first process completes reset and reinitializes its interface with setproto() and then releases the qlock for the other readers todo the same.
2015-04-08pci: just in case the bios is drunkcinap_lenrek
2015-04-08pc, pc64: handle 64-bit pci membarscinap_lenrek
this avoids listing the upper half of 64-bit membars in Pcidev.mem[] array avoiding potential confusion in drivers. we also check if the upper half is programmed to zero by bios and otherwise zap the entry in Pcidev.mem[] and print a warning.
2015-04-08pc, pc64: extend initial memory map for qemu multiboot datacinap_lenrek
qemu puts multiboot data after the end of the kernel image, so to be able to KADDR() that memory early, we extend the initial identity mapping by 16K. right now we just got lucky with the pc kernel as it rounds the map to 4MB pages.
2015-04-07pc: import intel i218 nic changes from 9atommischief
2015-04-07kernel: move arrow cursor definition to port/devmouse.ccinap_lenrek
2015-04-07sgi: disable graphical arcs console printing on screen modesetcinap_lenrek
when we switch to graphics mode, we do not want graphical arcs console to print on the screen anymore as it assumes 8bit color mode and just messes up the screen on kernel prints.
2015-04-02/lib/rob: Да!stanley lieber
2015-04-02sgi: keyboard, mouse and cursor for indycinap_lenrek
2015-04-02games/gb: improved audio codeaiju
2015-04-02mergecinap_lenrek
2015-04-02games/gba: fix -3 crash and prevent >100% speedaiju
2015-04-02audiohda: add AMD FCH Azalia Controller (thanks qeed)cinap_lenrek
2015-04-01games/gb: fix gbc dmaaiju
2015-04-01games/gb: fix -2/-3aiju
2015-04-01new games/gb: better emulation and gbc supportaiju
2015-04-01ether8169: fix Macv45cinap_lenrek
2015-04-01ether8169: add 8168GU mac id (thanks qeed)cinap_lenrek
2015-04-01games/c64: writes to I/O area do not affect underlying memory (documentation ↵aiju
lied)
2015-04-01devkbd: remove kbdputc() unused definition.cinap_lenrek
2015-04-01devkbd: remove unused constantscinap_lenrek
2015-04-01mergecinap_lenrek
2015-04-01games/gba: remove debugging printaiju
2015-04-01sgi: very primitive newport graphics driver for indycinap_lenrek
2015-04-01vl: prevent stack altering instructions to be hoisted above loadscinap_lenrek
fixes bug with libmemdraw where the linker would hoist the final ADD $const, SP at the end over loads from the stack causing the front to fall off once a interrupt hits.
2015-03-30webpaste: update for modified okturing.comstanley lieber
2015-03-30nintendo(1): add SOURCE entry for games/gbacinap_lenrek
2015-03-30sgi: preserve R27 in setregisters(), use setregisters() in noted()cinap_lenrek
GEVector() saves the exception return PC in Ureg.r27 which needs to be preserved. there should be no reason for the user to change the status register from noted() eigther, so we now just use setregisters() in noted() to restore previous general purpose registers. this means that CU1 will always be off after noted() because notify() has disabled the FPU on entry and set fpstatus to FPinactive if it was on. once user starts using FPU again, it will trap and restore fpu registers.
2015-03-30mergecinap_lenrek
2015-03-30etherseeq: reset the card when it gets stuck (dma timeouts)cinap_lenrek
2015-03-28/lib/faces: add eekee.1stanley lieber
2015-03-28mergecinap_lenrek
2015-03-28sgi: new approach for etherseeqcinap_lenrek
touching transmit descriptors while dma is running causes the front to fall off. new approach keeps a counter of free descriptors in the Ring structure that is incremented by txintr() when transmit completed. txintr() will clean descriptors once dma has stopped and restart dma when there are more descrtors in the chain.
2015-03-28games/gba: very subtle timer bug fixedaiju
2015-03-28sgi: work in progress kernel for sgi mips machines (only tested with r5k indy)cinap_lenrek
this provides basic console support using the ARC bios routines theu uartarcs driver. and has native seeq ethernet driver which was written by reading the 2ed devseq driver as i have no documentation on the hardware. mmu and trap code is based on the routerboard kernel.
2015-03-27mothra: remove unused confirmcurs; move confirmcursor up with the other cursors.ethan
2015-03-26fortunes: TED, day 1: I want to believe -- WIRED magazinestanley lieber
2015-03-25pc, pc64: state dependency to usbehci.h in mkfilescinap_lenrek
2015-03-25mpdigdiv.s: aaaaand its gone!cinap_lenrek
2015-03-25ape: fix main9 for mipscinap_lenrek
2015-03-25libmp: use portable mpdigdiv routines for mips (causes invalid instruction ↵cinap_lenrek
trap on indy)
2015-03-25ape: fix lockinit() for mipscinap_lenrek
2015-03-25zynq: fix out of bounds access in etherprobe()cinap_lenrek
calling etherprobe() with -1 cardno will rereference and call cards[-1].reset() which is wrong. don't do that!
2015-03-25boot: allow alternative proto files per kernel and kernel config for bootfs.paqcinap_lenrek
bootmkfile will now looks for the following proto files in order and pick the first one it finds to build the bootfs.paq file: 1) $CONF.boofs.proto (config specific) 2) bootfs.proto (kernel specific) 3) $BOOTDIR/bootfs.proto (default generic)
2015-03-24vc: fix coffsect.lnno overflow into nreloccinap_lenrek
the coffsect.lnno field is 16 bit and can overflow into the nreloc field confusing arc firmware on load. just mask it to prevent overflow.
2015-03-23ircrc: remove unused clonefileftrvxmtrx