summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-06-15In p3_get_bus_clock() don't fall through if we have in fact correctlyGordon Willem Klok
matched a model. Found in a dmesg from Craig Barraclough craigba AT creative.com.au. ok deraadt@
2006-06-14Missed a part of the kvm86 commit, if option KVM86 is defined it would beGordon Willem Klok
a good idea to actually call the init function, this was lost it was part of the diff ok toby@, mickey@
2006-06-14support the iic busses on the ultrasparc III machines (something is stillTheo de Raadt
wrong, likely clocking); tested to not break older machines by dlg & djm
2006-06-13Do not compare apple with oranges when checking if the thermal controlMiod Vallat
register write was successful.
2006-06-13kvm86, missed a file.Gordon Willem Klok
ok mickey@, toby@
2006-06-13Kernel virtual mode 8086, currently disabled in GENERIC.Gordon Willem Klok
lots of help at c2k6 and after from toby@, ok toby@, mickey@
2006-06-13When adjusting the performance of the processor using p4tcc, the CPUsGordon Willem Klok
frequency remains unaltered. Remove the unecessary call to update_cpuspeed(), and add check the sucess of the operation, returing EIO in the event of failure. ok tedu@
2006-06-13Change the value returned if the CPU fails to honor a request toGordon Willem Klok
adjust frequency from 1 (EPERM) to EIO. Suggested by and ok tedu@
2006-06-12Oops, typoMiod Vallat
2006-06-12Some more improvements to EST:Dimitry Andric
- If an unknown EST CPU is encountered, use the known highest and lowest (and if different, the current) power state to generate a fake power state table on the fly. Thanks to canacar for the idea. - Calculate system bus clock speed before calling est_init(); it is needed to display proper MHz values from MSR values. - Also use the bus clock to identify EST CPU's, which is needed to differentiate e.g. Pentium M 715 and 760, which unfortunately have exactly the same MSR values. - Store power states directly as MSR values. Tested by many, "so when does it go in?" deraadt@
2006-06-12ANSIfy, and nuke newline at end of file.Gordon Willem Klok
ok toby@, "slap it in" deraadt@
2006-06-12Add stray interrupt reporting to the apicvec.s, fix the code for strayGordon Willem Klok
interrupt reporting in vector.s. Stray interrupts will only be reported if a kernel is compiled with option DEBUG, in the case of a non-ioapic kernel some stray interrupts may be erroneously reported durring the boot process. ok toby@, "get it in" deraadt@
2006-06-11Working kernel crash dumps.Miod Vallat
2006-06-11Amiga is no longer amoung us. Some architectures were too sentimentalKenneth R Westerback
to cut all ties when it left for the attic. Eliminate (theoretical) ability to read Amiga disklabels on those architectures. mips64 compile tested by miod@ "whack away" deraadt@ "my amiga runs 3.2" niklas@
2006-06-11Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@Matthieu Herrb
2006-06-11Clean the various cache and TLB invalidation function, arch by arch:Miod Vallat
- [DI]C{FL,PL,PP} and DCFA are only called on 680[46]0 systems and are identical on these platforms, so don't bother checking for the MMU type. - TBIAS is on 68060 codepath only. - DCIAS, PCIA and TBIA are specific to some platforms and do not need to be implemented everywhere.
2006-06-11Set up FPSP exception vectors on 68040 models in initvectors(), as done for theMiod Vallat
68060 SP, instead of in identifycpu().
2006-06-11Remove traces of cut'n'pasted 68060 support, since there aren't any 68060-basedMiod Vallat
macintoshes.
2006-06-11Protect a variable only used for the HP MMU if #ifdef M68K_MMU_HP blocks.Miod Vallat
2006-06-11Move common prototypes to <m68k/{cpu,param}.h> instead of incompleteMiod Vallat
declarations in <machine/{cpu,param}.h> and elsewhere.
2006-06-11Factorize spl handling functions and software interrupt routines betweenMiod Vallat
m68k-based platforms.
2006-06-11Move pmap_aliasmask declaration and initialization to MD code. No functionalMiod Vallat
change.
2006-06-11Use bracketed include paths.Miod Vallat
2006-06-11Zero the size of the correct partition. Missed in previous cleanup.Kenneth R Westerback
ok miod@
2006-06-11TypoMiod Vallat
2006-06-11Get rid of the wdt(4) char device. We have watchdog(4) andMichael Knudsen
watchdogd(4), so there's no point in supporting old, unused, non-generic interfaces. Tested by < jg , rilk - com>. The sensors available on the WDT501 model will be supported later using the sensors framework. ok mickey markus
2006-06-10ANSIfy, KNF and remove a silly comment.Gordon Willem Klok
ok toby@, "absolutely" deraadt@
2006-06-10ANSIfy, KNFGordon Willem Klok
ok toby@, deraadt@
2006-06-10Add IIC attachment/probe. no IIC devices yet.Dale Rahn
2006-06-10bring PHYS address in sync with RAMDISK, matches the addresss redbootDale Rahn
wants. Note that redboot still wants to have a virtual load address between 0 and ramsize, so loading an unmodified kernel still doesn't work.
2006-06-10include i2c bits instead of dummying out i2c_bitbang.Dale Rahn
2006-06-10I2C support for 80321/80219Dale Rahn
2006-06-09{x,}ldcontrolb() codepath is SUN4-only, so don't bother checking for LfsbailMiod Vallat
in mem_access_fault4m.
2006-06-08Move ISA logic of allocation functions to better place.Tobias Weingartner
Thanks for krw@ for testing isa floppies. brad@ ok, jason@ ok.
2006-06-07- when killing a process due to parity error, notify syslog.Miod Vallat
- when checking for the parity error itself: + use pmap_kenter_pa() and pmap_kremove() for the temporary mapping. + reenable external cache before invoking pmap_kremove() [which can cause a cache flush on some models].
2006-06-07Pass M_CANFAIL to malloc() in sendsig(), and if it fails, kill the process;Miod Vallat
this is better than panic'ing due to low memory condition.
2006-06-07One last occurence of an inline sigexit() in sendsig.Miod Vallat
2006-06-07Remove unused bus_space_probe().Miod Vallat
2006-06-07enable azalia; ok jasonTheo de Raadt
2006-06-07do not #undef HORRID_III_HACKTheo de Raadt
This means that for now a config file can build us3 kernels ok jason
2006-06-06Define R5k/R10k extra trap codes.Miod Vallat
2006-06-06In pmap_enter(), when deciding to flush the icache for a page, invoke theMiod Vallat
TLB-friendly cache function. From NetBSD.
2006-06-06use _C_LABEL() instead of _Michael Shalayeff
2006-06-05In ubareset(), be sure to destroy the uba extent before recreating it, toMiod Vallat
avoid a diagnostic assertion failure.
2006-06-04Shrink VM_PHYSSEG_MAX to 1 on platforms where physical memory is contiguousMiod Vallat
and there is only one call to uvm_page_physload().
2006-06-04When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, thisMiod Vallat
makes uvm_page.o smaller.
2006-06-02Fix name of lcd(4) in dmesg.Miod Vallat
2006-06-02Map the vector page cacheable during startup.Miod Vallat
2006-06-02now that com_cardbus works on macppc, add 'com* at cardbus?' to GENERICFelix Kronlage
ok martin@
2006-06-02sbus_establish() and the associated linked list in the sbus softc is now onlyMiod Vallat
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.