summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-05-08uninitialized variable passed to setroot()Theo de Raadt
2007-05-07Remove symbols already defined in <sys/limits.h>; unbreaks build on sgi.Mark Kettenis
ok miod
2007-05-07Check for astpending in u_general (userland traps) in addition to u_intrMiod Vallat
(hardware interrupts occuring while cpu is in usermode), fixes regress/sys/kern/sig-stop on sgi.
2007-05-07Garbage collect ci_astpending; it's no longer used.Mark Kettenis
ok miod@, art@
2007-05-07Move sgo to __HAVE_CPUINFO.Mark Kettenis
ok miod@
2007-05-06garbage collect release_fpu() and synchronize_fpstate()Martin Reindl
2007-05-06Whack "No counter-timer" message. These days, most UltraSPARC cpu's don'tMark Kettenis
have one. ok deraadt@
2007-05-06Add the mp setperf mechanism to AMD64, like its i386 counterpart it allowsGordon Willem Klok
all cpus in a system supporting frequency and voltage scaling to be scaled by the same amount corresponding to the user (or apmd on their behalf) performance level. This diff also teaches amd64 about acpi_hasprocfvs (ACPI has processor frequency and voltage scaling). It also moves initilization of the underlying setperf mechanism such as powernow to mainbus from the cpu indentification and initilization code inspired by similar changes dim@ made to i386 durring h2k6. This is necessary to implement the AMD recommended method for retreiving p_state data from the ACPI _PSS object (a diff comming soon). It will also simplify the potential addition of enhanced speedstep as found on newer intel processors with EMT64 capable of running OpenBSD/amd64. MP setperf functionality verifed by myself and Johan M:son Lindman <tybolt AT solace DOT miun DOT se> on opteron 265 and 270 systems respectively. General testing done by many others thanks! ok tedu, dim
2007-05-06bcd.c diedTheo de Raadt
2007-05-05simple single-processor only mutex implementationMartin Reindl
ok miod@
2007-05-05Directly map IPL_xxx in terms of ALPHA_PSL_IPL_xxx values, and implementMiod Vallat
splassert. ok art@ martin@
2007-05-05Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly.Miod Vallat
2007-05-05Simple single-processor only mutex implementation.Miod Vallat
2007-05-04Faster pmap_extract() code for pmap_kernel, from NetBSD.Miod Vallat
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04Remove dead code.Artur Grabowski
2007-05-04Oops. Forgot to commit this part.Artur Grabowski
We need to include lock_machdep even on non-MP kernels now for rw_cas.
2007-05-04Implement rw_cas for i386.Artur Grabowski
It uses a function pointer to choose between the 386 and 486 versions. The 386 version is not MP safe, but we're not expecting MP support for 386 cpus. miod@ ok (and prodding)
2007-05-04Skip the kernel pmap when accounting for executability range changes.Artur Grabowski
This could lead to some heavy problems if called from kernel threads (which is the only way to get past the next test with the kernel pmap). From mickey. art@ toby@ ok.
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..)
2007-05-03Config file for MULTIPROCESSOR kernel.Mark Kettenis
2007-05-03Add dummy functions to make MULTIPROCESSOR kernels compile.Mark Kettenis
2007-05-03Enable support for > 512MB of physical memory on mips64 systems, by usingMiod Vallat
XKPHYS instead of KSEG[01] for direct mappings. Then, detect memory above 256MB on O2 by poking at the CRIME registers (ARCbios will not report memory above 256MB, which is mapped above 1GB physical, to the system), and add it to the UVM managed memory. Tested on r5k, rm5200 and r10k with and without more than 256MB, matching hinv reports in all cases. CRIME memory decoding based on a diff from kettenis@ in december 2005.
2007-05-03Remove MCA ghosts, no changes in .o files.Alexander Yurchenko
Free commit ticket from miod@.
2007-05-03Implement pmap_steal_memory() on powerpc. With some help from art@.Miod Vallat
2007-05-03sensible version strings; ok miodTheo de Raadt
2007-05-03Remove the pv stealing code. Other than being dangerous, it's alsoArtur Grabowski
slightly incorrect and didn't actually do much until a week ago or so when I fixed it when doing VM_PAGE_MD. deraadt@, miod@ ok
2007-05-02supply the real devicename to sio_intr_establish() instead a genericMartin Reindl
platform interrupt string when establishing pciide interrupts
2007-05-02Support for mtrr on AMD opteron CPUs. Patch by Mickey and bluhm@, tweaksMatthieu Herrb
by dim@, ok deraadt@ and myself. (miod@ also found it sane).
2007-05-02Move sparc64 to __HAVE_CPUINFO.Mark Kettenis
ok miod@, deraadt@
2007-05-02Fix typo. ok miod@.Tom Cosgrove
2007-05-01ELF symbol type fixes, no code changeMiod Vallat
2007-05-01Don't rely on the PROM to have configured the interrupts. Make Simics bootMark Kettenis
a but further and doesn't hurt a real E4500. tested by miod@
2007-05-01Simple monoprocessor mutex implementation, faster than the MI code, four leftMiod Vallat
to go.
2007-05-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-05-01similar exit support for -a, to what i386 doesTheo de Raadt
2007-05-01support exit at boot -a timeTheo de Raadt
2007-05-01RAMDISK kernels do not need DIAGNOSTICTheo de Raadt
2007-05-01expose two things needed for non-DIAGNOSTIC kernelsTheo de Raadt
2007-05-01Missing RCS tag.Gordon Willem Klok
2007-04-30check for exit string earlierTheo de Raadt
2007-04-30support "exit" like sparc64 does; ok miodTheo de Raadt
2007-04-30use boot(RB_USERREQ | RB_HALT) to get back to the prom instead ofTheo de Raadt
special openfirmware calls; discussed with miod
2007-04-30support "exit" as a RB_ASKNAME choice; discussed with miodTheo de Raadt
2007-04-30Fix dmesg nit.Miod Vallat
2007-04-30HDUNIT/etc -> DISKUNIT/etc. No functional change.Kenneth R Westerback
"Looks right" millert@ "toss 'em in" deraadt@
2007-04-29Replace expansions of DISKLABELDEV() with DISKLABELDEV(). Shorter, andKenneth R Westerback
more consistant. No change to code. ok miod@
2007-04-29Blink 8x slower, so that this fits better with Kraftwerk's ``ElektroMiod Vallat
Kardiogramm'' in the background.
2007-04-29machdep.led_blink sysctl for landisk, also move cpu_sysctl() code and relatedMiod Vallat
variables from arch/sh/ to arch/landisk/. ok deraadt@
2007-04-29The cpu clock frequency we get from ARCBIOS may be off by something in theMark Kettenis
order of 1%. So calibrate the CP0 timecounter frequency using the TOD clock if we have one. "looks like good stuff" deraadt@, also tested by jsg@