Commit Graph

233437 Commits

Author SHA1 Message Date
joerg f6072d060e Use reallocarr and simplify. Document valid reallocation failures. 2015-02-17 20:30:44 +00:00
joerg c9baa5968d Introduce reallocarr(3) for easy (re)allocation of memory with overflow
checks. Compared to OpenBSD's reallocarray, makes it easier to avoid memory
leaks on allocation failures and it doesn't depend on malloc(0) != NULL
for correct error checking. Compared to plain realloc, it also avoids
the problem of intermediate integer overflows. The trade-off is the use
of void * to side step C type system with regard to generic pointer to
pointer.
2015-02-17 20:29:20 +00:00
christos c4bbd62988 "something odd happens" is not a useful error message. 2015-02-17 15:14:28 +00:00
martin dfdb00a60a Make the dummy data that we expect to go into .data section bigger,
otherwise on e.g. alpha it goes into the "small objects data" .sdata
section, which confuses the matching done in this test.
2015-02-17 11:51:04 +00:00
macallan a3fb1dc4ea move DAC1 output channel to master so things like OSS and kmix work
as expected
2015-02-17 11:25:43 +00:00
msaitoh a9f6de8334 Print bit setting of bge_asf_mode if BGE_DEBUG is set. 2015-02-17 10:11:24 +00:00
macallan 2bded62014 do as others do and mmap() DMA buffers uncached if we get
BUS_DMA_PREFETCHABLE passed in flags
2015-02-17 09:58:33 +00:00
isaki b8d13981be m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.
2015-02-17 09:47:08 +00:00
nonaka e6864eda07 Add iwm(4). 2015-02-17 09:21:57 +00:00
nonaka 8472af7ed3 fix compile failure with IWM_DEBUG on i386. 2015-02-17 09:18:45 +00:00
nonaka 6e15a820ba Added Interrupt coalescing support. 2015-02-17 01:53:21 +00:00
skrll be476388f9 Bump memory disk size to fix build. 2015-02-16 22:50:02 +00:00
skrll 7db737a6a4 Bump size to fix build. 2015-02-16 21:48:48 +00:00
macallan 3ee6b07ade mmap() DMA buffers uncached if we know how.
From sgimips, needed for X on O2.
2015-02-16 14:10:00 +00:00
alnsn ca5348d86e Apply a bugfix from r282 http://sourceforge.net/p/sljit/code/282/.
The bug was originally reported by me in a newer upstream version.
American fuzzy lop rediscovered it for the version of sljit in the
NetBSD tree.
2015-02-16 13:33:24 +00:00
alnsn af6353ef19 Backport a new testcase from r282 (registers are renamed in the new version).
http://sourceforge.net/p/sljit/code/282/.
2015-02-16 13:30:15 +00:00
nonaka 5a796a06c4 whitespace 2015-02-16 13:22:19 +00:00
nonaka a5940a3297 Fix compile failure with clang.
Pointed out by Herbert J. Skuhra.
2015-02-16 13:16:00 +00:00
mrg c0a52feac5 fix the previous. bus_space_map() returns *zero* on success. 2015-02-16 12:17:57 +00:00
martin 45d3953c44 Remove debug printf 2015-02-16 10:49:39 +00:00
wiz bcb2129dc2 filesystem -> file system 2015-02-16 10:48:56 +00:00
wiz 8ca9874e72 Sort sections. 2015-02-16 10:48:50 +00:00
wiz 0c9e1ca798 Bump date for previous.
filesystem -> file system
2015-02-16 10:48:34 +00:00
hannken 8596fa407f Change union to vcache. Use address of the union node as key.
It would be better to use (uppervp, lowervp) as key, but either
may be NULL and may change any time.
2015-02-16 10:22:00 +00:00
hannken c20c5717d4 Add reference count to union node. 2015-02-16 10:21:25 +00:00
hannken 9c6a12fd82 Remove a superfluous vref(), VOP_CREATE() was changed to
keep dvp referenced and locked some time ago.
2015-02-16 10:20:57 +00:00
skrll 407b7af83b Re-enable CPI_IN_CKSUM now the bugs are fixed. 2015-02-16 10:19:29 +00:00
msaitoh 64f5a7b4d2 Fix a bug that the first access to NVM is failed on 8254[17] which use
SPI EEPROM. Observed on Dell PowerEdge [12]850. Thanks Tom Ivar Helbekkmo
for debugging.
2015-02-16 00:25:52 +00:00
christos 3d6eb1fc0f let's make this compile again. 2015-02-15 21:46:49 +00:00
msaitoh acd238710e - Initialize some hardware bits for 8257[1234], 82583, 80003, ICH* and PCH*.
Some of them are workaround code. From other *BSDs, Linux and documents.
- Add comment.
- Fix typo in comment.
2015-02-15 21:32:33 +00:00
msaitoh f9d029c060 regen. 2015-02-15 21:28:17 +00:00
msaitoh ab33f67112 Add some devices:
- Radeon HD 54xx Audio
- Dell DARC 4 devices
- Some Intel IOP332 devices
- Intel 63xxESB AC'97 Audio Controller
- Some Intel E7520 devices
2015-02-15 21:27:57 +00:00
manu 8abab6b782 Add PUFFS_KFLAG_NOFLUSH_META to prevent sending metadata flush to FUSE
FUSE filesystems do not expect to get metadata updates for [amc]time
and size, they updates the value on their own after operations.

