Commit Graph

233454 Commits

Author SHA1 Message Date
mrg 9a65e5e0c5 update for reality in many places. 2015-02-19 11:20:43 +00:00
nonaka e91ada0139 fix compile failure without DIAGNOSTIC. 2015-02-19 08:59:56 +00:00
wiz 076a2da7d8 Use Pp (mdoc) instead of sp (roff).
Use An in AUTHORS section.
2015-02-19 08:51:14 +00:00
lneto bfd43003e4 lua(4): small fixes in kernel Lua
* fixed hex parsing
* restored lua_isnumber
* removed unwanted macros from luaconf.h
* restored <stdarg.h> include in ldebug.c
* removed doubles from unions
* removed unused functions
2015-02-19 04:46:22 +00:00
mrg 2343aabb74 add a 'down' key to tetris, defaulting to 'n'. it move the block down
a line, if it fits.  like most other tetris games have.

minor clean up of magic number usage while here.
2015-02-19 02:27:30 +00:00
christos 31fb02278a PR/49676: Ryo Shimizu: ICMP_STATINC() buffer overflows
XXX: pullup-7
2015-02-18 17:00:15 +00:00
macallan eb488f671d switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x
2015-02-18 16:47:58 +00:00
joerg 3dea93ea59 Apply elf32.em r1.8 to the corresponding sections of armelf.em and
aarch64elf.em. Original commit message:

Recursively add DT_NEEDED entries from shared libraries if symbols are
used indirectly. This is more in line with the old GNU ld behavior, but
not exactly the desired semantic.

Patch from Martin Husemann.
2015-02-18 15:05:43 +00:00
macallan 0b9601e293 cleanup compat options, disable COMPAT_LINUX for N32 kernels 2015-02-18 11:15:19 +00:00
wiz a1da3f78ee Fix Xref. Split line, Ox doesn't take word arguments. 2015-02-18 08:46:43 +00:00
ozaki-r 47d3523379 Add assert 2015-02-18 03:08:38 +00:00
ozaki-r 99f05559ed Don't return success when the target CPU is offline
dt_status originally expected the behavior.

This fixes a segfault happens in dt_aggregate_go (a user of dt_status)
that depends on the behavior.
2015-02-18 03:07:56 +00:00
enami f9973cdc30 Make this file compiles again with BGE_DEBUG defined. 2015-02-17 23:07:56 +00:00
christos 71cf54e71e OpenBSD is like us. 2015-02-17 22:49:26 +00:00
joerg 72523275ec Provide _Unwind_Find_FDE for libgcc_s compatibility. 2015-02-17 21:02:33 +00:00
christos 84a0efdf85 use reallocarr() 2015-02-17 20:44:42 +00:00
joerg 9b5f3d5723 Move reallocarray under _OPENBSD_SOURCE where it belongs. 2015-02-17 20:33:40 +00:00
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