summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-04libmp: declare mpfactorialmischief
2018-11-04mergecinap_lenrek
2018-11-04libaml: allow amlmapio() to re-enter the interpreter (can happen by pciadd() ↵cinap_lenrek
-> amleval()) - make frame base pointer variable - in rwreg(), save/restore the interpreter state and allocate a Frame* on the stack - add overflow checks for frame base pointer to xec() and amleval() - gc() scans the whole stack from FP to the *real* bottom F0
2018-11-04devvmx: remove bogus . direntryaiju
2018-11-04bcm: fix mysterious core clock resets under SMP (thanks richard miller)cinap_lenrek
reference: https://github.com/raspberrypi/firmware/issues/542 procsave(Proc* p) { uvlong t; cycles(&t); p->pcycles += t; // TODO: save and restore VFPv3 FP state once 5[cal] know the new registers. fpuprocsave(p); /* * Prevent the following scenario: * pX sleeps on cpuA, leaving its page tables in mmul1 * pX wakes up on cpuB, and exits, freeing its page tables * pY on cpuB allocates a freed page table page and overwrites with data * cpuA takes an interrupt, and is now running with bad page tables * In theory this shouldn't hurt because only user address space tables * are affected, and mmuswitch will clear mmul1 before a user process is * dispatched. But empirically it correlates with weird problems, eg * resetting of the core clock at 0x4000001C which confuses local timers. */ if(conf.nmach > 1) mmuswitch(nil); }
2018-11-01bcm: fix mistake in mkfilecinap_lenrek
2018-10-31bcm: fix /dev/reboot text/data corruption (thanks richard miller)cinap_lenrek
- clean dcache before turning off caches and mmu (rebootcode.s) - use WFE and inter-core mailboxes for cpu startup (rebootcode.s) - disable SMP during dcache invalidation before enabling caches and mmu (in armv7.s)
2018-10-31awk(1): fix append operator to avoid truncating fileAlex Musolino
2018-10-28bcm: provide /dev/cputemp in a format stats can understandcinap_lenrek
2018-10-28mergecinap_lenrek
2018-10-28bcm: simplify reboot codecinap_lenrek
- synchronize rebootcode installation - handle the 1MB identity map in mmu.c (mmuinit1()) - do not overlap CONFADDR with rebootcode, the non boot processors are parked there. - make REBOOTADDR physical address
2018-10-28bcm: cleanup clock codecinap_lenrek
- disable local clock on interrupt to prevent accidents when reenabling - always regitster local clock interrupt handler, even for cpu0 - simplify microdelay() - don't mess with watchdog
2018-10-28bcm: fix l2 cache maintenance routines for raspi3 (armv8)cinap_lenrek
armv8 has 16-way l2, so adjust shift for the set-way cache tag format.
2018-10-28misc small manpage fixesqwx
2018-10-27devuart: don't sleep in uartdrainoutput() when called splhi or without a processcinap_lenrek
uartdrainoutput() might be called in early initialization from uartctl() without a process.
2018-10-27rc: skip searchpath for "", "." and ".."cinap_lenrek
2018-10-26rc: use searchpath() logic to handle $cdpathcinap_lenrek
2018-10-26rc: ignore $cdpath for # device rooted paths (thanks kivik)cinap_lenrek
2018-10-25add Centrino Wireless-N 1030 (thanks lksmk from brazil)23hiro
2018-10-22/sys/lib/dist/mkfile: add pi.img target for raspi sdcard imagecinap_lenrek
2018-10-22add /sys/src/boot/bcm/mkfile to download raspberry pi bootcode firmwarecinap_lenrek
2018-10-21nusb/serial: add support for CH340 serial convertercinap_lenrek
2018-10-21mergecinap_lenrek
2018-10-21kbdfs: don't get confused by broken utf8cinap_lenrek
2018-10-21doom: fix music for patch wadsqwx
revert last change, which used games/wadfs to expose genmidi and music lumps. replacements from patch wads were never seen that way. instead, write genmidi and music lumps to /tmp and play them from there.
2018-10-20acme: fix fd checks - initialize Window.rdselfd to -1 not 0cinap_lenrek
2018-10-20fix misleading/wrong fd checksBurnZeZ
2018-10-20libdisk: catch null bytes in proto file, fix memory leakscinap_lenrek
2018-10-20nusb/kb: work arround broken split transaction on raspi's dwc otg usb controllercinap_lenrek
2018-10-20bcm: import changes for raspi2/3 from richard millercinap_lenrek
2018-10-20nusbrc: support for raspi3 ethernetcinap_lenrek
2018-10-20kernel: fix allocb for BLOCKALIGN*2 >= Hdrspccinap_lenrek
2018-10-20devusb: use Enotconf[] string constantcinap_lenrek
2018-10-20nusb/ether: add support for lan78xx (raspi3) (thanks richard miller)cinap_lenrek
2018-10-20nusb/ether: tune buffer size parameters for SMSC ethernet (raspi) (thanks ↵cinap_lenrek
richard miller)
2018-10-18upas/fs: delete extra binariesmischief
2018-10-16truetypefs(4): fix example pathmischief
2018-10-16kbdfs(8): fix nitmischief
2018-10-16ttf: SHZ also uses 0x36aiju
2018-10-16libttf: add SHZ[] instructionaiju
2018-10-16libttf: dont unset LOOP in SHCaiju
2018-10-15nusb/disk: also drive usb attached scsi devicesmischief
2018-10-15nusb/joy: update misleading comment (thanks Tobias Heinecke)aiju
2018-10-13libttf: instruction 0x24 is DEPTH, not CLEARmischief
2018-10-13libdisk: back out last changecinap_lenrek
2018-10-12ssh: fix spinning due to sticky intr flag on connection timeoutcinap_lenrek
2018-10-12mergecinap_lenrek
2018-10-12libdisk: check for proper line termination in proto file parsercinap_lenrek
2018-10-12namespace(4): fix $home bin pathsmischief
2018-10-12namespace(4): document new TrueType path, drop unused Hershey fonts pathmischief