Hans Petter Selasky
2ce0e01dba
Import ugold driver from OpenBSD supporting digital USB temperature
...
meters. The driver is currently not part of the default kernel build.
Obtained from: OpenBSD
MFC after: 2 weeks
2015-06-11 15:23:47 +00:00
Marcel Moolenaar
c9f3108294
Update tests after sizing changes to the fixed VHD format.
2015-06-11 15:19:59 +00:00
Marcel Moolenaar
f863f42be3
Handle the case in which ncyls is 0.
...
While here, update copyright.
2015-06-11 15:18:54 +00:00
Marcel Moolenaar
2697d1ee89
For the fixed VHD format, round the raw image size to the next
...
multiple of the cylinder size. This is what qemu-img seems to
be doing. Make sure to handle boundary cases where increasing
the image size by 1 cyclinder's worth would also result in a
change of geometry.
2015-06-11 14:30:31 +00:00
Simon J. Gerraty
728d82cdd2
Use INCLUDEDIR rather than hard coded /usr/include
...
Differential Revision: D2748
Reviewed by: brooks imp
2015-06-11 14:25:53 +00:00
Andrew Turner
86f5f2ed31
Pass the ACPI table pointer to the arm64 kernel from loader.efi.
...
Sponsored by: The FreeBSD Foundation
2015-06-11 14:02:23 +00:00
Andrew Turner
7061124034
Stop using VFP in pcpu.h when we mean ARMv6 and later.
2015-06-11 13:58:40 +00:00
Andrew Turner
4837ce7f8d
Fix the spelling of __ARM_ARCH >= 6 in sys/arm/arm.
2015-06-11 13:54:18 +00:00
Simon J. Gerraty
e5b44e3743
With MK_AUTO_OBJ=yes objdir is created during sys.mk
...
If a makefile sets NO_OBJ, we should honor that by setting
.OBJDIR back to .CURDIR
2015-06-11 13:53:15 +00:00
Simon J. Gerraty
92f755617b
For debugging we sometimes run makefiles forcing level > 0
...
Ensure setup that should have happened at level 0 is done.
2015-06-11 13:51:52 +00:00
Kristof Provost
837b925aba
pf: Save the protocol number in the pf_fragment
...
When we try to look up a pf_fragment with pf_find_fragment() we compare (see
pf_frag_compare()) addresses (and family), id but also protocol. We failed to
save the protocol to the pf_fragment in pf_fragcache(), resulting in failing
reassembly.
Differential Revision: https://reviews.freebsd.org/D2772
2015-06-11 13:26:16 +00:00
John-Mark Gurney
49672bcc54
drop key_sa_stir_iv as it isn't used...
...
Reviewed by: eri, ae
2015-06-11 13:05:37 +00:00
Ruslan Bukin
60ea724104
Consider sorting.
2015-06-11 13:00:20 +00:00
Ruslan Bukin
3f66bd5036
Split out db_unwind_frame() so it can be used by DTrace.
...
Sponsored by: ARM Ltd.
Differential Revision: https://reviews.freebsd.org/D2741
2015-06-11 12:47:13 +00:00
Konstantin Belousov
529c97886b
Tweaks for r284178:
...
Do not include machine/atomic.h explicitely, the header is already included
by sys/systm.h.
Force inlining of tc_getgen() and tc_setgen(). The functions are used
more than once, which causes compilers with non-aggressive inlining
policies to generate calls.
Suggested by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2015-06-11 04:41:54 +00:00
Simon J. Gerraty
5b381db8cc
Remove NO_OBJ
...
For meta mode we will want objdirs.
Differential Revision: D2748
Reviewed by: brooks imp
2015-06-11 04:22:17 +00:00
Simon J. Gerraty
128a410505
Merge bmake-20150606
...
Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.
2015-06-11 04:00:22 +00:00
Marcel Moolenaar
cc6064789f
Add accessor functions for iterating over segments. A segment
...
can be in bus address space, physical memory space or virtual
memory space.
2015-06-11 03:02:40 +00:00
Sean Bruno
a0be738b20
r284198 seems to have left a null format string printf that gcc does *not*
...
like breaking mips builds.
Submitted by: Shawn Webb <shawn.webb@hardenedbsd.org>
Obtained from: HardenedBSD
2015-06-11 02:29:39 +00:00
Marcelo Araujo
a7c4e991b8
Remove unnecessary variable and fix the usage of sysctl(3).
...
Differential Revision: D2733
Reviewed by: ngie, kib
2015-06-11 01:22:27 +00:00
Christian Brueffer
c06d629a24
Consistently use trailing whitespace in passphrase prompts.
...
PR: 193496
Submitted by: Fabian Keil
MFC after: 1 week
2015-06-11 00:24:33 +00:00
Christian Brueffer
6b3027cb42
Correct Hawaii's admission day.
...
PR: 192651
MFC after: 1 week
2015-06-11 00:12:33 +00:00
Rui Paulo
d2f56f2e3d
ichsmb: add Intel Wellsburg device ID.
...
Submitted by: Michael Allen <mallen pi-coral.com>
MFC after: 1 week
Sponsored by: Pi-Coral, Inc.
2015-06-10 22:39:10 +00:00
Rui Paulo
e505494683
ichsmb: remove whitespace.
2015-06-10 22:37:09 +00:00
Marcel Moolenaar
90a1793cce
Load the allocated memory and return both the physical
...
address and the bus address to the application.
2015-06-10 22:33:56 +00:00
Julien Charbon
cad814eedf
Fix a callout race condition introduced in TCP timers callouts with r281599.
...
In TCP timer context, it is not enough to check callout_stop() return value
to decide if a callout is still running or not, previous callout_reset()
return values have also to be checked.
Differential Revision: https://reviews.freebsd.org/D2763
Reviewed by: hiren
Approved by: hiren
MFC after: 1 day
Sponsored by: Verisign, Inc.
2015-06-10 20:43:07 +00:00
Simon J. Gerraty
c86c1f1254
bmake-20150606
2015-06-10 20:10:48 +00:00
Simon J. Gerraty
de1eae5ccb
Explain why NO_BEFOREBUILD_INCLUDES is needed
2015-06-10 19:51:35 +00:00
Simon J. Gerraty
a5f6297b63
Explain why NO_BEFOREBUILD_INCLUDES is needed
2015-06-10 19:48:45 +00:00
Simon J. Gerraty
10b60135a9
Mention what 'common' is for
2015-06-10 19:36:53 +00:00
Simon J. Gerraty
dccf7cedd2
combine two comments
2015-06-10 19:31:10 +00:00
Simon J. Gerraty
940a3032cb
Explain in a nutshell why we destroy
2015-06-10 19:26:49 +00:00
Xin LI
5f0216bd88
MFV r284234:
...
Update file to 5.23.
MFC after: 2 weeks
2015-06-10 19:22:41 +00:00
Xin LI
76c08169d4
Vendor import of file 5.23.
2015-06-10 19:06:05 +00:00
Mateusz Guzik
fcf4d36e25
Bump FreeBSD_version due to lim_* API changes in r284215
2015-06-10 19:00:54 +00:00
Simon J. Gerraty
f5374544f1
Building on fmake is no longer possible so removed tests for bmake.
2015-06-10 18:14:38 +00:00
Simon J. Gerraty
4cc6b8394f
If MK_AUTO_OBJ==yes, it is done before bsd.obj.mk included
2015-06-10 18:09:05 +00:00
Hajimu UMEMOTO
0df21fef2d
Add support for '_' occurring at the beginning or end of a name
...
component.
PR: 176093
Submitted by: landonf__at__bikemonkey.org
MFC after: 1 week
2015-06-10 16:15:22 +00:00
Marcel Moolenaar
c0027d73e2
Rename bus_space to bus (i.e. drop _space). This makes the
...
API match the convenience macros in <sys/bus.h>. Bus space
can now reference both bus and busdma.
2015-06-10 16:00:09 +00:00
Ruslan Bukin
4f4d15f0d0
Allow DTrace to be compiled-in to the kernel.
...
This will require for AArch64 as we dont have modules yet.
Sponsored by: HEIF5
Sponsored by: ARM Ltd.
Differential Revision: https://reviews.freebsd.org/D1997
2015-06-10 15:53:39 +00:00
Mateusz Guzik
6871c7c3f1
linux: make sure to grab all cow structs when creating a thread
...
This is a fixup for r284214.
Reported and tested by: Ivan Klymenko <fidaj ukr.net>
2015-06-10 15:34:43 +00:00
Brooks Davis
ebe071e56a
List kinfo_getfile.c only once.
...
MFC after: 3 days
Sponsored by: DARPA, AFRL
2015-06-10 15:07:13 +00:00
Simon J. Gerraty
b589e6297b
Remove extra blank lines
2015-06-10 14:08:36 +00:00
Simon J. Gerraty
8bbb3bbab5
Revert unneeded change
2015-06-10 13:57:11 +00:00
Kristof Provost
0b7eba6ad4
pf: address family must be set when creating a pf_fragment
...
Fix a panic when handling fragmented ip4 packets with 'drop-ovl' set.
In that scenario we take a different branch in pf_normalize_ip(), taking us to
pf_fragcache() (rather than pf_reassemble()). In pf_fragcache() we create a
pf_fragment, but do not set the address family. This leads to a panic when we
try to insert that into pf_frag_tree because pf_addr_cmp(), which is used to
compare the pf_fragments doesn't know what to do if the address family is not
set.
Simply ensure that the address family is set correctly (always AF_INET in this
path).
PR: 200330
Differential Revision: https://reviews.freebsd.org/D2769
Approved by: philip (mentor), gnn (mentor)
2015-06-10 13:44:04 +00:00
Marcel Moolenaar
2f0ae7721d
Fix build after converting ls(1) to use libxo(3).
2015-06-10 13:17:41 +00:00
Simon J. Gerraty
b56a78b69e
Let people use this with MAKEOBJDIRPREFIX if they really want to
2015-06-10 13:14:24 +00:00
Simon J. Gerraty
1fc3d968ac
Since sys.mk now handles META_MODE and META_FILES options
...
we need not worry about them here.
Checking for .PARSEDIR no longer needed.
2015-06-10 13:08:45 +00:00
Ruslan Bukin
3e0bfdd882
o Rework ARMv7 events list using aliases - same way as we have for arm64.
...
o Extend it with Cortex A9-specific events.
2015-06-10 12:42:30 +00:00
Mateusz Guzik
21de5aea6c
Fixup the build after r284215.
...
Submitted by: Ivan Klymenko <fidaj ukr.net> [slighly modified]
2015-06-10 12:39:01 +00:00