summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2006-12-29Change the comment for mbg(4): Use "radio clocks" instead of "time base".Marc Balmer
ok fkr
2006-12-28Support for ST16C654 chips, however these aren't detected as such, so theMiod Vallat
attachment code has to know better for now; from Alexei G. Malinin (alexei.malinin@inetcomm.ru)
2006-12-26There is a single 'p', not a double, in 'triple'.Tom Cosgrove
2006-12-24Define PROC_PC. Then, since profiling information is being reported inMiod Vallat
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify.
2006-12-24Check for want_resched when processing AST and nowhere else. But then, whenMiod Vallat
doing so, do not check for signals - userret() will do this.
2006-12-23do not mix & and || badlyTheo de Raadt
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-22A more complete fix for perf status MSR's (on e.g. Core 2 Duo X6800),Dimitry Andric
that specify equal highest and lowest clock ratios. EST is now silently disabled on these, as was already done for lowest clock ratios that are zero (on e.g. a bunch of Pentium 4's). Other weird MSR's are still reported, because we first want to know about them, before we decide how to handle them.
2006-12-21Quick fix for Core 2 Duo X6800, which reports an invalid setperf MSR,Dimitry Andric
with the same high and low speed, leading to a divide by zero error. A more complete fix will be committed later. Do it now, deraadt@
2006-12-20Don't bail out on a bad interrupt line if we have a valid apic interrupt pinMark Kettenis
for a pci device.
2006-12-20"#ifdef is a tool of the weak!"Gordon Willem Klok
Rename pentium_mhz to cpuspeed which is consistant with amd64 making shared ACPI code less nasty. ok marco, deraadt
2006-12-20acpi fits, when we trade it primarily for the very large rtw(4) driver.Theo de Raadt
this product is relatively rare, and way more laptops will need acpi than need the rtw driver
2006-12-20acpi (disabled) fits... when we trade it for the rarely used i2o controllers,Theo de Raadt
wi(4) [this is a server-style install media], and eisa bus support.
2006-12-20acpi (disabled) just happens to fitTheo de Raadt
2006-12-20rum fitsTheo de Raadt
2006-12-18Activate mbg(4).Marc Balmer
ok deraadt
2006-12-15acpi can fit onto the cd ramdisksTheo de Raadt
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-12Complete gwk's previous patch to stop setperf methods from returningDimitry Andric
errors to userland: make all cpu_setperf functions return void. Tested by many, ok gwk@
2006-12-11Ensure kvm86_call actually saves the curpcb instead of junk. ErrorGordon Willem Klok
introduced by myself at h2k6, thanks mickey@ and toby@ for turning me in the direction of a corrupt PCB.
2006-12-11do not bus_space_map devices which are at address 0; ok kettenisTheo de Raadt
2006-12-11On i386, swizzle interrupts for devices for which we don't have explicitMark Kettenis
inetrrupt routing information. ok deraadt@
2006-12-09Like the earlier change to powernow-k7.c check for both the regular cpuidGordon Willem Klok
signature AND the AMD extended cpuid 0x800000001 (%eax). Tested by, krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and steven mestdagh <steven.mestdagh AT esat.kuleuven.be> ok dim@
2006-12-08Fix kernel link warning on i386 about boothowto being overridden, byDimitry Andric
removing the second definition from locore. To prevent locore from subsequently clobbering boothowto, remove clearing bss from it. The bootloader has already taken care of this. ok miod weingart deraadt
2006-11-30Oops, didn't mean to increase the default msgbufsize for i386. Noticed by ↵Dimitry Andric
brad, thanks.
2006-11-30Remove the macros SET_CURPCB, GET_CURPCB and GET_CPUINFO, they are only usedGordon Willem Klok
in a few places, and the MP version of GET_CPUINFO is broken. No regression in GENERIC, however GENERIC.MP still has issues.
2006-11-29Nuke all commons but one, and enable --warn-common in LINKFLAGS.Miod Vallat
2006-11-29Remove all the extern cpu_{id,model,whatever} declarations from mostDimitry Andric
stuff in arch/i386/i386. This should prevent more screwups like the one I did before in ichpcib.c... ok dlg@ kettenis@
2006-11-29Fix the major bug in ips which prevents GENERIC to attach it.Alexander Yurchenko
2006-11-29Don't print masks if we're in apic mode.Mark Kettenis
2006-11-29Fix cpu_model string screwup.Dimitry Andric
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-11-29Only establish acpi interrupt if ACPI_ENABLE.Mark Kettenis
2006-11-28Let est not complain about certain strange msr values on Pentium 4's. We can'tDimitry Andric
use the feature on them anyway, since we don't have enough info from Intel.
2006-11-28Support "trace /p <pid>" to show the stack trace of any process.Uwe Stuehler
(Keep in mind that $radix is 0x10 by default.); ok by many
2006-11-28Always call cyrix3_get_bus_clock in cyrix3_cpu_setup, since we mightDimitry Andric
need the bus clock later. Add bus clock case for Core cpu's. Rewrite p[34]_update_cpuspeed to make of already detected bus clocks.
2006-11-28Don't display cpu brand string, features, etc. a second time, when booting an MPDimitry Andric
kernel on a single cpu machine. discussed with kettenis@
2006-11-28Only use est and other non-acpi setperf mechanisms, if acpi is notDimitry Andric
attached. Also moves their initialization and printing of information until after the primary cpu has attached to mainbus. prodded by deraadt
2006-11-28acpi may steal the timer and speedstep functionality, in which case weTheo de Raadt
cannot io map the device. rest of the attach() functionality is still safely intact. we simply do not have to warn about mapping failing. ok kettenis
2006-11-27Add disabled acpi to GENERIC and GENERIC.MP. This is required by the newMarco Peereboom
and shiny ioapic code ketennis wrote. ok ketennis, jordan, deraadt
2006-11-27commit vesabios for matthieu@Gordon Willem Klok
ok deraadt, "slap it in" miod@
2006-11-27Enable kvm86.Gordon Willem Klok
ok deraadt
2006-11-27IBM ServeRAID controllers driver.Alexander Yurchenko
Way far from complete but enough to fdisk and disklabel logical drives.
2006-11-27Only use the ichpcib speedstep feature if we're running on a (Mobile) Pentium 4,Dimitry Andric
since Celerons don't support it. prodded by gwk@
2006-11-27First attempt at making kvm86 MP safe, place mutex lock around callsGordon Willem Klok
to kvm86_bioscall at IPL_IPI this might be incorrect, seems to fix some issues with vt switching, however X still bombs on the second attempt with disappointing frequency. ok deraadt@
2006-11-27Prevent panics when booting GENERIC.MP with a vesabios kernel.Gordon Willem Klok
2006-11-27move uberry to a nicer placeTheo de Raadt
2006-11-27enable uberry driverTheo de Raadt
2006-11-26leave name simpleTheo de Raadt
2006-11-26Save misc info (ebx) register from cpuid with eax=1, so we can use itDimitry Andric
later for some identifications. "slap it in" deraadt