summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-10-27Be more strict when disassembling {f,}{st,x}cr and [bt]cnd instructions,Miod Vallat
and display incorrect opcode encodings as invalid opcodes.
2007-10-27Since ipis are not synchronous, make sure that ci_fpproc is not NULL beforeMiod Vallat
invoking savefpstate in ipi_save_fpstate. ok kettenis@
2007-10-27Don't do unecessary work in cpu_switchto().Mark Kettenis
2007-10-25Don't forget the channel number; makes sure we don't always read channel 0Mark Kettenis
(and actually get reasonable values for the MB0 and MB1 sensors on the E250).
2007-10-25Remove some coded that has been #ifdef'ed out for quite a while now.Mark Kettenis
2007-10-25allocate 1 byte extra in getprop(), for the NUL that some callers likeTheo de Raadt
to place. This is a nightmare, and we must move away from these stupid wrapper APIs. ok kettenis
2007-10-25Be sure to enable interrupts on return from ddb if they were enabled beforeMiod Vallat
the break.
2007-10-25another case of product encoding is "Sun (TM) modelname", on the E250Theo de Raadt
2007-10-24Rely on 16 byte pcb alignment, and use double loads and stores duringMiod Vallat
context switches. Should have been commited ages ago (when pcb alignment was fixed). No functional change.
2007-10-24Remove sir_lock, superseded by the atomic bit operations.Miod Vallat
2007-10-24Turn curcpu() into an inline function instead of a macro relying on a GCCMiod Vallat
extension.
2007-10-24Enable power supply temperature sensors on the E450.Mark Kettenis
2007-10-24Add support for power supply temperature sensors on the E450.Mark Kettenis
2007-10-24pipleine -> pipelineMiod Vallat
2007-10-24In cpu_switchto(), load pmap->pm_tlbpid manually, instead of expectingMiod Vallat
pmap_update() to return with this value in v0. A void function. Bwahahaha.
2007-10-24Remove idle loop counter.Mike Belopuhov
ok art deraadt
2007-10-24Don't spam the dmesg.Mike Belopuhov
ok deraadt
2007-10-22alipm0 can now be enabled because of the crash workaroundTheo de Raadt
2007-10-22let alipm0 still be used for spdmem probes, but skip sensors. alipm (orTheo de Raadt
more likely psycho) still has a bug where the pci bus croaks on the intermittent i2c accesses. the spdmem accesses are safe, though. if you wish to help us find out when this bug gets fixed, please run your machine WITHOUT this diff, though. ok kettenis jsg
2007-10-22Add support for SUNW,envctrl as found on the E450.Mark Kettenis
2007-10-22CPU temperature sensors on the E450 have a conversion factor of 1/1 instead ofMark Kettenis
0/0 like the E250. Handle both.
2007-10-22the invalid flag is never set in these two drivers, so don't test if it is; ↵Constantine A. Murenin
ok djm@ kettenis@
2007-10-22remove flagsa/dobusy/doidle stuff introduced 3 years ago as a debugging aid..Theo de Raadt
2007-10-22Recognize kernel options specified on the "boot" command line (e.g. boot --c),Miod Vallat
in addition to the OSLoadOptions variable; and do not default to -a -s if it is missing or empty. ok deraadt@ jsing@
2007-10-22stoped -> stoppedJoel Sing
ok miod@
2007-10-22no need for NOPROG and bsd.prog.mkTheo de Raadt
2007-10-22fix tag building; Pierre Riteau plus my own tweaksTheo de Raadt
2007-10-21Don't use next_tick() to start the clock ticking on secondary CPUs. ThisMark Kettenis
would fail from time to time on UltraSPARC-I and UltraSPARC-II CPUs. Inspired by code in FreeBSD. ok miod@
2007-10-21Make certain the output buffer is zeroed before starting processing.Dale Rahn
2007-10-20Ack IRQ *after* fetching IPI args. From NetBSD.Mark Kettenis
2007-10-20Provide sensor status based on the limits found in OpenFirmware.Mark Kettenis
There's enough code in here now, to add myself to the list of copyright holders.
2007-10-20Add support for the temperature sensors on the SUNW,envctrltwo device foundMark Kettenis
on the Sun Enterprise 250. This device (and SUNW,envctrl found on the Enterprise 450) is a PCF8584 I2C controller with several generic I2C chips attached to it. ok deraadt@
2007-10-20Make sure to send an ipi to the processor a given proc runs on in signotify(),Miod Vallat
in the MULTIPROCESOR case. ok kettenis@
2007-10-20enuf -> enoughMiod Vallat
2007-10-19remove vars from some prototypes.Federico G. Schwindt
2007-10-19Don't use "counter-timer" as clock interrupt source on MULTIPROCESSOR kernelsMark Kettenis
for now.
2007-10-19Use HDL2CELL when passing an OpenFirmware handle in prom_start_cpu. MakesMark Kettenis
bsd.mp boot on an E250.
2007-10-19remove old-school "cpu%d running" messages from default code pathsTheo de Raadt
2007-10-18Don't try to send IPIs to CPUs that aren't running (yet).Mark Kettenis
2007-10-18Add support for the Moosehead PS/2 controller as found on SGI O2 workstations.Joel Sing
ok miod@ deraadt@
2007-10-18Make sure interrupts are really enabled at the beginning of proc_trampoline,Miod Vallat
tested by deraadt@ jsing@
2007-10-18enter for obj@ building, otherwise dribbles happenTheo de Raadt
2007-10-18Define a new attribute, pckbcslot, which pckbc and gsckbc provide, and toMiod Vallat
which pckbd and pms attach. This makes it simpler to add new controllers pckbd/pms can attach to.
2007-10-18No need to include <machine/pte.h> here.Miod Vallat
2007-10-18Get rid of the silly union for mips pte. No functional change exceptMiod Vallat
pmap.h now includes pte.h.
2007-10-17Add the Intel ICH9 chipset.Brad Smith
Tested by damien@ ok dlg@
2007-10-17Use ldx (instead of ld) to load a pointer.Mark Kettenis
ok deraadt@
2007-10-17Let other people build sparc64 bsd.mp too.Mark Kettenis
2007-10-17MULTIPROCESSOR kernels need clock interrupts on secondary CPUs too, so don'tMark Kettenis
mark interrupts as busy.
2007-10-17Spin up secondary CPUs on MULTIPROCESSOR kernels. Works on UltraSPARC-IIIMark Kettenis
CPUs.