summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-09-09All our pmap implementations provide pmap_resident_count(), so removeMiod Vallat
#ifndef pmap_resident_count code paths.
2015-09-09Kill some commented out in6_ifstat_inc().Martin Pieuchot
2015-09-09Kill a couple of if_get()s only needed to increment per-ifp IPv6 stats.Martin Pieuchot
We do not export those per-ifp statistics and they will soon all die. "We're putting inet6 on a diet" claudio@ ok dlg@, mikeb@, claudio@
2015-09-09convert bpf to using an srp list for the list of descriptors.David Gwynne
this replaces the hand rolled list. the code has always used hand rolled lists, but that gets a bit cumbersome when theyre SRPs. requested ages ago by mpi@
2015-09-09implement a singly linked list built with SRPs.David Gwynne
this allows us to build lists of things that can be followed by multiple cpus. ok mpi@ claudio@
2015-09-09Fix English in comment. OK dlg@Claudio Jeker
2015-09-08Give the pool page allocator backends more sensible names. We now have:Mark Kettenis
* pool_allocator_single: single page allocator, always interrupt safe * pool_allocator_multi: multi-page allocator, interrupt safe * pool_allocator_multi_ni: multi-page allocator, not interrupt-safe ok deraadt@, dlg@
2015-09-08Now that msleep(9) no longer requires the kernel lock (as long as PCATCHMark Kettenis
isn't specified) the default backend allocator implementation no longer needs to grab the kernel lock. ok visa@, guenther@
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); checked by semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(), when known; ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08convert several malloc(9) to mallocarray(9).Sebastien Marie
ok deraadt@ guenther@ "re-wrap the long lines" kettenis@
2015-09-07Do not set USBD_NO_COPY for interrupt transfers, only bulk transfersMartin Pieuchot
are converted for the moment. From Grant Czajkowski.
2015-09-07Remap the framebuffer as write-combining when we actually attach. Speeds upMark Kettenis
scrolling by a factor of 20 on my x1.
2015-09-07Use the RI_WRONLY flag to avoid reading back pixels from buffer memory.Mark Kettenis
Make scrolling efifb(4) a bit faster. ok yasuoka@, deraadt@
2015-09-07Make it possible to use RI_WRONLY for the aframebuffer during early boot.Mark Kettenis
In this case, the caller has to provide the backing store for the screen contents by setting the ri_bs member of "struct rasops_info". The screen contents are retained if the rasops_info descriptor is later reinitialized after adding the RI_VCONS flag. ok yasuoka@, deraadt@
2015-09-07Delete ktracing of context switches: it's unused, and not particularly useful,Philip Guenther
and doing VOP_WRITE() from inside tsleep/msleep makes the locking too complicated, making it harder to move forward on MP changes. ok deraadt@ kettenis@
2015-09-07Fix the previous. The condition of loop which read GPT partitions had beenYASUOKA Masahiko
broken.
2015-09-07BOOTX86.EFI should be BOOTIA32.EFI.YASUOKA Masahiko
pointed out deraadt kettenis ok deraadt
2015-09-07sizes for free(); ok jmatthewTheo de Raadt
2015-09-06We no longer need to grab the kernel lock for allocating and freeing pagesMark Kettenis
in the (default) single page pool backend allocator. This means it is now safe to call pool_get(9) and pool_put(9) for "small" items while holding a mutex without holding the kernel lock as well as these functions will no longer acquire the kernel lock under any circumstances. For "large" items (where large is larger than 1/8th of a page) this still isn't safe though. ok dlg@
2015-09-06size for free()Theo de Raadt
2015-09-06Add support for QEMU PCI serial devices in puc(4)Stefan Fritsch
OK deraadt@
2015-09-06regenerate from pcidevsStefan Fritsch
2015-09-06Add ids for Qemu PCI serial devicesStefan Fritsch
OK deraadt@
2015-09-06sizes for free(); ok semarieTheo de Raadt
2015-09-06clarify malloc arguments (base + length...)Theo de Raadt
2015-09-06seperate a variable into two, so that the size of a free() is remembered.Theo de Raadt
ok semarie
2015-09-06qlw fitsMiod Vallat
2015-09-06pretty simple size for free()Theo de Raadt
2015-09-06The pppx_if_pl pool will never be used in interrupt context, so pass theMark Kettenis
PR_WAITOK flag to pool_init and pass NULL as the pool allocator. ok dlg@
2015-09-06We actually need an interrupt-safe allocator here, as we call pool_put()Mark Kettenis
with a mutex held, so we can't have it sleep.
2015-09-06PR_WAITOK for the pmap_pmap_pool here as well.Mark Kettenis
2015-09-06Use checksum to check the gpt parition. Old check was missingYASUOKA Masahiko
letoh32()/letoh64() calls. Also increase buffer size from 512 to 4092. initial work from krw ok krw
2015-09-06sizes for free(); ok jmatthewTheo de Raadt
2015-09-06srom size is tracked, pass to free()Theo de Raadt
2015-09-06firmware size for free()Theo de Raadt
2015-09-06sizes for free() - most are about the firmware memoryTheo de Raadt
2015-09-05Do not make ip22_{slow,fast}_mode() public anymore.Miod Vallat
2015-09-05Give up trying to map DMA descriptor in uncached memory on ECC flavours of theMiod Vallat
IP22 motherboard (IP26, IP28). Instead, do not ask for a BUS_DMA_COHERENT mapping, but perform explicit cache operations. This removes the need for the memory controller to switch between `fast' and `slow' mode every time a DMA descriptor is updated. Tested on IP22 and IP28.
2015-09-05Support Synaptics touchpads without W mode.bru
Emulate W mode if a Synaptics model doesn't provide it, and check for the success of the resolution query during setup. ok shadchin@, mpi@
2015-09-05Improve tap-and-drag detection for ALPS touchpads.bru
The ALPS mechanism for gesture detection can produce long delays between a packet that signals a tap and the next packet, which either signals the end of the gesture or the start of a drag-operation. The time spans can exceed the timeouts used by the generic detection mechanism in the synaptics driver. Reporting both the touch and the release event when the second packet has arrived ensures that the tap will be recognized. ok mpi@ shadchin@
2015-09-05Support for xterm-compatible SGR escapes 39 and 49 (reset fg/bg colour toMiod Vallat
default). From Matthew Martin on tech@
2015-09-05Correct bounds checking in efifb_mmap(). ok yasuoka@Miod Vallat
2015-09-05regenJonathan Gray