summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@
2007-05-16we need a cpu_info_store; how did miod miss this?Theo de Raadt
2007-05-16Oops, forgot this file in the cpuinfo changes.Miod Vallat
2007-05-16Switch vax to __HAVE_CPUINFO, based on an incomplete diff from art.Miod Vallat
2007-05-15Remove unused variable.Mark Kettenis
2007-05-15We will never call OpenFirmware from 32-bit code.Mark Kettenis
ok art@, deraadt@
2007-05-15Switch amd64 to VM_PAGE_MD. Mostly just imitating i386. flags in pg_flags.Artur Grabowski
deraadt@ ok
2007-05-15make splassert(IPL_NONE) work on i386/MP (the single-processor case isArtur Grabowski
a bit more hairy). deraadt@ ok
2007-05-15Userland has the right to compile, too; not sure this will be enough yetMiod Vallat
but deraadt@ insists this goes in now.
2007-05-15External bus errors should not occur, so panic. ok deraadt@Dale Rahn
2007-05-15Remove the MI implementation of mutexes and remove the __HAVE_MUTEXArtur Grabowski
option. Every architecture implements mutexes now.
2007-05-15switch m68k to __HAVE_CPUINFOMartin Reindl
help miod@, art@ ok deraadt@
2007-05-15oops; martin go see what you did here..Theo de Raadt
2007-05-15Dummy mutex code for arm platforms. ok drahn@ deraadt@Miod Vallat
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
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