Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-02-14 | Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuff | Alexander Yurchenko | |
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@ | |||
2004-02-01 | Enable 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-01 | Sync 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-06 | adjust pentium_mhz when cpu speed changes. ok deraadt | Ted Unangst | |
2003-12-20 | add pentium 4 thermal control circuit (tcc) driver. can use this to | Ted Unangst | |
limit power consumption with the hw.setperf sysctl. tested by beck and grange | |||
2003-12-19 | add cpu_ecxfeature to cpu.h, and stop locally externing it and cpu_feature. | Ted Unangst | |
ok deraadt@ | |||
2003-12-18 | add 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-28 | nuke more MATH_EMULATE | Jason Wright | |
2003-07-07 | function for cpuid instruction. pulled from longrun into generic code. | Ted Unangst | |
ok deraadt mickey | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-27 | change .byte for the correct opcodes now that gas can handle'em. | Federico G. Schwindt | |
art@ toby@ ok. | |||
2003-05-14 | Support 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-28 | Add a sysctl to option USER_LDT, to control its behaviour, which will be | Miod 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-16 | Getting rid of vm_offset_t | Artur Grabowski | |
2003-01-09 | Remove fetch(9) and store(9) functions from the kernel, and replace the few | Miod Vallat | |
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC | |||
2002-09-24 | Restore pentium_microtime, testing by henning@, millert@. ok deraadt@ | Thomas Nordin | |
2002-06-07 | Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@ | Thomas Nordin | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-12-08 | Sprinkle pmap_update calls where relevant and some other | Artur Grabowski | |
misc pmap usage fixes. | |||
2001-11-06 | Let 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-13 | delete duplicate definitions | Theo de Raadt | |
2001-06-21 | Finish what Theo started (a char * to void * conversion) | Niklas Hallqvist | |
2001-05-05 | Rename configure() to cpu_configure(). | Artur Grabowski | |
Move it from cpu_startup() to main(). | |||
2001-04-30 | Move proc0's TSS and LDT initialization to a separate function | Artur Grabowski | |
that's called at the end of configure instead of cpu_startup. Inspired by NetBSD. | |||
2001-02-19 | Avoid losing rtc after suspend/resume on some laptops. Ok provos@ | Hakan Olsson | |
2001-01-25 | constify cpuid tables | Michael Shalayeff | |
2001-01-05 | Add i386 specific sysctl to modify halt -p processing, required to make | Marco 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-02 | permit build with HZ user-defined; <wd@ics.nara-wu.ac.jp | Theo de Raadt | |
2000-06-05 | Argh. forgot this when committing the reaper stuff. | Artur Grabowski | |
2000-01-29 | separate clock init, to be called upon resume from apm sleeps | Michael Shalayeff | |
1999-09-12 | Fix rootdev handling, use disk checksums to find the device we were booted | Tobias Weingartner | |
from. Hopefully this will fix all the hangs/panics where the root device was not found. | |||
1999-07-06 | for CTRL-ALT-DEL, send SIGUSR1 to initproc | Theo de Raadt | |
1999-03-08 | Add support for CPUID level 2. This is used to determine the L2 cache size | Jason 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-23 | apm battery status messages now suppressed until battery life | Marco S Hyman | |
falls below 'machdep.apmwarn' percent. This defaults to 10 percent | |||
1998-08-30 | Add extra cpu_setup argument. | Jason Downs | |
1998-06-04 | cpuid return values for sysctl | Jason Downs | |
1998-05-25 | Add support for feature bit listing; fix #defines. | Jason Downs | |
1998-03-01 | Merge 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-17 | add 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-17 | New 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-09 | Intel P5 f00f workaround; weingart & who knows who else | Theo de Raadt | |
1997-10-25 | fix blk2chr,chr2blk | Michael Shalayeff | |
1997-10-25 | do blk<-->chr dev_t conversions through the sysctl | Michael Shalayeff | |
1997-09-27 | add ID, we have mods here | Michael Shalayeff | |
1997-09-21 | branch the bios tree inside the machdep | Michael Shalayeff | |
1997-09-21 | support new boots | Michael Shalayeff | |
add to your config: bios0 at mainbus0 apm0 at mainbus0 # (if you are using APM) | |||
1997-04-20 | Allow kern_clock.c to see interrupt frames on i386 | Thorsten Lockert | |
1996-10-17 | kvtop proto | Niklas Hallqvist | |
1996-10-16 | decl calibrate_cyclecounter, fusword, susword | Theo de Raadt | |
1996-08-27 | Add: | Jason Downs | |
* GPL_MATH_EMULATE: fpemul * ALWAYS_MATH_EMULATE: causes npx probe to always fail. * better fp context in struct pcb. |