summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-04Add ARM EABI aliases and remove functions that are also provided by our libc.Mark Kettenis
This allows linking code compiled by clang with the gcc compiler driver and makes sure we always use the softfloat implementation in libc. The libc softfloat implementation is preferred over the one in libgcc as it implements rounding modes and floating point exceptions. ok patrick@
2018-01-04Back out sign compare changes that appear to cause problems on hppa.Todd C. Miller
Requested by deraadt@
2018-01-04Comments and grammar use '_decl' so use _decl instead of _declarationKenneth R Westerback
in the names of the respective parsing functions.
2018-01-04glaring KNF violationTheo de Raadt
2018-01-04Address TOCTOU issue with checking to ensure disks are regular files.ccardenas
Reported by jca@. Ok mlarkin@ and deraadt@
2009-10-15import of gcc-4.2.1, the last gcc release under GPLv2Robert Nagy
2018-01-04Implement support for calling EFI runtime services and use it to implementMark Kettenis
a time-of-day clock device based on the GetTime() and SetTime() services. The virtual memory mappings for the runtime services calls are implemented through a separate pmap that is only activated when we make a runtime services call. ok tom@, visa@ tested by naddy@
2018-01-04space -> tabMartin Pieuchot
No object change.
2018-01-04Unify <machine/mutex.h> a bit further.Martin Pieuchot
Remove `mtx_lock' from i386, add volatile before `mtx_owner' where it was missing. Inputs from kettenis@, ok visa@
2018-01-04Back out tx mitigation again because it breaks suspend and resume atTheo Buehler
least on x230 and x240. Problem noted by claudio on icb. ok dlg
2018-01-04Do a FREF/FRELE dance after calling fd_getfile().Martin Pieuchot
This should be enought to prevent `fp' to disapear while sleeping in malloc(9). ok helg@
2018-01-04Include timeout & tasks in 'struct ifnet' instead of always allocatingMartin Pieuchot
them as M_TEMP. ok visa@
2018-01-04Unifdef snd/rcv.Martin Pieuchot
ok visa@, claudio@
2018-01-04parse_lease_time() is an unnecessary abstraction. Just useKenneth R Westerback
parse_number('L') since it is parsing unsigned 32bit integers.
2018-01-04We only parse decimal numbers, so parse_decimal() -> parse_number() toKenneth R Westerback
match grammar comments and improve euphony.
2018-01-04remove support for decapsulating LLC/SNAP frames.David Gwynne
the code was broken and noone noticed. this argues that we don't need it. ok mpi@
2018-01-03syncTheo de Raadt
2018-01-03rework __swapXX to avoid the use of __statement.David Gwynne
the primary motivation of this was to allow the use of things like htons() and htole16() as case labels. previously gcc would vomit with "expression is not an integer constant expression" if you tried that. ok guenther@
2018-01-03assign 1 instead of the result of htole16(1) to a uint8_t.David Gwynne
on big endian archs the 1 is shifted to the high byte, which then gets lost when it's assigned to the uint8_t. at worst we lose the value, at best the compiler has a teary and fixes it. this is the fix for a compiler teary. ok claudio@
2018-01-03Since the PCI attachment code already uses mbufs for RX packets, we canPatrick Wildt
push the mbuf allocation down into the USB attachment code and now pass an mbuf to the bwfm(4) receive function.
2018-01-03Instead of adding each and every clock to the list of clocks that are enabledMark Kettenis
by default, simply assume they are. But do check for this when we attach.
2018-01-03Add ASMedia ASM1061 SATA to the list of devices as it is an AHCI controllerMark Kettenis
but doesn't advertise itself as such. ok dlg@, jmatthew@
2018-01-03Add support for IPv6 over MPLS pseudowire aka mpw(4)denis
OK claudio@ jca@
2018-01-03Stop "dd if=/dev/zero of=/dev/null bs=1 count=2 skip=0x7fffffffffffffff"Ingo Schwarze
from erroring out with "dd: skip: Undefined error: 0", mostly for consistency and to avoid the unidiomatic, wrong looking code. Patch from Bulat Musin <mbulatka at yandex dot ru>. OK guenther@ millert@
2018-01-03Use crypt_checkpass(3) instead of crypt(3).Sunil Nimmagadda
Based on a diff from Edgar Pettijohn. Ok gilles@ eric@
2018-01-03Always present the same question at the end of installs or upgrades.Robert Peichaer
Offer to exit to shell, halt or reboot the system, where 'reboot' is the default answer. Change default answer to 'halt' for installs if MDHALT is set to 'y'. suggested by landry@ OK halex@
2018-01-03Add size for free(9) in the bwfm(4) PCI attachment code.Patrick Wildt
From Michael W. Bombardieri
2018-01-03Include https:// in links, so HTML output doesn't assume they're relative.Anthony J. Bentley
ok jmc@ schwarze@
2018-01-03pretty up the "start" command;Jason McIntyre
2018-01-03fix SEE ALSO;Jason McIntyre
2018-01-03remove __swap16_multi because endian.h provides swap16_multi without itDavid Gwynne
ok guenther@
2018-01-03Add initial CD-ROM support to VMD via vioscsi.ccardenas
* Adds 'cdrom' keyword to vm.conf(5) and '-r' to vmctl(8) * Support various sized ISOs (Limitation of 4G ISOs on Linux guests) * Known working guests: OpenBSD (primary), Alpine Linux (primary), CentOS 6 (secondary), Ubuntu 17.10 (secondary). NOTE: Secondary indicates some issue(s) preventing full/reliable functionality outside the scope of the vioscsi work. * If the attached disks are non-bootable (i.e. empty), SeaBIOS (vmd's default BIOS) will boot from CD-ROM. ok mlarkin@, jca@
2018-01-03Add remap_bynode() since I use it in the rkpcie(4) implementation.Mark Kettenis
2018-01-02rkpcie(4)Mark Kettenis
2018-01-02Enable rkpcie(4).Mark Kettenis
2018-01-02Initial stab at a driver for the PCIe interface on the Rockhip RK3399. ForMark Kettenis
now it cheats when setting up an interrupt handler. This cheat only works because it currently effectively only supports a single device. But the cheat works well enough to support the Firefly SATA adapter board.
2018-01-02regenMark Kettenis
2018-01-02Add Rockchip vendor and RK3399 Root Complex device.Mark Kettenis
2018-01-02we haven't updated the version in a while despite many commits which isGilles Chehade
confusing for people running the portable version
2018-01-02Add missing mouse type. Reported by bit shifter on misc@; ok bru@anton
2018-01-02Move the cloning bits in their own function.Martin Pieuchot
This will be needed to select the proper cloning route in a multipath scenario. While here remove a NET_ASSERT_LOCKED(), the routing table doesn't need the lock. ok dlg@
2018-01-02Do not memset() the whole structure in sorflush() to keep `sb_flagsintr'Martin Pieuchot
untouched. ok bluhm@, visa@
2018-01-02Move the NET_LOCK() inside the switch and start documenting which fieldMartin Pieuchot
is protected by which lock. ok bluhm@, visa@
2018-01-02some grammar fixes; from dholland@netbsd, -r1.68Jason McIntyre
2018-01-02update currency exchange rates;Jason McIntyre
2018-01-02reintroduce tx mitigationDavid Gwynne
to quote the previous commit: > this replaces ifq_start with code that waits until at least 4 packets > have been queued on the ifq before calling the drivers start routine. > if less than 4 packets get queued, the start routine is called from > a task in a softnet tq. > > 4 packets was chosen this time based on testing sephe did in dfly > which showed no real improvement when bundling more packets. hrvoje > popovski tested this on several nics and found an improvement of > 10 to 20 percent when forwarding across the board. > > because some of the ifq's work could be sitting on a softnet tq, > ifq_barrier now calls taskq_barrier to guarantee any work that was > pending there has finished. > > ok mpi@ visa@ this was backed out because of a race in the net80211 stack that anton@ hit. mpi@ committed a workaround for it in revision 1.30 of src/sys/net80211/ieee80211_pae_output.c. im putting this in again so we can see what breaks next.
2018-01-02When invoked with no file arguments, display usage and fail instead ofPhilip Guenther
silently doing nothing. suggested by Klemens Nanni (kl3 (at) posteo.org), from FreeBSD r92772 ok millert@
2018-01-02Don't #include fcntl.h when _KERNEL is defined.Philip Guenther
inspired by FreeBSD r24131 ok millert@ sthen@
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
ok millert@ sthen@
2018-01-02Fix an off-by-one in the free(9) "passed size was too small" check:Philip Guenther
if the size passed is exactly half the size of the bucket that the allocation was actually from, then it was incorrect. problem noted by florian@ ok florian@ visa@