summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
AgeCommit message (Collapse)Author
2005-11-04only build powernow pieces as appropriate for config'd cpu typesTed Unangst
2005-10-28update support for powernow (cool and quiet) on k7, and add supportTed Unangst
for k8. preliminary and not well tested yet. from freebsd via gordon klok.
2005-10-26Add basic handler for MCE and MCA. Written mostly by toby@ and commiting forMarco Peereboom
toby@ per his request. ok marco@
2005-09-25Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@ [complete diff this time]
2005-09-20unbreak tree, how did you do that miodTheo de Raadt
2005-09-20Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@
2005-08-20PNI was changed to be known as SSE3 by Intel so makeJonathan Gray
a similiar change when reporting CPU features here. ok deraadt@
2005-08-01kernal->kernel;Jason McIntyre
from netbsd pr #30872 (anonymous post); ok deraadt@ krw@
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-18save/restore fpu for the signal handler call in the trampoline.Michael Shalayeff
modeled after sparc together w/ deraadt@; deraadt@ ok
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-06-26cpu0: RNG AES AES-CTR SHA1 SHA256 RSATheo de Raadt
on fancy new VIA C3 Esther (aka C7) cpus
2005-06-02Start on a basic ACPI framework -- does not do much more than read out theThorsten Lockert
ACPI tables into kernel memory and attach ACPI and HPET timers currently. In order to test this code, enabling the devices in GENERIC as well as the ACPI_ENABLE option is needed. This code does not do any thermal control yet, so this should be done with care depending on the platform. In the tree so more people can contribute to making this more fully featured. Ok niklas@ grange@ tedu@
2005-05-31IPL_SCHED should block statclock on architectures where the schedulerArtur Grabowski
is clocked by the statclock. miod@ ok
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-27Enable SSE instructions on secondary (i386) processors inKjell Wooding
a multiprocessor boot. This fixes the hardware AES (and likely RNG) instruction on the dual VIA, which was failing because the SSE/SSE2 extensions are never enabled on any processor but the boot processor. Much assistance from niklas, and the eureka moment from theo. "commit it" deraadt@
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures.
2005-05-25comment typoJason Wright
2005-05-13Kill <machine/spkr.h>, software should use <dev/isa/spkrio.h> instead.Miod Vallat
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-04-08add rcs idsJolan Luff
2005-04-03Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386.Mark Kettenis
ok deraadt@
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2005-01-09typo in comment; ok many peopleJason McIntyre
from freebsd kern/75923;
2005-01-07Fix profiled kernel builds on i386 by moving splraise/splx code into macrosChristopher Pascoe
permitting non-recursive reuse in mcount. Should be a no-op for normal builds.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2004-12-24Rewrite intlock/intunlock not to pass around interrupt frame directlyPeter Valchev
without copying which is against C conventions and broke GENERIC.MP with a gcc3 optimization From niklas, tested by many
2004-12-14fix a comment.Hans-Joerg Hoexer
ok deraatd tdeval
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-11-10Remove __cplusplus crud.Alexander Yurchenko
2004-11-02Remove __HAVE_NWSCONS and related remnants of pre-wscons days; no functionalMiod Vallat
change.
2004-09-15fix proto for sysarch()Theo de Raadt
2004-08-06rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubsTheo de Raadt
on all other architectures. remove last architecture dependent #ifdef from uvm code.
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-08-05spelling nit from Chris PascoeDavid Gwynne
ok deraadt@
2004-07-20Use mutex instead of SIMPLELOCK for protecting ddb on mp systems.Artur Grabowski
2004-07-20MD mutex implementation for i386.Artur Grabowski
2004-07-20Move tag word to the right location in `struct envxmm'.Mark Kettenis
ok deraadt@
2004-07-14setperf driver for powernow in amd k7 cpus. derived from a diff toTed Unangst
tech-i386@netbsd by martin vegiard, and adapted to fit in here. as yet untested. ok deraadt@
2004-07-02Maintain %f and %gs over traps. Mostly from NetBSD. Preparation for SMPNiklas Hallqvist
speedups.
2004-06-28Use new event counter API for interrupt counting on i386. deraadt@ tholo@Aaron Campbell
drahn@ millert@ ok
2004-06-25Instead of accessing ci_dev (that's an MI field), provide a marco thatArtur Grabowski
translates a cpu_info structure into a human-readable cpu number. drahn@ deraadt@ ok
2004-06-25Add extended CPUID flag value for AMD64 LONG identification. Taken fromTom Cosgrove
arch/amd64/include/specialreg.h. "fine by me" weingart@
2004-06-23Renumber I/O APICs who clash with other APICs. Also clear the deliveryNiklas Hallqvist
mode before setting it to fixed, since the MP BIOS may have left something in that field. This fixed a Quad Xeon we have been loaned over the c2k4.
2004-06-23Enter cdboot, a CD-specific second-stage bootrap.Tom Cosgrove
Testing krw@ and todd@, thanks. assistance, testing and ok weingart@
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@