summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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@
2009-06-01Enable zyd in more places now we know it is endian safe.Jonathan Gray
2009-06-01add uvideo to zaurus roughly one year from its initial demonstrationTodd T. Fries
ok robert@
2009-06-01New VIA nano's support amd64 and EST. Move the setperf init routine outsideGordon Willem Klok
of the vendor check for intel and use the EST cpu feature flag to determine if we should call the est init routine. Tested on mattieu@'s via nano laptop. ok deraadt@, jsg@
2009-05-31Add Naturetech as a possible hardware vendor.Mark Kettenis
2009-05-31Add support for udl in socppc. ok @miod and @kettenisMats O Jansson
2009-05-31Make iomem_ex cover the complete (48-bit) physical address space. MakesMark Kettenis
bigmem kernels work again. ok oga@, ariane@.
2009-05-31Remove BUS_DMAMEM_NOSYNC definition. Its name is not consistent withMiod Vallat
other BUS_DMA_xxx flag names, and nothing uses it. ok many@
2009-05-31Fix definition of CL_FIFO_MAX to match what the hardware can do; this inMiod Vallat
turn fixes a stack smash in cl_rxintr().
2009-05-31Fix RAMDISK kernels after previous. amd64_has_xcrypt needs to beMatthieu Herrb
#ifdef CRYPTO. noticed by marco@
2009-05-31Reinitialize lapic on ACPI resume.Mike Larkin
ok marco@
2009-05-31Move task register restore code to proper place.Mike Larkin
ok marco@
2009-05-31Add VIA crypto features support to amd64. ok deraadt@Matthieu Herrb
2009-05-30Without -v, be quietTheo de Raadt
ok toby
2009-05-30Don't use biosbasemem and biosextmem to initialize iomem_ex, since on someMark Kettenis
BIOSen it's a complete lie. Instead use the information from the memory map like we do on i386. ok weingart@, oga@
2009-05-30When booting in `install software' mode from the SGI boot menu, do not try toMiod Vallat
load bsd.rd but bsd.rd.IP## matching the IP code of the machine.
2009-05-28Be more paranoid in the IOC3 interrupt klugeMiod Vallat
2009-05-28Poor man's reset code for IP27/IP35 where returning through ARCBios doesn'tMiod Vallat
work, even after restoring TLB and exception code.
2009-05-28Handle NMI interrupts on IP27/IP35, gives us a change to play with ddb,Miod Vallat
and then restart system (NMI on these systems aren't intended to be recoverable).
2009-05-28If readsgilabel() is invoked in spoofing mode, only report the whole deviceMiod Vallat
and volume header partitions. This makes DIOCGPDINFO return correct results, which in turn lets disklabel -A behave as intended.
2009-05-28Bring back the curpmap change. It was missing a reload of the pmap onArtur Grabowski
curcpu when we were freeing a pmap. Tested and working for a few weeks now, but I was a bit too busy to commit it earlier.
2009-05-27Use the KL enumeration functions to try and figure out what kind of XBowMiod Vallat
we have, in order to pick a widget enumeration order matching the PROM. This is especially important when the boot path is in dksc() syntax.