summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-15typo: compare len against null needle, not haystackAntoine Jacoutot
from Alf Schlichting ok millert@
2013-05-15sync the list of pre haswell intel video devices with linuxJonathan Gray
ok kettenis@
2013-05-15regenJonathan Gray
2013-05-15add some more Intel video devicesJonathan Gray
ok kettenis@
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-05-15Add support for Intel E7221 integrated graphics.Mark Kettenis
ok jsg@
2013-05-15syncTodd T. Fries
2013-05-15undo malfunctionMiod Vallat
2013-05-14Pass the correct pointer to pool_put if pf_state_key_attach fails.Mike Belopuhov
Thanks to Brian Poole <pooleb @ gmail ! com> for noticing this.
2013-05-14Declare the cmmu-related variables which are set early in the kernel life,Miod Vallat
before pmap_bootstrap(), as located in .rodata. This will get them write-protected after pmap has initialized, for free.
2013-05-14typo in multiple inclusion guard symbol name.Miod Vallat
2013-05-14Don't display swapin/swapout uvmexp fieldsMiod Vallat
2013-05-14restore ABI compatibility; guentherMiod Vallat
2013-05-14Older BUG version do not implement the `out cr/lf' BUG system call, and, worse,Miod Vallat
do not return from it, for extra fun. The good thing is that the existing kernel console code logic issueing \n as \r\n works nicely with the regular BUG output routines, so there was no reason to use this particular BUG routine in the first place.
2013-05-14Don't bother printing vm_swrss of a process, the current uvm accountingMiod Vallat
logic never sets this value.
2013-05-14Remove `swapin' and `swapout' from uvm statistics, since we don't swap outMiod Vallat
u areas since quite a few years now.
2013-05-14keep track of the youngest child, helps a lot with out-of-date messagesMarc Espie
in -dm mode. okay millert@
2013-05-14make sure the linear ordering matches what makedoc actually does, otherwiseMarc Espie
make -j might rebuild those spuriously when they end up being out of date... okay millert@
2013-05-14Fix build with MRT6DEBUG defined.Martin Pieuchot
2013-05-14Fix build with ENCDEBUG defined.Martin Pieuchot
2013-05-14sync sets for libc bump; broken snapshots reported by dmitry dot senseiStuart Henderson
at gmail
2013-05-14Add basic prcm support for am335x.rapha
Use separate headers and enable/disablemodule functions for the different boards. A lot of work by patrick@. ok patrick@, bmercer@
2013-05-14When ^W (WERASE) is hit in insert mode it's possible that the lineTodd C. Miller
buffer is accessed out of bounds. If 'max' == 0 and 'tp->cno' == 1 the 'tp->cno' value is first reduced by one and then 'tp->lb' is accessed at 'tp->cno' - 1. Also remove dead (and incorrect) code in the TXT_ALTWERASE case. From Arto Jonsson; OK martynas@
2013-05-14Add board id for beaglebone.rapha
ok patrick@, bmercer@
2013-05-13Get rid of some silly underscores.Mark Kettenis
2013-05-13specialfiles ARE file while destated, so they set lastfile, which isMarc Espie
useful for size and digest. BUT samples should never alias specialfiles, so error out right away.
2013-05-13Implement support for running interrupt handlers without taking the kernelMark Kettenis
lock, by adding a new BUS_INTR_ESTABLISH_MPSAFE flag for use with the (sparc64-specific) bus_intr_establish(9) interface. Add support for this flag to schizo(4); other bus drivers will ignore it for now. While there, remove the BUS_INTR_ESTABLISH_FASTTRAP flag which serves no purpose.
2013-05-13Add an implementation of memmem() -- from FreeBSD with some tweaks.Antoine Jacoutot
Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@
2013-05-13Make SIOCSIFDSTMASK and SIOCSIFNETMASK fail if there is no previousMartin Pieuchot
address configured on the interface just like SIOCSIFBRDADDR does. This prevent the global IPv4 address list and the per-interface list to be out of sync until one of SIOCAIFADDR or SIOCSIFADDR ioctl(2) is issued. ok mikeb@, sthen@
2013-05-13Sort the npppd entries.Antoine Jacoutot
ok schwarze@ giovanni@ sthen@
2013-05-12Make sboot really match its documented behaviour when booting without anMiod Vallat
interface name.
2013-05-12Tell wsdisplay(4) to switch back to the console screen upon entering ddb(4).Mark Kettenis
This gives users a decent chance to see panic messages and interact with ddb(4) when they're running X on hardware for which we have a KMS driver. Currently that means inteldrm(4). ok jsg@, guenther@
2013-05-12In wsdisplay_switchtoconsole(), make sure we really are the console beforeMark Kettenis
attempting to switch screens. On amd64/i386 the glass console gets initialised early even if a serial console has been set up by the bootloader. To add insult to injury, the glass console isn't properly "detached" and the MI wsdisplay(4) driver continues to believe it is the console. This should really be fixed, but is a nasty can of worms. ok miod@
2013-05-12Handle big (a.k.a. >2TB) disks by adding logic to handle the 12 and 16Kenneth R Westerback
byte scsi read/write commands. Issue pointed out by John Morrissey via bugs@. Problem reproduced and fix tested by sf@ on vioblk. ok sf@ kettenis@
2013-05-12Take the kernel lock and call the actual interrupt handler from aMark Kettenis
single C function. Inspired by the change made to amd64/i386 by ratchov@.
2013-05-12fix use after free in case the mbuf needs defragmentationStefan Fritsch
This fixes a panic found by Matthieu Herrb. OK mikeb@
2013-05-12Take the kernel lock and call the actual interrupt handler from aAlexandre Ratchov
single c function. This will hopefully make easier to stop taking the kernel lock when running "mp safe" interrupt handlers. help from ok kettenis
2013-05-12Install and document the S-Records boot loader.Miod Vallat
2013-05-12S-Records boot code for mvme88k, finally. Allows a kernel to be loaded fromMiod Vallat
network, using either the on-board interface (on MVME187 and MVME197) or any MVME376. While there, add MVME376 support to netboot.
2013-05-12Lower heap location and load address by 1MB for the secondary boot loaders,Miod Vallat
to fit 8MB boards.
2013-05-12use -q options order as order of exposed midi portsAlexandre Ratchov
2013-05-12Fix reversed condition to check if a midi port is referenced,Alexandre Ratchov
causing sometimes the port to be closed prematurely
2013-05-12get NULL definition from stddef.hAlexandre Ratchov
2013-05-11remove some weird editing blip;Jason McIntyre
2013-05-11Another small tweak to get things close to Linux.Mark Kettenis
2013-05-11whitespaceMark Kettenis
2013-05-11Remove some #ifdef 0'd code that we're never going to use again.Mark Kettenis
2013-05-11change mrt rib dump ReopenTimerInterval from time_t to int. IntervallsSebastian Benoit
don't need to scale to 64 bits in this universe. ok claudio@ & florian@
2013-05-11add a CAVEATS entry relating to trunk(4)'s handling of MTUs, ok jmc@Stuart Henderson
2013-05-11Set trunk(4)'s MTU to that of the first trunkport. Allows trunk to work withStuart Henderson
jumbo/baby-jumbo frames. To avoid problems with mismatches between trunkports, any additional ports must have the same MTU as already set on the trunk(4). Based on changes made in FreeBSD. Tested by myself and jj@, ok reyk@