Commit Graph

232191 Commits

Author SHA1 Message Date
chs 6d40f9ff57 add a new "fo_mmap" fileops method to allow use of arbitrary uvm_objects for
mappings of file objects.  move vnode-specific details of mmap()ing a vnode
from uvm_mmap() to the new vnode-specific vn_mmap().  add new uvm_mmap_dev()
and uvm_mmap_anon() convenience functions for mapping character devices
and anonymous memory, and replace all other calls to uvm_mmap() with those.
use the new fileop in drm2 so that libdrm can use mmap() to map things
like on other platforms (instead of the ioctl that we have used so far).
2014-12-14 23:48:58 +00:00
christos d980f336d5 fix possibly uninitialized variable. 2014-12-14 23:27:14 +00:00
christos d4b702a5f2 avoid local variable shadowing devname. 2014-12-14 23:25:07 +00:00
christos 3c4b22dc90 add the two new compat files. 2014-12-14 22:32:46 +00:00
christos a24ecb0e5b PR/49287: Masao Uebayashi: Handle exec_script argument vector from the 32 ->
64 bit case. When execing a 64 bit shell from a 32 bit binary the argument
vector was still incorrect.

XXX: Pullup 7
2014-12-14 21:35:24 +00:00
christos ed2723be38 Move the empty sigreturn functions to their own files to allow the compat
module to load by itself.
2014-12-14 21:27:49 +00:00
christos cc8dba5ad2 Don't exclude amd64 from COMPAT < 15. We need it for COMPAT_NETBSD32 a.out 2014-12-14 21:14:06 +00:00
christos 0c6a515324 Allow i386 binary debugging on amd64 hosts.
XXX: This should be done in mknative but how? Matt?
2014-12-14 19:59:52 +00:00
christos 977e434ff6 When debugging 32 bit binaries on a 64 bit arch in NetBSD the dynamic
linker magically converts the dynamic linker name to ld.elf_so-<32bitarch>
like ld.elf_so-i386. We do the same magic here.
2014-12-14 19:58:06 +00:00
christos 17e441234f Leave section 0 empty. Now gdb should recognize our dumped ksyms files. 2014-12-14 18:14:15 +00:00
jmcneill b5a75d40b2 build ALLWINNER_A80 kernel 2014-12-14 18:12:55 +00:00
jmcneill 971763960c add INSTALL kernel for Allwinner A80 2014-12-14 18:12:38 +00:00
wiz b1ec4779e4 Bump date for previous. Fix typo. 2014-12-14 17:15:14 +00:00
wiz 47999ce6b9 mdocml-1.13.2 out. 2014-12-14 16:05:29 +00:00
macallan 02c20c8189 fix bit flip in PM2_DAC_COLOR_MODE register
from Naruaki Etomi
2014-12-14 13:58:41 +00:00
mlelstv a0b59f5f8a Add validation methods "mbr" and "gpt" for disks without a valid disklabel. 2014-12-14 12:31:39 +00:00
mlelstv f902d9ca42 support wedge names.
The default param file for a wedge is still named after the device (dkN)
which might be unpredictable. Use an explicit param file instead.
2014-12-14 11:31:39 +00:00
martin 0cb17482c5 Avoid a race when the ifp->if_slowtimo pointer is changed while we are
running in if_slowtimo already. Suggested by Masao Uebayashi
in PR kern/49462.
2014-12-14 08:57:14 +00:00
christos 853279d741 Restore apple ufs error handling. 2014-12-14 01:13:57 +00:00
christos 4ddba2941f - Add debugging for mount...
- Merge some error returns
- Check more errors
2014-12-14 00:36:07 +00:00
christos c98d156d18 fix image building:
- round up the total size of the disk image
	- fix fdisk offset for netbsd ffs images
