summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2004-03-19Tidy up the man pageTom Cosgrove
Help and kickings from jmc@
2004-03-19Enter pxeboot, derived from the NetBSD implementation. InitiallyTom Cosgrove
intended to support network installs using bsd.rd over TFTP. Thanks to the many who tested, including Diana Eichert. ok deraadt@
2004-03-17Make sure disklabels use at least DEV_BSIZE as their sector size.Miod Vallat
This allows the kernel to survive reading the disklabel off a 256-bytes/sector scsi device... ok deraadt@
2004-03-17one sysctl.h should be enoughTed Unangst
2004-03-12missing .El;Jason McIntyre
2004-03-11If apm_connect() fails, don't try to pass the bios_apminfo_t structureTom Cosgrove
to the kernel, since it won't have been filled in, and since we can't make APM calls if we don't connect (per spec). Also tidy up the error message, to make it clear that it's an APM error. Problem found, and fix tested, by jmc@ ok millert@, weingart@
2004-03-11Avoid a panic by checking for apm_code_len == 0. Fixes a problemTodd C. Miller
found by jmc@. OK markus@ and tom@
2004-03-10Ensure that we obey a user's ddb> boot reboot command even if the systemTom Cosgrove
is cold (during startup). This adds RB_USERREQ to sys/reboot.h, uses it in the ddb commands, and ensures that */*/machdep.c:boot() won't set RB_HALT when cold if this flag is set. ok deraadt@
2004-03-10mpt fitsTheo de Raadt
2004-03-09Spacing and KNF. Partly from Joris Vink <nimadeus at pandora dot be>.Tom Cosgrove
ok henning@, deraadt@
2004-02-27Move setperf_prio to the machdep code, requested by deraadt@Alexander Yurchenko
ok deraadt@
2004-02-27Introduce simple priorities mechanism so that concurrentAlexander Yurchenko
hw.setperf handlers don't override each other. Problem reported and tested by danh@. ok tedu@ deraadt@
2004-02-27Cleanup I[3456]86_CPU defines usage, unbreaks compilationAlexander Yurchenko
without some of them. Problem reported by William Culler <william@neo.rr.com>. Help from tedu@ chris@, ok tedu@ chris@ deraadt@.
2004-02-25add default flags for yds(4); ok grange, fgsch, deraadtMarkus Friedl
2004-02-24skip _only_ irq 14 and 15; tested by form@Markus Friedl
2004-02-22Remove #if 0'd code.Tom Cosgrove
requested by weingart@
2004-02-21Tidy up installboot -v output.Tom Cosgrove
requested by and ok deraadt@
2004-02-19better fix to avoid 1 second machine pauses; from grangeTheo de Raadt
2004-02-19the cpu_cpuspeed function pointer MAY NOT BE SET TO POINT TO A FUNCTIONTheo de Raadt
THAT SLEEPS FOR ONE SECOND AT HIGH SPL! Who approved this, and what were they smoking?
2004-02-19- split intel686_cpu_setup() into two parts: common for familyAlexander Yurchenko
0x6 and 0xf and only for family 0x6 - use intel686_p4_cpu_setup() for family 0xf cpus - msr-based hw.cpuspeed for pentium 4 - use pentium_mhz for hw.cpuspeed if there's nothing better (diff from tedu@) Ok tedu@
2004-02-19spaces; ok tedu@Alexander Yurchenko
2004-02-19millert@ suggested to use setperf=50 as a threshold forAlexander Yurchenko
the low perfomance state.
2004-02-19SpeedStep support for those Pentium processors which haveAlexander Yurchenko
SpeedStep only as a chipset feature. This diff is for ICHx-M chipsets, with 2 perfomance states available. Tested by provos@, sturm@, millert@ Ok tedu@
2004-02-15backout unapproved diffTheo de Raadt
2004-02-14Broadcom BCM4401 (bce)Andreas Gunnarsson
ok miod@
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-13bce (Broadcom 4401 10/100 ethernet driver) from NetBSDAndreas Gunnarsson
Most work by nate@, ok deraadt@
2004-02-13avoid routing irqs that we ignore (14 15); from form@Michael Shalayeff
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-02-10Make debug_init void debug_init(void), like nearly all of the otherTom Cosgrove
functions that machdep() calls. ok deraadt@
2004-02-10Enable interrupts before halt when we error out. Allows use ofTom Cosgrove
Ctl-Alt-Del to reboot in case of failure. Much testing nick@; thanks. ok weingart@, deraadt@.
2004-02-08for the via c3 use software aes keys, thereby permitting 192 and 256.Theo de Raadt
this also speed things up substantially. ipsec tested by markus
2004-02-06some cpus start to have a NX oriented PGEX_ITheo de Raadt
2004-02-052 new cpuid ecx features in prescottTheo de Raadt
2004-02-05correct size of registers written outTheo de Raadt
2004-02-04Print a warning about disabling TSC.Alexander Yurchenko
ok deraadt@
2004-02-03remove non-CBC modes from the VIA code; it is all that is used at the momentTheo de Raadt
2004-02-03move VIA xcrypt-* options to specialreg.hTheo de Raadt
2004-02-02PSL_XCRYPT is 0x40000000Theo de Raadt
2004-02-02I think there is no reason to splhigh around the VIA crypto stuffTheo de Raadt
anymore; also, indicate to userland that it may now safely use the instructions
2004-02-01set i386_has_xcrypt at the right place, which exposes itself asTheo de Raadt
sysctl machdep.xcrypt Do not enabled yet..
2004-02-01Use "pushfl; popfl" sequence before each xcrypt-* instruction. AccordingTheo de Raadt
to the manual, any load into the EFLAGS register clears bit 30, resulting in key reload. This is the mechanism that permits multi-process use of the xcrypt-* instruction..
2004-02-01use VIA xstore-rng and xcrypt-* instructions, now that gas groks themTheo de Raadt
2004-02-01via crypto code no longer needs to temporarily enable FSXR -- it isTheo de Raadt
now always on.
2004-02-01Merge many freebsd diffsTheo de Raadt
add VIA c3 crypto instructions add fxsave, fxrstor
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-31rename SIMD/SIMD2 to SSE/SSE2Theo de Raadt
2004-01-29as seen in freebsd: asm pagezero implementations, but use a fn pointer.Ted Unangst
the sse2 version cuts ZOD fault time in half. suggestions mickey deraadt. many many testers. ok deraadt.
2004-01-29Simplify test for CPUID_TSC in cpu_featureTom Cosgrove
ok fgsch@, deraadt@