christos
5c5210c091
Like the non-host mkdep don't print ./foo.h as a dependency, but simplify
...
it to foo.h. This was causing problems with:
.y.h: ${.TARGET:.h=.c}
where .h was ./cgram.h and the source became ./cgram.c confusing for example
/usr/src/tools/lint1 because make had both cgram.c and ./cgram.c in the list
of sources, trying to build both of them in parallel thinking that they were
different files. Since the regular mkdep does not produce such dependencies,
the regular build does not suffer from this issue.
2015-05-12 00:04:34 +00:00
msaitoh
24497ad5c7
Use roundup2() and uintptr_t. Adviced by riastradh@.
2015-05-12 00:00:35 +00:00
matt
5a05d0f792
Make sure nptes is a multiple of PAGE_SIZE / L2_S_SIZE.
2015-05-11 22:28:22 +00:00
jmcneill
8300b51deb
add ath@pci (mini-PCIe expansion slot)
2015-05-11 21:46:50 +00:00
martin
b0b97e486a
acorn26 probably was not meant to use the arm32 genassym
2015-05-11 21:26:41 +00:00
martin
840d8b9a07
Missed a few more "yesno" in previous
2015-05-11 21:07:56 +00:00
christos
2a8cfbd271
one t in literal.
2015-05-11 19:37:51 +00:00
christos
14963fec7c
add new lint test.
2015-05-11 17:22:37 +00:00
christos
94ac2a41a2
add one more test
2015-05-11 17:21:32 +00:00
christos
cd5bb2fe49
handle compound literals with a trailing comma
2015-05-11 17:20:06 +00:00
christos
272b1fe359
Don't treat NUL (EOF) as SPACE. All the code that uses _PROP_ISSPACE() checks
...
explicitly for _PROP_EOF() anyway, and this can be abused to cause run beyond
the end of buffer DoS (Mateusz Kocielski)
XXX: pullup-7
2015-05-11 16:50:35 +00:00
christos
ad3d79508d
Limit size of xml buffer for userland requests (From Mateusz Kocielski)
...
XXX: pullup-7
2015-05-11 16:48:34 +00:00
martin
5270515f54
Make "ask_yesno" and "ask_noyes" take a const char * as argument, moving
...
the deconst() dance into the utility functions and simplifying all callers.
2015-05-11 13:07:57 +00:00
martin
f92de306f4
More (ab-)usages of "yesno"
2015-05-11 13:01:08 +00:00
martin
cc33bc91e6
Remove a few more (ab-)usages of "yesno".
2015-05-11 12:57:55 +00:00
msaitoh
cd0f0f4c9e
regen.
2015-05-11 10:43:10 +00:00
msaitoh
47817f48bd
Add Samsung SM951.
2015-05-11 10:42:00 +00:00
pgoyette
0caf2564d1
Fix the #ifdef _MODULE stuff so that the syscall packages and sysctl stuff
...
gets handled properly even in built-in module case.
XXX
Whatever was I thinking when I put those conditionals in? And wouldn't it
be a wonderful thing to have some atf regression tests to actually catch
errors in the compat{,_sysv} modules? :)
2015-05-11 10:32:13 +00:00
msaitoh
b7e9b85478
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
2015-05-11 08:24:50 +00:00
martin
a83f4e2ce4
Make it compile on architectures that do not support INET6 in sysinst
2015-05-11 06:58:13 +00:00
skrll
8e91d9b041
Remove '\n' from panic message.
2015-05-11 06:44:36 +00:00
hsuenaga
afdcc548f3
add MARVELL Armada XP MV78260 B0(rev.2)
...
recent OpenBlocks AX3 uses it.
2015-05-11 05:49:48 +00:00
pgoyette
2d1ae66403
Additional commentary for where other duplicate entries might need to
...
be made (amd64-xen, i386-xen, and i386-xen-pae).
2015-05-11 01:05:16 +00:00
jmcneill
60e61de69c
remove debug printf
2015-05-10 23:56:21 +00:00
jmcneill
3bc45873a8
add tegrai2c (I2C[12345]) and seeprom on I2C1
2015-05-10 23:51:08 +00:00
jmcneill
520aad9552
Tegra I2C driver
2015-05-10 23:50:21 +00:00
jmcneill
987ded3f77
Many I2C drivers hold spin locks between iic_acquire_bus / iic_release_bus.
...
Avoid sleeping while owning the I2C bus.
2015-05-10 22:54:06 +00:00
mlelstv
dfeac6dbe6
Don't report EINVAL errors when searching the bootwedge, this error
...
is most likely the result of reading beyond the end of the wrong disk.
2015-05-10 22:21:38 +00:00
mlelstv
ef0ab974cd
If BTINFO_ROOTDEVICE is set but isn't a device name, then treat it
...
as a root specification. This allows strings like wedge:wedgename.
2015-05-10 22:18:58 +00:00
joerg
66e60a49ac
Include printf by default even for SMALL builds. It is used e.g. by
...
dhcpcd and as such required by most ramdisk images. Allow turning it off
again by TINYPROG.
2015-05-10 20:30:54 +00:00
rtr
a05061a0c1
mtod mbuf to sockaddr * for so_send().
2015-05-10 18:55:22 +00:00
jmcneill
5fce422d60
Tegra SATA ungating support
2015-05-10 15:31:48 +00:00
christos
3af9216dd2
CID 976256: Help coverity understand that when the list is empty the head
...
is NULL.
2015-05-10 14:08:54 +00:00
christos
524046d70c
PR/975220: Check return of kthread_create
2015-05-10 14:05:22 +00:00
christos
65bd814e25
CID 274829: Check error from fd_getfile to avoid NULL deref immediately
...
after.
2015-05-10 14:00:42 +00:00
jmcneill
23bcc13e35
half-attached sdhc breaks reset for some reason, so disable eMMC until we fix it
2015-05-10 13:24:11 +00:00
jmcneill
41f97c365d
correct CAR_PLLX_MISC_REG value
2015-05-10 11:12:07 +00:00
jmcneill
84ff9bb7c1
Tegra HD audio support (untested as it is for HDMI output)
2015-05-10 11:04:59 +00:00
martin
e21052b4e5
Backout the previous incorrect fix for PR 49440 and redo it more globaly:
...
get rid of the global "yesno", introduce utility functions "ask_yesno()"
and "ask_noyes()" instead, greatly simplifying a lot of code.
Pass in a pointer to the return value to various "set source" menus.
2015-05-10 10:14:02 +00:00
martin
b3b23df81a
Sort DBG vs CPPFLAGS in the DEBUG case, as requested by Christos
2015-05-10 09:13:15 +00:00
pgoyette
5608b80ca0
Regen for changes related to separation of compat_sysv syscalls into a
...
separate module.
2015-05-10 08:13:41 +00:00
pgoyette
fb37507887
Update sets lists for new compat_sysv module.
2015-05-10 07:50:31 +00:00
pgoyette
ff00f0b594
Split the SYSV* compat code out into a separate compat_sysv module.
...
For monolithic kernels, both modules will be compiled as "built-ins",
while modular environments will be able to load the SYSVSEM, SYSVSHM,
and SYSVMSG code independant from the rest of compat.
This is a necessary precursor step to making the "STD" SYSV* code
into a separate module.
Tested in both monolithic and modular environments with no errors
seen.
2015-05-10 07:41:15 +00:00
matt
5963c77816
mips doesn't do a.out and never has.
2015-05-10 06:33:28 +00:00
dholland
5a52d2d51f
Remove pointless casts.
2015-05-09 23:29:51 +00:00
dholland
90a10bbb8a
Make error() printflike instead of using sprintf before calling it.
2015-05-09 23:28:43 +00:00
dholland
98fbb52a77
Use proper (enough) parentheses in macro expansion.
2015-05-09 23:19:34 +00:00
dholland
86f52a859f
Use errx when malloc fails, and also don't cast the return value of
...
malloc/realloc.
2015-05-09 23:16:51 +00:00
dholland
d4e3de0b16
one crash -> errx Christos missed
2015-05-09 23:14:22 +00:00
dholland
ceecfabaa7
Polish the error messages.
...
Don't use warn/err to print error messages about the input, as
prepending the program name to those both isn't helpful and confuses
programs that try to parse compile logs.
2015-05-09 23:12:57 +00:00