summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2005-06-17uipaq/ucom support; written by isis@www.cs.umd.eduTheo de Raadt
2005-06-16fix initialization of apm_dobusy and apm_doidle to be off by default untilBob Beck
apm attaches and we know what the correct state should be, also ensure that they are set to off if the kernel apm thread fails to create. ok toby@, marco@
2005-06-14back out SMM lockdown patch until some other solution is found.Theo de Raadt
SMM lockdown breaks apm on a few machines.
2005-06-06oops. on 686 we count fpswtch in another function...Michael Shalayeff
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-06-01kjell is an evil tree-breakerMichael Shalayeff
2005-05-31spelling corrections in comments;Jason McIntyre
from charlie root;
2005-05-31IPL_SCHED should block statclock on architectures where the schedulerArtur Grabowski
is clocked by the statclock. miod@ ok
2005-05-29Lock SMM space on Intel E7xxx chipsets, too.Alexander Yurchenko
2005-05-29Remove debug printf I left.Alexander Yurchenko
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-28move variable declaration inside #ifdef I386_686, etc.Kjell Wooding
Prompting from Chris Cappuccio.
2005-05-27add atapiscsi@umass to RAMDISKS as appropriate, ok krw@ deraadt@Dale Rahn
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-27first step of removing the obsolete PCI ncr(4) driver, it was superseded byMartin Reindl
siop(4) a long time ago 'do it' jason@
2005-05-26Add atapiscsi in parallel with scsibus@usb, this only changes systemDale Rahn
that dont have atapiscsi@wdc, fixes zaurus, ok krw@ todd@
2005-05-26optimise one more jmp out of the idle loop; toby@ marco@ okMichael Shalayeff
2005-05-26remove a self-nested #ifdef MULTIPROCESSORKjell Wooding
ok niklas@
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-25one last optimization, removing a jump, mostly byBob Beck
toby, committed so art will stop yelling at me to avoid conflicts... ok marco@, weingart@, mickey@, niklas@
2005-05-25repair whichqs race by disabling ints in between check and halt-halt; marco@ ↵Michael Shalayeff
beck@ niklas@ ok
2005-05-25comment typoJason Wright
2005-05-24add a new field to vm_space and use it to track the number of anonTed Unangst
pages a process uses. this is now the userland "data size" value. ok art deraadt tdeval. thanks testers.
2005-05-24replace jnz FOO;jmp BAR;FOO: with jz BAR;FOO:, the idle loop will be even ↵Niklas Hallqvist
more efficient
2005-05-24hlt hlt is not a good idea. Rework APM to do what the spec actually says. ↵Marco Peereboom
Run actual BIOS calls whenever we are actually idle. Tovarisch! ok deraadt@ toby@ beck@ weingart@ art@
2005-05-21add i386 optimized in4_cksumBrad Smith
From NetBSD ok deraadt@
2005-05-19Lock down SMM space on i82810 MCH and later chips in case BIOSAlexander Yurchenko
didn't it already for us. Reported by loic.duflot@sgdn.pm.gouv.fr via deraadt@. ok deraadt@ weingart@
2005-05-13Kill <machine/spkr.h>, software should use <dev/isa/spkrio.h> instead.Miod Vallat
2005-05-13not ready for NATMTheo de Raadt
2005-05-13enable spkr by default; ckuethe 4201Theo de Raadt
2005-05-10Add epic(4) driver which supersedes tx(4).Brad Smith
This buys us.. - bus_dma - big endian support - multicast - support for another EPIC chipset From NetBSD ok mickey@
2005-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-06Fix links target.Marco Peereboom
2005-05-03The return value from getEBDAaddr() (info) is not used in bios_E820(),Tom Cosgrove
so nuke it. amd64 no longer needs biosprobe.c listed in SRCS. Trims 100 bytes from the boot blocks. Bump versions on boot, cdboot and pxeboot, as I'm getting cautious in my old age. ok weingart@
2005-05-03Convert the size of a memory chunk from bytes to megabytes beforeTom Cosgrove
casting to a 32-bit value, not after. Corrects the display of large memory chunks in the probing: line (mem[615K 3518M 0M a20=on] becomes mem[615K 3518M 12288M a20=on]). Bump version on boot, cdboot and pxeboot accordingly. "looks ok to me" weingart@
2005-05-02Add ichwdt(4): Intel 6300ESB ICH watchdog timer driver. Disabled forAlexander Yurchenko
now due to lack of testing. If you have a machine that uses this device please contact me. ok deraadt@
2005-05-01To allow for MD override of in4_cksum()...Brad Smith
ok deraadt@
2005-05-01spacing; ok miod@ deraadt@David Krause
2005-04-30Ensure we save the %ebx register returned from the BIOS call, not justTom Cosgrove
%bx. Fixes problem introduced in gidt.S r1.29, which could lead to an incomplete memory map, and "too little memory available; running in degraded mode", as found by Roy Morris rmorris (at) internetsecure (dot) com. (Thanks for the report, and for testing the fix.) Bump version on boot, cdboot and pxeboot accordingly. ok weingart@
2005-04-30start the job of making things look more alikeTheo de Raadt
2005-04-30nice docs at top of GENERICTheo de Raadt
2005-04-29quiet apmTheo de Raadt
2005-04-29spacingTheo de Raadt
2005-04-27add missing flags to /proc/cpuinfo and don't print invalid ones; deraadt@ okFederico G. Schwindt
2005-04-25[OpenBSD]Tom Cosgrove
Make boot code use real mode with 64K segments instead of 1M segments. Improves stability with some disk controller cards. Also explicitly state operand size on some moves. Bump version on boot, cdboot and pxeboot accordingly. "just get them in" beck@ ok weingart@
2005-04-21count fpu lazy context switches; deraadt@ okMichael Shalayeff
2005-04-21-bceTheo de Raadt
2005-04-21no need to check for 0, it copes, spotted by beckTheo de Raadt
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-17make sure user address is in user space in copyinstr. ok weingart@Ted Unangst