mrg
1f2cedecc1
add support for GCC 4.8 sets.
2013-11-01 07:48:31 +00:00
mrg
f418301d8c
add some NetBSD_DISABLED_* rules.
2013-11-01 06:43:11 +00:00
mrg
7ba5ff78a9
move variable definition/set inside the same #ifdef of the usage.
2013-11-01 06:42:23 +00:00
mrg
c77065c11b
apply __diagused where appropriate.
2013-11-01 06:41:56 +00:00
mrg
76122a21da
sprinkle some __diagused where appropriate.
2013-11-01 06:22:46 +00:00
apb
f644e87962
Reinstate .include <bsd.own.mk>. Without this, many variables are undefined.
...
Define DISTRIBVER in the same way that src/etc/Makefile defines it.
Without this, "make params" in src/Makefile uses an undefined value.
Remove a spurious ">&3".
2013-11-01 06:22:24 +00:00
christos
6de650fa02
provide an ldscript for booters that strips the unwind sections.
...
XXX: untested
2013-11-01 00:19:04 +00:00
christos
89392a8d06
provide an ldscript to strip the unwind sections
...
XXX: untested
2013-11-01 00:18:24 +00:00
christos
ddd5644b2e
Handle new objc for gcc-4.8.1. Someone with more objc foo can do this better.
2013-10-31 21:02:11 +00:00
christos
c4b3b5ae3a
avoid pointer aliasing problems.
2013-10-31 20:31:04 +00:00
christos
79581a2559
Handle more than gcc 4.5
2013-10-31 17:28:10 +00:00
mbalmer
ceb424979d
fix build on arm
2013-10-31 16:50:14 +00:00
apb
c2ebc84464
Add a reference to secmodel_extensions(9), to make it a little easier to
...
figure out how to enable mounts for unprivileged users. (Why don't we
just explain vfs.generic.usermount in the mount(8) man page?)
Also add another example of different ways in which the "special"
argument is interpreted by different file systems: mount_tmpfs(8)
ignores it.
2013-10-31 07:37:06 +00:00
msaitoh
263db65164
Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD (part of r199670).
...
This workaround is for 5714/5715 controllers and is not actually a MAC
controller bug but an issue with the embedded PCIe to PCI-X bridge in the
device.
This change uses bus_dmatag_subregion(), so this workaround won't work on some
archs which doesn't support bus_dmatag_subregion().
2013-10-31 06:01:39 +00:00
msaitoh
0c2f7a3b5c
Cleanup flag setting. No functional change.
...
- Split flags into bge_flags and bge_phy_flags.
- Rename flags. PHY related flags are prefixed with BGEPHYF_*.
Other flags are prefixed with BGEF_*.
2013-10-31 04:26:40 +00:00
mrg
94542b393a
create mkdep output with a temporary file so that failures in
...
complation during .d creation don't leave an empty (stale) .d
file around to break future builds.
(hmm, probably could use .PRECIOUS here.)
2013-10-31 01:55:03 +00:00
rmind
f8abe6cb77
tmpfs_alloc_node: it is less error-prone to store the link path with
...
the NIL terminator included. Adjust tmpfs_readlink() to exclude NIL.
Also, remove the check for zero-length and add some asserts.
2013-10-31 00:59:17 +00:00
wiz
acfbbe39c1
Try improving the description.
2013-10-31 00:30:14 +00:00
joerg
1e90a44d68
Preserve NetBSD version from the ABI tag for compat use.
2013-10-30 23:32:30 +00:00
joerg
6808667375
Update LLVM/Clang snapshot to r193633. Fixes an old and somewhat amusing
...
bug involving a source file foo.c, a function foo and a static
function-local variable c in the direct object writer.
2013-10-30 20:27:39 +00:00
drochner
7ab7c82097
play the addref/delref game on suspend, prevents crash if the disk/CF Card
...
is eg. in a PCMCIA adapter and not mounted
2013-10-30 15:41:14 +00:00
drochner
958a129dbd
-recognize CF cards by the magic value in inquiry data
...
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
that it exists
2013-10-30 15:37:49 +00:00
apb
77d5075faf
In "make sortlists", if the file was already sorted then don't
...
change its timestamp.
2013-10-30 15:17:01 +00:00
apb
b56cbda8ef
Instead of stupid postprocessor tricks, use redirect tricks
...
to ensure that the output from ${PRINT_PARAMS} contains only
the desired information without any debugging noise.
2013-10-30 15:15:12 +00:00
christos
f2361eace1
Ignore SIGPIPE; this is silly, we are getting EOF from a client, then while
...
processing the error SIGPIPE comes because the client closed the connection,
and then we end up calling error() while processing the error which prints
silly messages on the console because it logs with LOG_EMERG.
2013-10-30 14:25:47 +00:00
pooka
d3852222c9
Oh, stdint.h isn't written with a comma ...
2013-10-30 13:08:14 +00:00
pooka
e5aed19d72
need to include stdint.h before rump/rumpuser.h
2013-10-30 12:55:53 +00:00
pooka
079cd2100d
glibc on MIPS uses the same DYN d_ptr variant as NetBSD and musl.
...
from Justin Cormack
2013-10-30 12:30:32 +00:00
mrg
02f2d66aa1
mark rump's CPU_INFO_ITERATOR as being __unused.
2013-10-30 08:42:45 +00:00
mrg
ea1cef97af
avoid uninitialised variable use.
2013-10-30 08:42:16 +00:00
mrg
ef05d8864c
ensure variables are initialised
2013-10-30 08:41:57 +00:00
mrg
4cf2909a7b
used __diagused where appropriate.
2013-10-30 08:41:38 +00:00
gson
69b89ed80e
Fix incorrect function names in panic message strings.
2013-10-30 08:40:32 +00:00
mrg
82ccf86971
remove unused variables
2013-10-30 08:39:01 +00:00
mrg
5a3d1851d6
#ifdef a variable decl/setting with it's use.
2013-10-30 08:38:40 +00:00
mrg
cb7e28b713
use __diagused where appropriate.
2013-10-30 08:27:01 +00:00
uebayasi
8415bb8191
G/C struct user *proc0paddr.
2013-10-30 06:47:18 +00:00
msaitoh
06a7717d3b
Remove extra period.
2013-10-30 04:16:44 +00:00
mrg
fc332e835a
add ./usr/include/gcc-4.8 directory to the build.
2013-10-30 02:22:51 +00:00
mbalmer
3507fff037
add lua(4) related modules
2013-10-29 20:11:52 +00:00
mbalmer
d755127cb1
include sys/condvar.h
2013-10-29 17:35:40 +00:00
mbalmer
3b5eeb2ba0
initialize variables
2013-10-29 17:35:04 +00:00
rmind
ace4567cf1
npf_session_setnat: fix the race condition when the old connection is still
...
being expired while a new/duplicate is being created.
2013-10-29 16:39:10 +00:00
pooka
08030c27cb
Add MIPS. Requested by Justin Cormack.
2013-10-29 16:19:28 +00:00
pooka
f04b573a14
Maintain arch list in a separate variable.
...
no functional change
2013-10-29 16:18:42 +00:00
joerg
3292fd4145
Unbreak src/tools usage of C++.
2013-10-29 16:11:46 +00:00
joerg
6cfd1a95ed
Mark usage as dead.
2013-10-29 16:11:15 +00:00
joerg
7f2bf59542
Remove bogus cast. The LHS type is smaller, so let the compiler decide
...
on the correct (unsigned type).
2013-10-29 16:10:49 +00:00
christos
4a734be04d
PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
...
XXX: still flock -s 0 fails with EINVAL, why?
2013-10-29 16:02:15 +00:00
njoly
9d2c3170bc
Small typo. From Michael W. Bombardieri.
2013-10-29 12:27:23 +00:00