summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
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
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-14+luphy and add hme to RAMDISK_CDBrad Smith
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-09fix rbus on big memory i386 machines (used by cbb(4) pcmcia).Reyk Floeter
closes an slightly old PR kernel/3855. ok mickey@
2005-04-08add rcs idsJolan Luff
2005-04-03Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386.Mark Kettenis
ok deraadt@
2005-04-02find cachesize for amd cpus too. ok deraadt tomTed Unangst
bit more info about powernow, and only try to enable if cpu supports it. both from diffs by gordon klok
2005-04-01Cleanup SKEY_NOT_READY logic. Only retry command if it's likely theKenneth R Westerback
condition is going to clear up, which speeds up boot by avoiding delays in disk matching. Return ENODEV if media is not present, which avoids trying to spin up disks that are not present. Use ENODEV in amd64/i386 dkcsum.c to filter failure reports. Mostly from NetBSD. ok marco@
2005-04-01axe axe for nowTheo de Raadt
2005-03-30first approximation: spoof UDF filesystem disklabels when we see them.Theo de Raadt
it is likely a slight bug or two will sneak in with this, so everyone please keep an eye out on your disklabels
2005-03-30enable UDF on large install media for architectures likely to have DVD drivesTheo de Raadt
2005-03-19+bce +axe +uralTheo de Raadt
2005-03-19pci de(4) unlikely on laptop compared to othersTheo de Raadt
2005-03-18oops, i was a teeny tiny bit over...Theo de Raadt
2005-03-18shut off aac(4) unless Adaptec stops behaving like assholesTheo de Raadt
2005-03-18sk(4) fitsTheo de Raadt