Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-06 | Disable interrupts durring the lock step frequency/voltage change. Generic | Gordon Willem Klok | |
IPIs are handled without blocking interrupts. This solves the random lockups people have been seeing with apmd -C, thanks to marco@ for showing me how to reliably recreate this hang, and claudio@ for telling me it was also affecting his Athlon64 machine so I stopped chasing bugs in est. ok oga@, weingart@ | |||
2009-06-06 | When getting a fault in the kernel, we checked for biglock and failed | Artur Grabowski | |
immediately when biglock wasn't held. But there is nothing inherently wrong with doing copyin/copyout faults without holding biglock, so just remove the check because it prevent us from doing copyin in syscall before we grab the biglock. | |||
2009-06-06 | add an interface to agp to create a bus_dma_tag over a range of the | Owain Ainsworth | |
aperture, which will take your memory, bind it to agp, and return you the aperture address. It's essentially the same as iommu on amd64 in the way it works. This will be used by the upcoming (works but is slow and will not be enabled at first) drm memory management code for intel igp chipsets. Right now the sync function for intagp is really slow (doing a wbinvd() on every sync), this is in the process of getting fixed, but the size of the diffs in my trees was getting silly. | |||
2009-06-06 | It might be a good idea to commit all the diff. *sigh*. | Owain Ainsworth | |
now this builds | |||
2009-06-06 | add sg_dma.c on i386, soon to be used. | Owain Ainsworth | |
2009-06-06 | instead of #ifndef SMALL_KERNELing the whole sg_dma.c file, just put the | Owain Ainsworth | |
information in files.conf like it should be. | |||
2009-06-06 | option X86EMU is how this subsystem is brought into a kernel | Theo de Raadt | |
2009-06-06 | fix include paths | Theo de Raadt | |
2009-06-06 | Add vga bios repost support. Fetched from the NetBSD tree mostly. | Paul Irofti | |
Tested on multiple i386 and it works, amd64 works also with a few exceptions that will get fixed. The initial effort of importing was done by oga@, thanks! Lots of testing and debugging by mlarkin@ and me. Okay deraadt@, oga@, mlarkin@. | |||
2009-06-06 | Matching fix for amd64. This also removes a spurious disable_intr() call | Mike Larkin | |
that wasn't needed. ok pirofti@ | |||
2009-06-06 | Fix some lapic, interrupt, and clock issues on i386 ACPI S3 resume. | Mike Larkin | |
(Allows time to flow forward after resume) ok pirofti@ | |||
2009-06-05 | Save some more state such that we recover from X changing depth on us. | Mark Kettenis | |
2009-06-05 | Clear screen to clean up after X. | Mark Kettenis | |
2009-06-05 | Remove redundant assignment. | Mark Kettenis | |
2009-06-05 | Clear screen to clean up after X. | Mark Kettenis | |
2009-06-05 | Revert the curpmap change. We know the IPI is broken on both ends, | Philip Guenthe | |
but even with proposed fixes, the reaper panics are back. | |||
2009-06-05 | use the right accounting for bound edges (i think) | Theo de Raadt | |
2009-06-05 | Disable and clear hardware cursor to clean up after X. | Mark Kettenis | |
2009-06-05 | Save some state and restore it after we return from X, because the accelerated | Mark Kettenis | |
X driver for this chip doesn't know how to clean up after itself. | |||
2009-06-05 | Clamp the ending bound to the size of the disk. This makes disklabel -A | Theo de Raadt | |
still do the right thing if the MBR has a lie in it | |||
2009-06-04 | Change i386 ACPI sleep to KASSERT if the pmap can't be activated | Mike Larkin | |
properly. Now i386 and amd64 implementations match. ok art | |||
2009-06-04 | Ensure we are sleeping from the kernel. Code changed to match i386. | Mike Larkin | |
ok art | |||
2009-06-04 | Make backtraces through interrupts work. | Mark Kettenis | |
2009-06-04 | More fallback from struct disklabel changes, yawn | Miod Vallat | |
2009-06-04 | Fix fallback from struct disklabel changes. | Miod Vallat | |
2009-06-04 | Recycle four ancient fields in the disklabel structure, replacing them with | Theo 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-04 | Remove support for non-ELF; it never existed for amd64. | Mark Kettenis | |
2009-06-04 | Don't bother setting RB_SERCONS in boothowto since this flag is not used | Miod Vallat | |
by anything. | |||
2009-06-04 | Add DIOCRLDINFO to those drivers previously deprived. | Kenneth R Westerback | |
Noticed by & ok deraadt@ | |||
2009-06-04 | Enable gfxp(4). | Mark Kettenis | |
2009-06-04 | Accelerated fills as well. | Mark Kettenis | |
2009-06-03 | Accelerated scrolling. | Mark Kettenis | |
2009-06-03 | Initial stab at a driver for the Tech Source Raptor GFX built around the | Mark Kettenis | |
3D Labs Permedia 2v chip. These cards were sold by Sun as PGX32. | |||
2009-06-03 | Initial stab at a driver for the Tech Source Raptor GFX built around the | Mark Kettenis | |
3D Labs Permedia 2v chip. These cards were sold by Sun as PGX32. | |||
2009-06-03 | add kern.bufcachepercent sysctl to allow adjusting the buffer cache | Bob Beck | |
size on a running system. ok art@, oga@ | |||
2009-06-03 | Fix check for window-top and window-left values. | Mark Kettenis | |
ok miod@ | |||
2009-06-03 | Make sure we're running on the right pmap when going to sleep. | Artur Grabowski | |
2009-06-03 | - add hotplug device | Jasper Lievisse Adriaanse | |
ok miod@ | |||
2009-06-03 | Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵ | Janne Johansson | |
arches. ok todd@ beck@ | |||
2009-06-03 | Import acpi power resource driver. This is needed for suspend/resume logic. | Paul Irofti | |
Okay jordan@ and marco@. | |||
2009-06-03 | Remove some redundant code. | Mark Kettenis | |
2009-06-03 | droppmap is only necessary (and declared) on MULTIPROCESSOR | Artur Grabowski | |
2009-06-03 | Just like on amd64. Instead of keeping a bitmap of which cpus a pmap | Artur 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-03 | Nuke CYRIX_CACHE (and related defines). They've not been used in a long | Tobias Weingartner | |
time. Beginning of refactoring cpu identification. ok kettenis@ | |||
2009-06-03 | Add acpivideo support. This adds brightness support for all laptops | Paul 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-03 | Enabled docking driver | Jordan Hargrave | |
ok marco@ | |||
2009-06-02 | Enable acpidock device | Jordan Hargrave | |
ok marco@ | |||
2009-06-02 | Somehow this change didn't get committed with the rest of the powepc interrupt | Dale Rahn | |
fixes. Required to be changed at the same time. | |||
2009-06-02 | Instead of the global hash table with the terrible hashfunction and a | Owain 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-02 | Reintroduce the macppc interrupt subsystem rewrite. Several bugs have | Dale Rahn | |
been found and corrected. |