summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/cpu.h
AgeCommit message (Collapse)Author
2004-02-14Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuffAlexander Yurchenko
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@
2004-02-01Enable FXSR all the time, and cope with NPX/FXSR conversions; from netbsd.Theo de Raadt
Pass SSE/SSE2/XCRYPT flags out via syctl, and prepare for being able to do xcrypt-* in userland; ok naddy, tested a lot by pvalchev and jolan, also works on amd64 in 32bit mode
2004-02-01Sync user ldt code with NetBSD:Alexander Yurchenko
- finally remove it from pcb, it's a pmap thing only - more sanity checks - better lockin - may be something else Fixes panics when using apps requiring it (mplayer-win32 e.g.). Problem found and test espie@. OKs from miod@ (sshhh, don't tell anyone) and art@.
2004-01-06adjust pentium_mhz when cpu speed changes. ok deraadtTed Unangst
2003-12-20add pentium 4 thermal control circuit (tcc) driver. can use this toTed Unangst
limit power consumption with the hw.setperf sysctl. tested by beck and grange
2003-12-19add cpu_ecxfeature to cpu.h, and stop locally externing it and cpu_feature.Ted Unangst
ok deraadt@
2003-12-18add new hw sysctls, cpuspeed and setperf to control cpu frequency.Ted Unangst
convert longrun support to use new sysctls. add enhanced speedstep support, based on code by Michael Eriksson. idea, help testing & ok deraadt@
2003-07-28nuke more MATH_EMULATEJason Wright
2003-07-07function for cpuid instruction. pulled from longrun into generic code.Ted Unangst
ok deraadt mickey
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-27change .byte for the correct opcodes now that gas can handle'em.Federico G. Schwindt
art@ toby@ ok.
2003-05-14Support for Transmeta CPU power management, called LongRun.Ted Unangst
option LONGRUN enables a new sysctl, allowing a userland program to read the current CPU frequency and voltage and also set the mininum and maximum frequencies to operate between, and switch between performance mode and battery mode. ok mickey@
2003-03-28Add a sysctl to option USER_LDT, to control its behaviour, which will beMiod Vallat
disabled by default. Enable with sysctl -w machdep.userldt=1 This will allow people to use the few ports that require this functionality to work without requiring the user to recompile a kernel. The option USER_LDT remains in order to not increase size on the installation media. It is now enabled in GENERIC. Per espie@'s idea, but my diff was much simpler than his; ok deraadt@
2003-01-16Getting rid of vm_offset_tArtur Grabowski
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2002-09-24Restore pentium_microtime, testing by henning@, millert@. ok deraadt@Thomas Nordin
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
2001-11-06Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,Artur Grabowski
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
2001-07-13delete duplicate definitionsTheo de Raadt
2001-06-21Finish what Theo started (a char * to void * conversion)Niklas Hallqvist
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-04-30Move proc0's TSS and LDT initialization to a separate functionArtur Grabowski
that's called at the end of configure instead of cpu_startup. Inspired by NetBSD.
2001-02-19Avoid losing rtc after suspend/resume on some laptops. Ok provos@Hakan Olsson
2001-01-25constify cpuid tablesMichael Shalayeff
2001-01-05Add i386 specific sysctl to modify halt -p processing, required to makeMarco S Hyman
powerdown work correctly on some processors. Idea from mickey@ and smcho@tsp.korea.ac.kr. Tested my me and angelos@. Note: If you want to try these out you'll need to cd /sys/arch/i386/include && sudo install -m 444 -o root -g root cpu.h /usr/include/i386 cd /usr/src/sbin/sysctl && make obj && make && sudo make install to get a sysctl that understands the new variable (machdep.apmhalt).
2000-08-02permit build with HZ user-defined; <wd@ics.nara-wu.ac.jpTheo de Raadt
2000-06-05Argh. forgot this when committing the reaper stuff.Artur Grabowski
2000-01-29separate clock init, to be called upon resume from apm sleepsMichael Shalayeff
1999-09-12Fix rootdev handling, use disk checksums to find the device we were bootedTobias Weingartner
from. Hopefully this will fix all the hangs/panics where the root device was not found.
1999-07-06for CTRL-ALT-DEL, send SIGUSR1 to initprocTheo de Raadt
1999-03-08Add support for CPUID level 2. This is used to determine the L2 cache sizeJason Downs
on Intel processors; print out the correct CPU name and cache size at boot. Also clean up the feature flags, including PPro errata.
1999-02-23apm battery status messages now suppressed until battery lifeMarco S Hyman
falls below 'machdep.apmwarn' percent. This defaults to 10 percent
1998-08-30Add extra cpu_setup argument.Jason Downs
1998-06-04cpuid return values for sysctlJason Downs
1998-05-25Add support for feature bit listing; fix #defines.Jason Downs
1998-03-01Merge of MACHINE_NEW_CONTIG (aka MNN) code from Chuck Cranor,Niklas Hallqvist
<chuck@openbsd.org>. This code is as of yet disabled on all platforms, actually not yet supported on more than mvme68k, although other platforms are expected soon, as code is already available. This code makes handling of multiple physical memory regions consistent over all platforms, as well as keeping the performance of maintaining a single continuous memory chunk. It is also a requirement for the upcoming UVM replacement VM system. What I did in this merge: just declared the pmap_map function in a MD include file per port that needs it. It's not an exported pmap interface, says Chuck. It ended up in differnt include files on differnet ports, as I tried to follow the current policy on a per-arch basis.
1998-02-17add an in-kernel /dev/xf86 aperture driver. the 'machdep.allowaperture'Matthieu Herrb
sysctl controls whether it is permitted to access it. This sysctl can only be manipulated when securelevel=0, hence in sysctl.conf
1997-12-17New CPU detection code, from NetBSD, with some machdep changes from myself.Jason Downs
Add I686_CPU to your configs if you have a PPro...
1997-12-09Intel P5 f00f workaround; weingart & who knows who elseTheo de Raadt
1997-10-25fix blk2chr,chr2blkMichael Shalayeff
1997-10-25do blk<-->chr dev_t conversions through the sysctlMichael Shalayeff
1997-09-27add ID, we have mods hereMichael Shalayeff
1997-09-21branch the bios tree inside the machdepMichael Shalayeff
1997-09-21support new bootsMichael Shalayeff
add to your config: bios0 at mainbus0 apm0 at mainbus0 # (if you are using APM)
1997-04-20Allow kern_clock.c to see interrupt frames on i386Thorsten Lockert
1996-10-17kvtop protoNiklas Hallqvist
1996-10-16decl calibrate_cyclecounter, fusword, suswordTheo de Raadt
1996-08-27Add:Jason Downs
* GPL_MATH_EMULATE: fpemul * ALWAYS_MATH_EMULATE: causes npx probe to always fail. * better fp context in struct pcb.