dholland
16c47bfce7
Typo. Reported by I-forget-who-but-they'd-probably-rather-not-be-credited,
...
during the -6 freeze, and then forgotten until now.
2012-06-19 04:59:19 +00:00
martin
3183166c6c
When issuing a non-dma command, make sure to set the "remaining length of
...
command to be transfered via dma" (sc_cmdlen) to zero upfront, otherwise we
might get confused on command completition interrupt (no dma active but still
data left to transfer).
2012-06-18 21:23:56 +00:00
tron
dd5f61399d
Fix broken IPv6 support. My Mac OS X Lion NFS client now happily
...
talks to my NetBSD 6.0_BETA2 NFS server over IPv6.
2012-06-18 20:30:32 +00:00
christos
dafeb4b2c4
don't call isatty() to the fd before opening it.
2012-06-18 19:17:42 +00:00
joerg
ed93f0e8ac
Update to r158657, which actually has the fix for LVM's uninitialised
...
memory warning.
2012-06-18 15:53:22 +00:00
dsl
bc1656d830
Missed one of the (void *) casts on the args to sysctl_createv().
2012-06-18 06:21:11 +00:00
kiyohara
9aa0a3c613
Fix build failed. s/consinit()/consinit(void)/.
2012-06-18 01:40:55 +00:00
uwe
e431c4fada
Switch sh3 ports to our own csu (USE_COMPILERCRTSTUFF?= no).
2012-06-17 22:59:48 +00:00
wiz
123b56dc76
Initialize two variables for clang.
2012-06-17 20:48:27 +00:00
joerg
50ef070586
Start adding build glue for ASAN parts of compiler-rt.
...
Still missing the platform specific parts.
2012-06-17 18:48:46 +00:00
joerg
42942c4c6c
Update to LLVM/Clang snapshot r158648 to the fix a false warning in LVM.
...
Add build glue for compiler_rt.
2012-06-17 16:51:31 +00:00
chs
bb833a1164
when freeing the DRM_SHM kernel memory that can be mapped by a user process,
...
remove any user mappings before freeing the memory, so that a user process
doesn't have still have access to that physical memory after it's reused.
this really shouldn't be using kernel malloc'd memory at all,
but changing that would be much more involved.
2012-06-17 15:15:34 +00:00
joerg
ce1e6472fd
Including bsd.own.mk twice in a row is a bit too much
2012-06-17 15:12:13 +00:00
martin
3bcdf0bd06
Add support for ext2fs to i386/amd64 ramdisks.
...
This is usefull for setup with various xen hosting providers.
Prompted by Blair Sadewitz.
2012-06-17 14:59:15 +00:00
martin
4d5a9c43e0
Apply upstream revision 175141: setjmp vs. unchanged register values;
...
should fix PR toolchain/45837.
2012-06-17 13:43:30 +00:00
manu
f8e3cc05a1
Fix off-by-one in hexdump display (getextattr -x), which displayed a
...
trailing garbage byte.
2012-06-17 08:09:29 +00:00
joerg
062cd24989
Fix version string returned by clang --version.
...
Integrate the in-tree config file generation with the cross-building
toolchain. Regenerate the files.
Keep version numbers all in one place.
2012-06-17 07:40:25 +00:00
christos
e11304f45e
PR/46608: Jim Bernard: Add xz conversion "X"
2012-06-17 03:52:32 +00:00
isaki
b1d94e60d6
Remove unnecessary checkyesno which I commited before.
...
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
Should be pulled up to netbsd-6.
2012-06-17 02:13:13 +00:00
dsl
c72955ee27
memseg_baseaddr() is only called from valid_user_selector() and
...
both only locally.
Make static, remove one of the functions, and remove the never-set args.
Code is still very dubious.
2012-06-16 20:47:04 +00:00
dsl
a25c7cabfc
Add explicit (void *) casts for when sysctl_createv() is passed
...
CTLTYPE_INT but the address of a structure (and a function).
2012-06-16 19:54:01 +00:00
joerg
c91e3eb75b
Unbreak compat.
2012-06-16 19:19:14 +00:00
joerg
ee99db43bc
Allow USE_COMPILERCRTSTUFF=yes for platforms that use MACHINE_CPU !=
...
MACHINE_ARCH.
2012-06-16 18:19:39 +00:00
chs
22738551d6
reduce diff to freebsd:
...
rename "xcpu" back to "cpu" now that the conflicting global variable
has been renamed out of the way. this also fixes some cases
where references to the local variable "cpu" had not been renamed
and thus were accidentally referring to the former global "cpu".
2012-06-16 17:31:47 +00:00
chs
4eb0eda427
rename the global variable "cpu" to "cputype" to avoid conflicting with
...
dtrace, which wants to use "cpu" as a local variable.
2012-06-16 17:30:18 +00:00
joerg
8df5dadc39
Don't bail out on unused private fields.
2012-06-16 17:02:33 +00:00
joerg
c9196b81ce
Update LLVM/Clang snapshot to r158533. This brings in support for
...
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
joerg
80d74bd7f8
Annotate tautological if, so that clang doesn't warn about the dt usage
...
later on.
2012-06-16 16:42:26 +00:00
nonaka
b26cf6f64c
urtw(4) and urtwn(4) first appeared in NetBSD 6.0.
2012-06-16 14:38:54 +00:00
kiyohara
fbd7a1ab43
Add '\n' to revision string.
2012-06-16 05:58:03 +00:00
christos
b416920400
remove error(1) output
2012-06-16 01:34:10 +00:00
christos
55cd49b90e
make this compile again.
2012-06-16 01:31:33 +00:00
rmind
7a3e0c216a
- Rework NPF NAT syntax to be more structured and support future additions
...
of different types and configurations of NAT.
- npfctl: improve disassemble and show-config command functionality.
- Fix custom ICMP code and type filtering.
2012-06-15 23:24:08 +00:00
joerg
56f9c3c6bd
Don't use an empty body on the same line for the for loop.
2012-06-15 23:01:16 +00:00
joerg
4b586f4e8b
Assert that out_hr is not NULL in hfslib_read_header_node
2012-06-15 21:59:39 +00:00
joerg
f6791aad72
Simplify ERR, so that it doesn't mess up Clang's
...
-Wsometimes-uninitialized scan on the function. This is tracked in LLVM
as http://llvm.org/bugs/show_bug.cgi?id=13093 .
2012-06-15 19:54:21 +00:00
joerg
74a7f3e6f2
Do not mark pthread_cond_timedwait explicitly as inlineable, since it
...
calls pthread__self, which is static.
2012-06-15 19:20:44 +00:00
yamt
9700738834
whitespace
2012-06-15 14:23:46 +00:00
yamt
42b4b1a980
update a comment
2012-06-15 14:09:26 +00:00
yamt
f120cbc6a9
comment
2012-06-15 14:07:44 +00:00
yamt
c6f15cd7fe
assertions. use a macro. no functional changes.
2012-06-15 14:02:41 +00:00
yamt
ea49698def
comment
2012-06-15 13:58:34 +00:00
yamt
09d05f28e5
comments
2012-06-15 13:57:59 +00:00
yamt
e5b5bd7898
comment
2012-06-15 13:55:22 +00:00
yamt
c7b1cf3811
emap: reduce the number of atomic ops.
2012-06-15 13:53:40 +00:00
yamt
f562b34504
comments and assertions.
...
no functional changes.
2012-06-15 13:51:40 +00:00
joerg
403de81b16
Remove unused fields
2012-06-15 10:51:25 +00:00
martin
18118f60c8
Do not try to find the wedge we booted from if opendisk(booted_device)
...
failed.
2012-06-14 20:18:16 +00:00
joerg
0adfd5e0b3
Make sure temp_path is always initialised, even if mklocal fails.
...
Make sure to restore localvars, even if possibly leaking memory.
Discussed with christos@
2012-06-14 18:56:54 +00:00
bouyer
c3ff6f17e5
Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
...
only by accident. PR kern/46592.
2012-06-14 17:47:58 +00:00