summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2007-10-13Fix cpu_exit() comments to be more closer to reality.Miod Vallat
2007-10-10Make context switching much more MI:Artur Grabowski
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
2007-10-10Change argsize from size_t to short, since it only stores a shortRay Lai
value. Fixes a format string error. Pointed out by deraadt, OK miod.
2007-10-08isa0 at amdpcib? got skipped, sighTheo de Raadt
2007-10-08enable spdmem where it mattersTheo de Raadt
2007-10-07Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET writtenMarc Balmer
by mickey, man page by me. Help, suggestions by Theo and jmc. Enable this driver and glxpcib(4) in all RAMDISK kernel, but glxpcib(4) does not provide the watchdog timer in the RAMDISK kernels. Prodded by deraadt. E
2007-10-07Add support for the PCI-ISA bridge, timecounter, and watchdog timerMarc Balmer
found in the CS5536 companion chip to the AMD Geode LX-800 processor. glxpcib(4) driver written by mickey, with some tweaks by me. Manpage nits by jmc. Tested on the Soekris net5501 (by me) and the Alix 2a2 (by earxtacy@dixinet.com) ok kettenis
2007-10-03Add pcb_flags member to 'struct pcb', and set PCB_SAVECTX on contexts savedMark Kettenis
by savectx(). ok art@, miod@
2007-10-01more btoc -> atopMartin Reindl
2007-09-30On i386, only call amd64_errata() on amd64 processors (family 0xf),Gordon Willem Klok
tested by krw@. This diff by itself is insufficient to ensure that we are only running on an amd64: todd@'s machine is a mobile Athlon XP that has a cpuid family of 0xf but is not an amd64 processor so more must be done but this should prevent the vast majority of cases. ok tom@
2007-09-30Enable Broadcom wireless, bwi(4).Jonathan Gray
If people testing could send mail to mglocker and myself we'd appreciate it. ok mglocker@
2007-09-29At the requst of deraadt@, backpout the temporary hack for pcc.Otto Moerbeek
Paraphrasing, "make it clear this should be fixed in pcc asap".
2007-09-24Ooops, i386 entry was enabled by mistake. Disable it. Sorry.Marcus Glocker
2007-09-24Add bwi PCI and Cardbus GENERIC entries for i386 and amd64, but stillMarcus Glocker
disabled for now. From brad@
2007-09-18arc4random_bytes() is the preferred interface for generating nonces;Damien Miller
"looks ok" markus@
2007-09-18As a temporary workaround, implement va_start not usingOtto Moerbeek
__builtin_next_arg for !GCC until pcc supports it. ok kjell@ miod@
2007-09-18Fix typo (`Advancded').Michael Knudsen
2007-09-13Don't bother bitching if APM does not exist. PleantyTobias Weingartner
enough systems today do not have apm. Also, the existance of apm is given on the probe line, absence means it ain't there.
2007-09-12s/atoin/ation/ typosCharles Longeau
ok ray@ cnst@ moritz@ sobrado@ millert@ mbalmer@
2007-09-11henric, tsk tsk, you missed stuff related to cryptosoftTheo de Raadt
2007-09-10Remove unused "extern" declaration.Henric Jungheim
ok tom@
2007-09-10Introduce a md pmap hook, pmap_remove_holes(), which is supposed to markMiod Vallat
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
2007-09-09thmc vs tmhc screwupTheo de Raadt
2007-09-09tmhc has only been seen on i386Theo de Raadt
2007-09-09uchcom(4) has been verified to work by djm@, so add it to allJonathan Gray
USB capable archs.
2007-09-08Add adl(4). Make comments for i2c devices a bit more consistent while I'mMark Kettenis
there.
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
eyeballed and ok dlg@
2007-09-07Comment fix. It's 0x7F ELF, not 0xFF ELF.Tobias Weingartner
2007-09-07Remove some left-overs from the TSC based microtime. We don't needArtur Grabowski
to synchronize the tsc between CPUs anymore. While here, also remove the slow TLB IPI since it's been dead for a while. noticed by mickey toby@ ok
2007-09-07Modify the heuristic for detection of speedstep to recognize a compatibleGordon Willem Klok
mobile Intel Pentium 3 as found in Dell c610 fixes pr5565. ok beck, toby
2007-09-07Based upon a diff orignally submitted by devin smith, Do two things run theGordon Willem Klok
check that the maxfid and the highest reported acpi p_state frequency agree only after actually getting the acpi p_state. Secondly prefer the legacy powernow table over ACPI because machines of this vintage of are likely to have broken ACPI implementations. Tested by devin smith and tilo stritzky. ok beck@
2007-09-06new iwn(4) driver for Intel Wireless WiFi Link 4965AGN.Damien Bergamini
no support for 802.11n functions yet (need work in net80211(9) first). committed over my 4965AGN, with only 2 of 3 antennas plugged :-) needs a firmware that is not freely redistributable (see man page). ok deraadt@
2007-09-04driver for i2c lm93 sensor; very common on ipmi machines which have i2cTheo de Raadt
bmc's watching on the shared bus. if you disable ipmi, you might see it pop up (reminder why ipmi / i2c mixes are disabled: some ipmi's seem to violate the i2c bus locking protocol). tested by Alexander Lobodzinski
2007-09-03Typos from miod. 'functin' -> 'functin' in some comments.Kenneth R Westerback
2007-09-01replace the machine dependant bytes-to-clicks macro by the MI ptoa()Martin Reindl
version for i386 more architectures and ctob() replacement is being worked on prodded by and ok miod
2007-09-01Use db_format() instead of ddb-specific format specifiers; no functionalMiod Vallat
change inteded. ok ray@
2007-09-01Remove stale comments; prompted by millert.Marco Peereboom
2007-08-31Add qli. Commented out for now.Marco Peereboom
2007-08-22Add bus_space_vaddr to i386 arch.Marco Peereboom
Comments and ok kettenis, art & miod
2007-08-14Work-around an interaction between FPU context switching and the VIAHenric Jungheim
Padlock entropy polling on SMP boxes. ok deraadt@, kettenis@
2007-08-07provide software version of HMAC, so IPsec can actually use the crypto HW;Markus Friedl
improves IPsec w/ AES/SHA1 from 17Mbit/s to 30Mbit/s on 500Mhz machine; code similar to i386/via.c; ok tom, hshoexer, deraadt
2007-08-07do not leak sessions; ok hshoexer, tom, deraadtMarkus Friedl
2007-08-06Spew smbios bios table vendor/version/release date into the dmesg. DiffGordon Willem Klok
from theo. ok deraadt
2007-08-05Enable Compact Flash driver for the Marvell 88W8385 chip inMarcus Glocker
zaurus, amd64, and i386 GENERIC. OK claudio@, deraadt@
2007-08-04Add AGP support for the intel i965 chipset, this also extends theReyk Floeter
internal AGP API to work with 64bit PCI-Express memory and non-standard AGP aperture bases. tested by many ok matthieu@, deraadt@
2007-08-03when not dealing with floats, always multiply before dividing; from ↵Theo de Raadt
Przemyslaw Nowaczyk
2007-08-01switch i386 to use the MI i8253 header file and remove the now obsolete MDMartin Reindl
timerreg.h ok miod@
2007-07-30Shuffle the order in which we look for header files, when doingThordur I. Bjornsson
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@.
2007-07-27We don't want to pass the PXE MAC address to the kernel when bootingTom Cosgrove
from a local disk, since the MAC address causes the kernel to look for root on NFS. Do this by remembering (not adding to boot arguments) the MAC address when opening the PXE device, and clearing this if we happen to load a file off a non-network disk. "works as advertised for me" todd@; "stop sitting on this/no objections" deraadt@
2007-07-27Adapt powernow-k7.c driver to use the ACPI _PSS table for retreivingGordon Willem Klok
p_state data based on similar work done to powernow-k8.c. This work was done by Devin Smith <devin at devinsmith dot net> and this commit is a slightly modified verson of his last diff to tech@, thanks again for your work.