summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-05-14Move want_resched into struct cpu_info.Mark Kettenis
2007-05-14Use value passed as in ca_reg as cpuid instead of unit number.Mark Kettenis
ok drahn@
2007-05-14move hppa to __HAVE_CPUINFOMartin Reindl
input from miod@, ok kettenis@
2007-05-14Nuke code to support the Solaris bootloader and old 32-bit bootloaders.Mark Kettenis
Remove bits of code that repeat what the bootloader already did for us, like setting up the stack and clearing .bss. ok deraadt@
2007-05-14Oops, IPL_NONE is not zero in HEAD.Miod Vallat
2007-05-14Work in progress IPI mechanism, currently only implemented on MVME188, toMiod Vallat
send clock ticks to secondary processors.
2007-05-14Hold kernel_lock when processing interrupts at a level under IPL_SCHED, asMiod Vallat
done on 188, for MULTIPROCESSOR kernels.
2007-05-14Oops, correctly handle spl-less mutexes.Miod Vallat
2007-05-14Register statclock() at IPL_STATCLOCK, not IPL_CLOCK (no-op since they areMiod Vallat
the same)
2007-05-14Switch arm to __HAVE_CPUINFO. Least effort.Artur Grabowski
deraadt@ ok
2007-05-14Switch sh to __HAVE_CPUINFO. The least possible effort for now.Artur Grabowski
deraadt@ ok
2007-05-14_bus_dmamap_sync() is unused; ok miodTheo de Raadt
2007-05-14SMALL_KERNEL unused bitsTheo de Raadt
2007-05-13Put names we get from the prom between double quotes when we print them.Mark Kettenis
ok deraadt@
2007-05-13Enable powernow on amd64 processors in the GENERIC.MP.Gordon Willem Klok
ok tedu
2007-05-13Ansi prototypes, not K&R. no binary difference.Dale Rahn
2007-05-12Increment ncpus when hatching a secondary processor.Miod Vallat
2007-05-12Change the 88100 interrupt handlers to process DAEs with interrupts enabled,Miod Vallat
as done for DAEs not occuring during interrupts. Remove the check for unprocessed DAE on return from trap() in eh_common.S, since this can't happen. As a result, the return-from-trap code becomes identical on 88100 and 88110 systems.
2007-05-12On multiprocessor kernels, update p->p_pcu on exit from the scheduler.Miod Vallat
2007-05-12Remove unused code and definitions pasted over from mvme188 support, which doMiod Vallat
not apply to luna88k.
2007-05-11Don't clear %tick register. Should not be necessary and undesirable sinceMark Kettenis
%tick is hyperprivileged on sun4v. ok jason@
2007-05-11simple misspell, miod@ okJanne Johansson
2007-05-11Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@Pedro Martelletto
2007-05-10Alpha needs (will need) MUTEX_OLDIPL as well.Artur Grabowski
2007-05-10Don't zero out the cpu_info in cpu_attach. We've already set a field inArtur Grabowski
it (curproc) and it's allocated from zeroed memory anyway. deraadt@ ok and test.
2007-05-10evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵Theo de Raadt
years ago; ok miod
2007-05-10The road to supporting bigendian openpic starts.Dale Rahn
2007-05-09remove 'struct sr_attach_args' as it's now elsewhere with softraid definedTodd T. Fries
ok marco@
2007-05-09diable -> disableMiod Vallat
2007-05-09Change trap() into a void function, and restore pc from the trapframe insteadMiod Vallat
of having trap() return it. This makes trap() consistent with other platforms, and its code smaller.
2007-05-09In cpu_fork(), enable all known interrupt sources in cop0 sr/ic, so thatMiod Vallat
kthreads start with interrupts enabled.
2007-05-09Comment out ``generic'' interrupt routines, which are not used at the moment.Miod Vallat
2007-05-09When entering the idle loop, do a real spl0 (processing soft interrupts)Miod Vallat
instead of simply lowering cpl to zero.
2007-05-09unused variableTheo de Raadt
2007-05-09only supply ldt_alloc() and ldt_free() if USER_LDTTheo de Raadt
2007-05-08backout while the amd64 puc situation is rethoughtTheo de Raadt
2007-05-08move com_activate() to where it belongsTheo de Raadt
2007-05-08put more foo_detach() routines where they are usedTheo de Raadt
2007-05-08process_s87_to_xmm() is only needed if PTRACETheo de Raadt
2007-05-08cpu_init() is only used for the MP case (for now)Theo de Raadt
2007-05-08remove more junk in the setroot() code pathTheo de Raadt
2007-05-08Remove cross-compiling stuff that is neither correct nor should have been ↵Artur Grabowski
committed.
2007-05-08Switch sparc to __HAVE_CPUINFO.Artur Grabowski
miod@ tested (since I hacked it up blindly) and ok.
2007-05-08correct dmesg outputTheo de Raadt
2007-05-08no need to print boot device name twiceTheo de Raadt
2007-05-08uninitialized variable passed to setroot()Theo de Raadt
2007-05-07Remove symbols already defined in <sys/limits.h>; unbreaks build on sgi.Mark Kettenis
ok miod
2007-05-07Check for astpending in u_general (userland traps) in addition to u_intrMiod Vallat
(hardware interrupts occuring while cpu is in usermode), fixes regress/sys/kern/sig-stop on sgi.
2007-05-07Garbage collect ci_astpending; it's no longer used.Mark Kettenis
ok miod@, art@
2007-05-07Move sgo to __HAVE_CPUINFO.Mark Kettenis
ok miod@