summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-06-05Clamp the ending bound to the size of the disk. This makes disklabel -ATheo de Raadt
still do the right thing if the MBR has a lie in it
2009-06-04Change i386 ACPI sleep to KASSERT if the pmap can't be activatedMike Larkin
properly. Now i386 and amd64 implementations match. ok art
2009-06-04Ensure we are sleeping from the kernel. Code changed to match i386.Mike Larkin
ok art
2009-06-04Make backtraces through interrupts work.Mark Kettenis
2009-06-04More fallback from struct disklabel changes, yawnMiod Vallat
2009-06-04Fix fallback from struct disklabel changes.Miod Vallat
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
bounds information, ie. the zone of the disk that OpenBSD can use. Have each pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out this area and pass it up to userland. Then, delete all the same disk parsing code from disklabel(8) since the kernel passes it up. Lots and lots of - signs in the disklabel(8) code. Tested on as many platforms as possible, the fallout will be repaired as time goes on. To test, use disklabel -d <drive> and validate that the bounds do not overlap any boot blocks. This same information is used by disklabel -A... OK for the concept from krw, miod, and drahn
2009-06-04Remove support for non-ELF; it never existed for amd64.Mark Kettenis
2009-06-04Don't bother setting RB_SERCONS in boothowto since this flag is not usedMiod Vallat
by anything.
2009-06-04Add DIOCRLDINFO to those drivers previously deprived.Kenneth R Westerback
Noticed by & ok deraadt@
2009-06-04Enable gfxp(4).Mark Kettenis
2009-06-04Accelerated fills as well.Mark Kettenis
2009-06-03Accelerated scrolling.Mark Kettenis
2009-06-03Initial stab at a driver for the Tech Source Raptor GFX built around theMark Kettenis
3D Labs Permedia 2v chip. These cards were sold by Sun as PGX32.
2009-06-03Initial stab at a driver for the Tech Source Raptor GFX built around theMark Kettenis
3D Labs Permedia 2v chip. These cards were sold by Sun as PGX32.
2009-06-03add kern.bufcachepercent sysctl to allow adjusting the buffer cacheBob Beck
size on a running system. ok art@, oga@
2009-06-03Fix check for window-top and window-left values.Mark Kettenis
ok miod@
2009-06-03Make sure we're running on the right pmap when going to sleep.Artur Grabowski
2009-06-03- add hotplug deviceJasper Lievisse Adriaanse
ok miod@
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-06-03Import acpi power resource driver. This is needed for suspend/resume logic.Paul Irofti
Okay jordan@ and marco@.
2009-06-03Remove some redundant code.Mark Kettenis
2009-06-03droppmap is only necessary (and declared) on MULTIPROCESSORArtur Grabowski
2009-06-03Just like on amd64. Instead of keeping a bitmap of which cpus a pmapArtur Grabowski
is active on, save a curpmap pointer in cpu_info. This lets us simplify a few things and do lazy context switching from a user process to a kernel thread. There's a new IPI introduced for forcing a cr3 reload when we're tearing down a dead pmap. kettenis@ ok (after I polished a few minor things)
2009-06-03Nuke CYRIX_CACHE (and related defines). They've not been used in a longTobias Weingartner
time. Beginning of refactoring cpu identification. ok kettenis@
2009-06-03Add acpivideo support. This adds brightness support for all laptopsPaul Irofti
except thinkpads, they will use the acpithinkpad driver. The driver is also hooked into wsconsole. So brightness can be adjusted via: $ wsconsctl display.brightness=<percentage> This is very helpfull on some laptops that have a nasty bios and get two steps instead of one when pressing the brightness button. Tested on various dell, fujitsu, acer, samsung and other laptops. Okay marco@, miod@. Suggestions from kettenis@. Lots of reviews and help from miod@, thanks!
2009-06-03Enabled docking driverJordan Hargrave
ok marco@
2009-06-02Enable acpidock deviceJordan Hargrave
ok marco@
2009-06-02Somehow this change didn't get committed with the rest of the powepc interruptDale Rahn
fixes. Required to be changed at the same time.
2009-06-02Instead of the global hash table with the terrible hashfunction and aOwain Ainsworth
global lock, switch the uvm object pages to being kept in a per-object RB_TREE. Right now this is approximately the same speed, but cleaner. When biglock usage is reduced this will improve concurrency due to lock contention.. ok beck@ art@. Thanks to jasper for the speed testing.
2009-06-02Reintroduce the macppc interrupt subsystem rewrite. Several bugs haveDale Rahn
been found and corrected.
2009-06-02A piece of an upcoming diff was on the same line, revert that portionDale Rahn
of the previous diff so macppc is stable again. found/ok maja@
2009-06-02Remove unused b_forw defines which make beck@ scream like a little girlMiod Vallat
and disturb everyone's peace.
2009-06-02When about to run X11 in 32 bpp mode, advertize correctly that we areMark Kettenis
really using 24 bpp pixels on 32 bit boundaries. ok miod@
2009-06-02Add an r10k-specific cop0 control register.Miod Vallat
2009-06-02Add a DIAGNOSTIC panic to ensure we are not runningKurt Miller
via an interrupt handler in acpi_sleep_machdep. okay mlarkin@ marco@
2009-06-02add CRYPTO and softraid to zaurus RAMDISKTodd T. Fries
Sure deraadt@
2009-06-02add CRYPTO to macppc RAMDISKTodd T. Fries
Sure deraadt@
2009-06-02Enable machfb(4) and raptor(4) here too.Mark Kettenis
2009-06-02Define a proper wsdisplay type for machfb(4).Mark Kettenis
requested by miod@
2009-06-02Make machfb_putcmap() respect the starting index in the colormap.Mark Kettenis
2009-06-02Enable machfb(4).Mark Kettenis
2009-06-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
2009-06-02Initial stab at an accelerated driver for PGX/PGX64 framebuffers.Mark Kettenis
Inspiration from the NetBSD, Linux and X.org drivers.
2009-06-02Added interface for cpu idle on amd64Jordan Hargrave
ok gwk@, toby@, marco@
2009-06-01no point in calling curcpu() when ci is already set. ok miod@Dale Rahn
2009-06-01Fix the order of checking if a machine has MTRR. We need to checkPeter Hessler
against the vendor string, then cpu family, then if the cpu claims to have it. requested by toby@ Also match against Via's cpu string to enable MTRR on matthieu@'s VIA Nano compile tested on i386 by wcmaier@
2009-06-01Move ibcs2_sendsig into compat. Quit poluting machdep.Tobias Weingartner
Ok guenther@
2009-06-01Use proper pmap during ACPI sleep on amd64. Original code by Kurt,Mike Larkin
this version by Art. additional ok by marco@
2009-06-01physmem allocator: change the view of free memory from single free pagesAriane van der Steldt
to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Ok art@