Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-31 | Use calloc to make sure the correct size is zeroed; Benjamin Baier | Miod Vallat | |
2014-05-31 | Reduce MAXSSIZ to 32MB to match all other platforms; noticed by tobiasu@ | Miod Vallat | |
2014-05-31 | Revert previous diff setting cold to 1 on shutdown because it breaks machine | Martin Pieuchot | |
with softraid(4) disks. softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter does not allow to sleep. | |||
2014-05-31 | Address several problems in signal delivery on 88100 processors: | Miod Vallat | |
- when building the sigcontext, rewind the pipeline for recoverable exceptions, so that sigreturn actually has a chance to cause the interrupted instruction to be run again. - when returning with sigreturn, and the sigcontext contains valid DAE information, the DAE need to be emulated before returning, for the processor will not reissue them. - finally, when the sigframe is allocated on the current process' stack, be careful not to stomp upon addresses referenced by the DAE information, for this would defeat the previous point. All these changes only affect 88100 processors only. 88110 operation is unchanged. While there, do not copyout an empty siginfo struct if the signal handler does not expect any. Hair-pulling evil testcase provided by aoyama@, based upon one of devel/libsigsegv configure tests (which would spin on 88100 and run happily on 88110). | |||
2014-05-31 | In regdump(), print DAE registers when they are valid, regardless of the | Miod Vallat | |
exception type. | |||
2014-05-31 | Introduce m88100_rewind_insn() to rewind the execution pipeline one | Miod Vallat | |
instruction, rather than gazillions of inline variants. This also makes the situations where we clear specific bits in the fip or nip registers more visible. No functional change. | |||
2014-05-31 | Remove some unused code that we added at the 2013 Toronto hackathon but | Mike Larkin | |
don't need anymore. | |||
2014-05-30 | SBus glue for qlw(4) for sparc. Untested. | Mark Kettenis | |
2014-05-30 | SBus glue for qlw(4) for sparc. Untested. | Mark Kettenis | |
2014-05-30 | Eliminate some duplicated "mfctl cr29, rN" instructions. | Mark Kettenis | |
ok jsing@ | |||
2014-05-30 | Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting or | Martin Pieuchot | |
rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@ | |||
2014-05-27 | Fix ia64 cross-gcc target. | Tobias Ulmer | |
opensslconf.h is just a dummy, we're lightyears away from working userspace. ok deraadt@ | |||
2014-05-26 | Replace some magic constants with appropriate defines. | Mark Kettenis | |
ok krw@, deraadt@ | |||
2014-05-26 | Do not change the state of the carry bit in the psr when returning with | Miod Vallat | |
ERESTART or EJUSTRETURN, for we're not supposed to. (Actually, setting the carry bit upon syscall failure doesn't make much sense on m88k, since this is not how the syscall stubs check for failure) | |||
2014-05-25 | Turn on blinky things by default, very useful here | Theo de Raadt | |
2014-05-24 | Provide bus_space_mmap() | Miod Vallat | |
2014-05-24 | Why didn't I use ps_vmspace when I scribbled all over pmap_rmproc()? | Philip Guenther | |
ok miod@ | |||
2009-12-11 | By popular demand and peer pressure, check-in work in progress work to support | Miod Vallat | |
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year. | |||
2014-05-23 | Free the est_fqlist allocations if we end up not using it. | Philip Guenther | |
suggested by Benjamin Baier (programmer (at) netzbasis.de) ok and comment suggestion kettenis@ | |||
2014-05-22 | Regen | Miod Vallat | |
2014-05-22 | Yet another evil awk script (not perl, I'm not in LibreSSL mode at the moment) | Miod Vallat | |
to convert the PS/2 keyboard layouts to SGI serial keyboard layouts. Only the subset of layouts known to have existed (as listed in IRIX's <sys/kbd.h> header) get converted, and specific flavours (iopener, dec LK) are ignored as well. `nodead' flavours, when existing, are preserved. | |||
2014-05-22 | Extend the keyboard communication routines to be able to work in polling mode; | Miod Vallat | |
use this to read the DIP switches from the keyboard at attach time. Change the state machine to allow for a `DIP switch prefix' scan code to be received while we are not attempting to read the DIP switches, for the `international' key (not found in regular us layouts, documented is the `GERlessthan' key in sgi's keyboard(7) manual page) will return the aforementioned scancode, instead of the one documented in the manual. Thanks to sebastia@ for lending me his german layout keyboard. | |||
2014-05-20 | remove irrelevant, outdated, and misleading sentence suggesting that | Alexander Hall | |
you need to set up a local mirror for the install sets brought to attention by pascal@ ok krw@ | |||
2014-05-19 | Format string fixes and removal of -Wno-format for sgi. Based upon an | Miod Vallat | |
initial diff from jasper@ | |||
2014-05-19 | There is no need to remember which usb(4) device is the child of an USB | Martin Pieuchot | |
host controller because autoconf(9) already does it. Breakage reported by todd@ | |||
2014-05-17 | One more mistake introduced in 1.65 | Miod Vallat | |
2014-05-17 | ...and it needs a guard against NULL as well. | Miod Vallat | |
2014-05-17 | Fix previous commit by making sure we are not dereferencing uninitialized | Miod Vallat | |
pointers. | |||
2014-05-17 | In pmap_remove_page(), do not keep wired mappings; the callers want them gone. | Miod Vallat | |
2014-05-17 | Remove "WARNING:" prefix from SYSFAIL and ACFAIL messages, so that, in case | Miod Vallat | |
of ACFAIL, what reaches the console is explicit enough. | |||
2014-05-17 | Lower VUPS value for delay() to behave closer to the intent. | Miod Vallat | |
This is temporary until vax grows code to compute a proper delay const at runtime, but will help a bit, especially on KA46 where cd(4) end up detected as sd(4) due to too short delays. | |||
2014-05-17 | Print the rpb device type and unit values if the root device can't be found | Miod Vallat | |
by the kernel. | |||
2014-05-17 | Change the return value of interrupt handler to 0 when nothing is | Kenji Aoyama | |
processed on this driver. "This is correct" miod@ | |||
2014-05-15 | Move from struct proc to process the reference-count-holding pointers | Philip Guenther | |
to the process's vmspace and filedescs. struct proc continues to keep copies of the pointers, copying them on fork, clearing them on exit, and (for vmspace) refreshing on exec. Also, make uvm_swapout_threads() thread aware, eliminating p_swtime in kernel. particular testing by ajacoutot@ and sebastia@ | |||
2014-05-12 | Fix format strings in debug code. | Mark Kettenis | |
2014-05-11 | need syscall.h.. | Theo de Raadt | |
2014-05-11 | hide two printfs behind an ifdef DEBUG; spotted by miod@ | Jasper Lievisse Adriaanse | |
2014-05-11 | Move the increment of uvmexp.softs back to the caller of mi_ast(): | Philip Guenther | |
it needs to be done atomicly on some MP archs and we don't have atomic_add_int() everywhere yet. Also, mi_ast() was meant to be inline. noted by miod@ | |||
2014-05-11 | Pull in <sys/user.h> before <sys/syscall*.h> | Philip Guenther | |
2014-05-10 | spello in comment and tweak DUMP_BOOT_DESC a tad | Jasper Lievisse Adriaanse | |
2014-05-10 | various format string fixes and remove -Wno-format from octeon | Jasper Lievisse Adriaanse | |
feedback/ok miod@ | |||
2014-05-10 | sigh, another case of user.h before syscall_mi.h | Theo de Raadt | |
2014-05-10 | Remove -Wno-format. | Mark Kettenis | |
2014-05-10 | Disable speedstep instead of panicing if the high and low speeds are the same. | Philip Guenther | |
Problem noted by Benjamin Baier (programmer (at) netzbasis.de) improvements and ok kettenis@ | |||
2014-05-10 | We print time_t by casting to "long long" even in the kernel. | Mark Kettenis | |
ok deraadt@ | |||
2014-05-10 | bring things syscall_mi.h needs into scope earlier | Theo de Raadt | |
2014-05-10 | bring things syscall_mi.h needs into scope earlier | Theo de Raadt | |
ok guenther | |||
2014-05-10 | Fix formwat string. Cast pointer to long and print it using %lx since %p | Mark Kettenis | |
prefixes the address with 0x which we want to avoid here. | |||
2014-05-10 | A few more straightforward format string fixes. | Mark Kettenis | |
2014-05-10 | Format string fixes for bus_addr_t and bus_size_t, which are u_long everywhere. | Mark Kettenis | |