The PUFFS PUFFS_KFLAG_NOFLUSH_META option prevents regular metadata cache
flushes to the filesystem , and libperfuse uses it to match Linux FUSE
behavior.

While there, fix a bug in SETATTR: do not update kernel metadata cache
from SETATTR reply when the request is asynchronous, as we do not have
the reply yet.
2015-02-15 20:21:29 +00:00
skrll f391dedeee Really fix arm_cksumdata for <4 bytes of data 2015-02-15 17:21:08 +00:00
jmcneill 481b9e731c At startup, instead of doing run-hooks for each device, call run-hooks
once with a list of all found devices. This lets us batch calls to MAKEDEV
which results in a noticeable improvement in Raspberry Pi boot time.

Run the initial device enumeration hooks before detaching from the foreground,
ensuring that any required devices have been created before the rc.d script
exits.
2015-02-15 15:56:30 +00:00
joerg 6214f5f4d1 Format string annotation. 2015-02-15 14:51:57 +00:00
maxv 12c9fae830 Revert a change in my previous commit that broke the checksum calculation.
Noted by dholland@
2015-02-15 11:04:43 +00:00
martin 906a6a13d7 A syscall like posix_fallocate() that is not supposed to set errno in
userland needs to always return 0 and store the error code *retval.
2015-02-15 10:48:21 +00:00
skrll ff958e114f port-sh3/49613: errno does not set by some systemcall at error case
Branch to correct point when error detected.
2015-02-15 10:48:13 +00:00
nakayama aaa0006cf5 Fix up sysmon_* dependencies. 2015-02-15 01:43:11 +00:00
justin a0e1fabf06 Minor fixes to types and includes 2015-02-15 00:54:32 +00:00
skrll 9c3600fc37 Correct arm_cksumdata for <4 bytes of data 2015-02-14 23:12:29 +00:00
alnsn 6d5b9045a5 Add two more libbpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:40:18 +00:00
alnsn e3ced4adff Add two more bpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:34:33 +00:00
he de7f57fda9 Change the new counter variables in struct tcpcb to uint32_t, as
per christos' comments.
2015-02-14 22:09:53 +00:00
alnsn 84db77b722 Copyright year. 2015-02-14 21:32:46 +00:00
alnsn 321f9dd4e2 In some implementations pc->k is signed. Cast it to uint32_t before comparing. 2015-02-14 21:17:05 +00:00
alnsn 7674f27971 Properly track initialisation of registers for BPF_JMP instructions. 2015-02-14 21:14:56 +00:00
alnsn 4bf0e499d1 Replace accidentally committed test with libbpfjit_jmp_jeq_x_noinit_ax test. 2015-02-14 20:39:09 +00:00
alnsn 3228cf99a8 Improve libbpfjit_jmp_jeq_x test. 2015-02-14 20:29:36 +00:00