summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-07libc: improve dial error handlingcinap_lenrek
when dial is called with a generic dialstring, it will try /net and /net.alt in sequence. error out if the /net dial gets interrupted and do not continue dialing /net.alt. reduce stack usage by using the swaping nature of errstr() instead of keeping two error string buffers on the stack.
2014-11-07devproc: reset p->pdbg under p->debug qlock in procstopwait()cinap_lenrek
theres a race where procstopwait() is interrupted by a note, setting p->pdbg to nil *before* acquiering the lock and and pexit() and procctl() accessing it assuming it doesnt change under them while they are holding the lock.
2014-11-06mouse(2): fix atomouse (thanks qrstuv)cinap_lenrek
2014-11-06libdraw: fix atomousecinap_lenrek
2014-11-05libc: allow dial to be interruptedmischief
previously, if dial was interrupted by an alarm or other note while connecting to a host that resolved to multiple ips, dial would ignore the interruption and try the next host. now dial properly returns with error when it is interrupted.
2014-11-05inst: copy efi bootloader in bootsetupcinap_lenrek
2014-11-05fix some manpage cross referencescinap_lenrek
2014-11-05termrc: setup mouse when we have a framebuffercinap_lenrek
previously, we setup mouse only when vgasize= was specifid in plan9.ini. with efi systems, the framebuffer is already setup for us and theres no requirement for going thru aux/vga setup, but we still want to setup the mouse. so do the mouseport= check once theres a framebuffer by testing the existence of '#i/winname' (which fails when thers no framebuffer).
2014-11-04acpi: fix pcibusno() when PCI0._ADR = 0cinap_lenrek
libaml comresses zero integer as nil, so remove the nil check. this makes interrupts work in vmware with efi.
2014-11-04pc: enable page size extension early in apbootstrapcinap_lenrek
vmware in efi mode brings application processors up with CR4 = 0 (pse disabled) which makes us page fault when accessing the ap's pdb which might be in a 4MB mapping when the boot processor used pse to setup page tables. so we unconditionally enable pse in apbootstrap (and disable pae in case of surprises).
2014-11-029boot(8): remove redundant "the"cinap_lenrek
2014-11-029boot(8): improve efi documentationcinap_lenrek
2014-11-02bullshit: don't pollute the environmentstanley lieber
2014-11-02wpa: fork note group when going to background (thanks jpm)cinap_lenrek
bug: as jpm pointed out, when we run aux/wpa in rio window and delete the window, aux/wpa was killed as it shared the note group of the window. fix: fork the notegroup.
2014-11-02pc, pc64: implement acpi reset (for efi)cinap_lenrek
x230 booted in efi only (no csp) mode hangs when traditional i8042reset() keyboard reset is tried. so we try acpireset() first which discoveres and writes the acpi reset register.
2014-11-02realemu: make sure instruction arguments are initialized even when decoding ↵cinap_lenrek
traps
2014-11-02pc, pc64: more sanity checking for lowraminit()cinap_lenrek
2014-11-01pc64: remove unused pdballoc and pdbfree counters from mach structurecinap_lenrek
2014-10-31dist: generate efi bootable cd imagecinap_lenrek
2014-10-31nusb/kb: dont set boot protocol on HidCSP interface when we failed to read ↵cinap_lenrek
report descriptor (thanks aap_) this fixes wireless keyboard/mouse on raspi.
2014-10-31efi: generate /386/efiboot.fat for generating efi bootable cd images (see -E ↵cinap_lenrek
option of mk9660)
2014-10-31efi: iso filesystem support for cdrom bootingcinap_lenrek
instead of including kernel and config in the efi fat image, we can just include the loaders and read the plan9.ini and kernel from iso filesystem just like the bios loaders.
2014-10-31efi: add test targets for iso and fat (for documentation only)cinap_lenrek
2014-10-31mk9660: add -E option to create EFI boot entrycinap_lenrek
2014-10-30bcm: fix baudrate setting for serial console (thanks to aap and hiro)cinap_lenrek
the uartmini enable function used to override the baud register so the effecive baudrate was always set to 115200 baud. now the default baudrate of 9600 is set correctly and can be changed in the console= boot parameter. thanks aap and hiro for debugging, pizza and beer :)
2014-10-29newt: delete linesstanley lieber
2014-10-29newt: do not print first message twice when stepping through messagesstanley lieber
2014-10-29disable useless ssh daemon by defaultKurt H Maier
2014-10-29mergecinap_lenrek
2014-10-29fix syslog() use with linefeeds for various programscinap_lenrek
2014-10-29newt: only print a date if we've managed to extract a datestanley lieber
2014-10-29cs: fix linefeeds in syslog(), cleanupcinap_lenrek
2014-10-29cs: use /net/ether* instead /net/ether[0123], dont remove srv file with -n, ↵cinap_lenrek
dont write dns logfile
2014-10-28newt: removed unused functionstanley lieber
2014-10-28newt: implement ned-style address ranges and overhaul h command to suitstanley lieber
2014-10-25rio: dont serve a kbd file per window when we didnt got one from the environmentcinap_lenrek
9vx doesnt provide a /dev/kbd file and rio faking one up causes problems with vncv. (issue #223)
2014-10-24fortunes: this exact error message is in the fortunes file.stanley lieber
2014-10-24rob: Working as intendedstanley lieber
2014-10-24efi: change eficonfig ordering so memconf() is first, dont fallback to fs ↵cinap_lenrek
when /cfg/pxe/ file isnt there having the memconf() (*e820=) last clutters the screen. do it first, so we can read *acpi= and *bootscreen= prints. we want to continue using tftp even when the /cfg/pxe/$ether file is not found. only when we detect no pxe/dhcp session, then we switch to local filesystem (non-network boot).
2014-10-23lib9p: prevent files from being created in deleted directories (thanks BurnZeZ)cinap_lenrek
2014-10-23lib9p: fix .. walk crash in deleted directory (thanks BurnZeZ)cinap_lenrek
to reproduce: % ramfs; cd /tmp % mkdir foo; cd foo % pwd /tmp/foo % rm /tmp/foo % pwd /tmp/foo % ls % ls /tmp % ls .. ramfs 202751: suicide: sys: trap: fault read addr=0x0 pc=0x0000e46d ls: ..: '..' mount rpc error
2014-10-23efi: add initial pxe support (v4 only)cinap_lenrek
2014-10-21pc, pc64: make mtrr() callable from interrupt context and before mpinitcinap_lenrek
to make it possible to mark the bootscreen framebuffer as write combining in early initialization, mtrr() is changed not not to error() but to return an error string. as bootscreen() is used before multiprocessor initialization, we have to synchronize the mtrr's for every processor as it comes online. for this, a new mtrrsync() function is provided that is called from cpuidentify() if mtrr support is indicated. the boot processor runs mtrrsync() which snarfs the registers. later, mtrrsync() is run again from the application processors which apply the values from the boot processor. checkmtrr() from mp.c was removed as its task is also done by mtrrsync() now.
2014-10-199boot(8): document efi bootingcinap_lenrek
2014-10-19inst: ignore *bootscreen= variable when generating plan9.inicinap_lenrek
2014-10-19pc, pc64: lookup pci device for bootscreen() and maximize framebuffer ↵cinap_lenrek
aperture so can change screen resolution
2014-10-19efi: use LocateHandle() and HandleProtocol() to check for multiple gop ↵cinap_lenrek
protocols to find a usable one the gop returned by LocateProtocol() is not usable on thinkpad x230, so iterate over all handles to find a usable one.
2014-10-19efi: fix compiler warnings, remove indicator prints in readn()cinap_lenrek
2014-10-18efi: simplify bootscreen codecinap_lenrek
2014-10-18games/gba: add state savingaiju