2014-12-14 00:28:46 +00:00
mrg d0483d05da add .ts and .vob suffixes. 2014-12-13 19:30:04 +00:00
nonaka fa5e93a153 Added quirk for ELECOM M-XG2BB. 2014-12-13 19:28:55 +00:00
christos 4cab6c2235 add missing /fs/ 2014-12-13 19:23:35 +00:00
christos 78e728f7ef Add missing include directories 2014-12-13 18:55:18 +00:00
christos f890372b86 - Add -f to allow processing non-plain files.
- Align NetBSD note printing properly
- Add handling of "PaX" notes correctly. Perhaps we should rename them
  to "NetBSD" now.
2014-12-13 18:32:59 +00:00
justin 61b4fed96a Always use kqueue for BSDs in librumpclient
Tested now on the others
2014-12-13 17:18:55 +00:00
jmcneill 845151e8ad serialize printing of secondary cpu info 2014-12-13 16:11:01 +00:00
hannken a36fad8a57 Change coda from hashlist to vcache.
- Replace all hash list crawlers with vfs_vnode_iterator.
2014-12-13 15:59:30 +00:00
hannken 19b229940c Remove cnodes from coda_reclaim(), not from coda_inactive(). 2014-12-13 15:59:03 +00:00
hannken 58ab4a9584 Move the definition of NVCODA and CODA_COMPAT_5 to coda.h,
remove them from coda_vfsops.c and coda_psdev.c.
2014-12-13 15:58:39 +00:00
hannken b0c8ff749a Remove unused definitions (C_WANTED, C_LOCKED). 2014-12-13 15:58:13 +00:00
hannken beee9a5eb0 Attach the control object vnode to the coda mount and release it
on unmount.  Initialize special files with NODEV.
2014-12-13 15:57:46 +00:00
phx f054ec9fb9 Extend size of miniroot.fs from 6m to 7m. 2014-12-13 15:51:18 +00:00
christos ea32f51527 Fix MKRUMP = no build 2014-12-13 14:16:48 +00:00
uebayasi ec8eede4a0 Indent. 2014-12-13 02:53:08 +00:00
uebayasi e8f227f2a9 Fix previous; obsolete vars are pairs. 2014-12-13 02:35:02 +00:00
uebayasi 2ae7b0d687 postinstall(8): Define long item lists as variables to improve future diff-ability. 2014-12-13 02:30:39 +00:00
uebayasi b249d4b6e0 Indent and space fixes. 2014-12-13 02:17:35 +00:00
riz b5e5dc42b2 Spell 'persistent' correctly. 2014-12-12 23:48:45 +00:00
martin 41f1cccf8f Fix byte order selection for breakpoints: on arm the byte order for code
might differ from the generic BFD endianess.
Fixes PR toolchain/49445.
2014-12-12 20:25:35 +00:00
ginsbach 6694ef2dff Add one from the security realm. 2014-12-12 19:36:22 +00:00
phx a3e5fcf230 Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
2014-12-12 15:57:30 +00:00
manu d5cd8e94ec Survive if filesystem installs a signal handler
We tested for signal(3) to return 0 for success, which is incorrect:
signal(3) returns the previous handler. Success should be tested as
!= SIG_ERR, otherwise we fail when a signal handler was previously
installed by perfused(8) parrent process, which happens to be the
FUSE filesystem.
2014-12-12 09:58:39 +00:00
msaitoh 3c72f0f211 Regen. 2014-12-12 07:21:28 +00:00
msaitoh 5419ebd598 Add Validity Sensors, Inc. and their devices. PR#45732 from Greg A. Woods. 2014-12-12 07:21:05 +00:00
msaitoh 78c40df0dc Add BUFFALO GX-DVI/U2B DisplayLink USB-DVI box. PR#49105 from MOCHIDA Shuji. 2014-12-12 05:19:33 +00:00
msaitoh 9f56d0a929 regen. 2014-12-12 05:19:01 +00:00
msaitoh 09d147357c Add BUFFALO GX-DVI/U2B DisplayLink USB-DVI box. PR#49105 from MOCHIDA Shuji. 2014-12-12 05:18:35 +00:00
msaitoh 502f3f4787 Use specialreg.h's definitions. 2014-12-12 02:25:55 +00:00