summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2004-06-22make sure real/avail mem printfs do unsigned ariths; found by beck@Michael Shalayeff
2004-06-22Turn m88k_protection() into a macro again, compensating for 88110Miod Vallat
quirks locally where necessary; pmap_enter() does most of the dirty work.
2004-06-22After 88110 exception processing, do not reset the in-frame [di][lp]arMiod Vallat
values, they won't be put back to registers anyways...
2004-06-22On 88110, simplify enip processing:Miod Vallat
- always fetch its value when building trapframe, it is faster than only doing it after checking if it will have a meaningful value. - don't bother setting it to a safe value if we change exip to a non-delayslot address.
2004-06-22Do not access [id][pl]ar registers from C code - we only care about theirMiod Vallat
values in trapframes.
2004-06-22Switch amd64 to __HAVE_CPUINFOArtur Grabowski
deraadt@ ok
2004-06-21Put back the moving of schedstate_percpu into sched.h. This time exposeArtur Grabowski
it to userland so that i386 builds (other architectures didn't show the problem). deraadt@ ok
2004-06-21Make 'machine ddbcpu' work, and use CPU device number instead of APIC idAndreas Gunnarsson
KNF lesson and ok from niklas@
2004-06-21Pure luck has protected us from this bug until now: locore.SNiklas Hallqvist
%r9 are not saved over function calls and more we did not even want &proc0 as the old process in switch_search, but zero. Fixes bsd.rd.
2004-06-21Add support for agten(4) - on Andrey's U2 the PROM is not able to initializeMiod Vallat
the board correctly, though.
2004-06-20Port mgx(4) to sparc64.Miod Vallat
2004-06-20Port the rfx(4) frame buffer driver to sparc64.Miod Vallat
2004-06-20Init per-cpu spc_runtime before diving into the scheduler. From NetBSD.Aaron Campbell
Fixes bogus process runtimes (I happened to notice it with USB kernel threads) as shown in ps and top. niklas@, deraadt@ ok
2004-06-20zx(4) support for sparc64, tested on an Ultra 2.Miod Vallat
2004-06-20Fix some comment typos I noticed while reading this code.Aaron Campbell
2004-06-20nope, tree breakage in libpthread. too tough to run a make build?Theo de Raadt
2004-06-20Move schedstate_percpu into sched.h so that we don't have to includeArtur Grabowski
proc.h in cpu.h on __HAVE_CPU_INFO architectures. cpu.h is usually included in param.h. This also removes the horrible kludge with ifdef SYS_PROC_H in sched.h by simply converting the inline functions into macros. With a few suggestions from nordin@ deraadt@ ok
2004-06-20Silence intr_establish a bit more; makes the dmesg on U2 suddenly edible.Miod Vallat
ok deraadt@
2004-06-20It's supposed to be #ifdef DIAGNOSTIC, not #ifdef DIAGONSTIC. miod@ tested+okAaron Campbell
2004-06-19Trim includes.Miod Vallat
2004-06-19No "machine prom" ddb command on the Luna.Miod Vallat
2004-06-19Share common ddb files accross m88k platforms.Miod Vallat
2004-06-19Remove unused and misleading defines.Miod Vallat
2004-06-18Correct range validation in sio_iointr().Miod Vallat
2004-06-18Add /dev/crypto support.Miod Vallat
2004-06-17betterer swapdevMichael Shalayeff
2004-06-17reset both irr's; put a barrier upon imr reset such that icr is reset ↵Michael Shalayeff
properly and do it once
2004-06-17fix coalescing config writes errataMichael Shalayeff
2004-06-17pretty cpu spinup messageTheo de Raadt
2004-06-17ldcw does a store tooMichael Shalayeff
2004-06-17use local var copy of frame->tf_iir everywhere and fix one panicMichael Shalayeff
2004-06-16We need __splbarrier to compile kernel, tho it should beAlexander Yurchenko
replaced with a real gcc barrier. ok deraadt@
2004-06-16Use i386_ipi_db only with DDBAlexander Yurchenko
ok deraadt@
2004-06-16Missing ifdef DDBAlexander Yurchenko
ok deraadt@
2004-06-16db_mp.c requires ddbAlexander Yurchenko
ok deraadt@
2004-06-16handle zero division for userland as well; from otto@Michael Shalayeff
2004-06-15first parts of how C3 Esther will be handled; ok tomTheo de Raadt
2004-06-15Be more careful about what value we check for crypto capability bitsTom Cosgrove
if the first cpuid returns too low a number. ok deraadt@
2004-06-15export actual xcrypt feature set bitmaskTheo de Raadt
2004-06-15grok upcoming VIA C3 Esther montmul, sha1, and sha256 instructionsTheo de Raadt
2004-06-15fix some printf'sBrad Smith
From: Brian Poole <raj at cerias dot purdue dot edu> ok henric@
2004-06-14Added some codes that check if the machine is LUNA-88K or LUNA-88K2Kenji Aoyama
and retrieve the boot device information from NVRAM. Only works on LUNA-88K2 at this moment.
2004-06-14de-__PTheo de Raadt
2004-06-14knock out some useless crudTheo de Raadt
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-11better name for power thread (for power users only)Michael Shalayeff
2004-06-10Generate SIGTRAP for breakpoint instructions.Mark Kettenis
ok mickey@
2004-06-10Fix a logic error in sglist creation.Miod Vallat
2004-06-09Among other tricky (or nice, depending upon your involvment) features,Miod Vallat
the 88Open ABI allows arguments to be passed through registers, then on the stack, the through registers, then on the stack again, with some function signatures. Unfortunately, gcc has not been designed with this possibility in mind, and does not handle this situation optimally (since no sane architecture does this anyway) and will reserve stack storage for the second set of in-registers parameters. Fixing this is quite non-trivial (trust me on this), so in the meantime keep at wasting space stack, but teach varargs about this so that it can compensate correctly.
2004-06-09rename POOLPAGE macros to pmap_map_directTed Unangst
break out uvm_km_page bits for this case, no thread here lots of testing tech@, deraadt@, naddy@, mickey@, ...