Commit Graph

229489 Commits

Author SHA1 Message Date
maxv
b0e4602c25 Overflow if *data_len == OSIZE and args->version >= PTYFS_ARGSVERSION.
Sent on tech-kern@, ok christos@
2014-08-14 14:06:53 +00:00
reinoud
6148f733b8 Set __NO_FIQ for the Exynos processors are shipped with SecureCore enabled
gics and FIQs are for the secure part only.
2014-08-14 12:48:52 +00:00
matt
e1cf4281db Force INTPTR_TYPE/UINTPTR_TYPE to long int/unsigned long int.
(same types as PTRDIFF_TYPE/SIZE_TYPE)
2014-08-14 11:32:18 +00:00
martin
9842fff13a Revert previous changes, gcc configuration will be adapted instead. 2014-08-14 11:28:13 +00:00
martin
b209a3f1b9 intptr_t and uintptr_t are not long any more. 2014-08-14 09:17:32 +00:00
martin
66ee8b8898 Previously we used unsigned long int as __uintptr_t, but gcc prefers
__UINTPTR_TYPE__ as unsigned int, and now we use that for __uintptr_t
as well, so adapt MUTEX_CAS() accordingly.
2014-08-14 09:02:18 +00:00
hikaru
3722b36159 Set ifflags callback so that the device can enter promiscuous mode. 2014-08-14 05:42:16 +00:00
nakayama
b88adb6f3e Add missing delay slot in DEBUG kernel. 2014-08-14 04:14:33 +00:00
matt
82a12988ef Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined. 2014-08-13 22:56:56 +00:00
matt
0b2cac531b Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined. 2014-08-13 22:51:58 +00:00
macallan
feeca9ec0c mention NV_TEST_FOR_KERNEL_DRIVER and explain why it isn't enabled for now 2014-08-13 22:48:15 +00:00
matt
7c5094c243 Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined. 2014-08-13 22:31:06 +00:00
matt
2534797f07 include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined. 2014-08-13 22:25:39 +00:00
matt
ca4be7acf3 Don't save r4 since we don't use it. 2014-08-13 22:16:24 +00:00
matt
c97e21f563 Add __NO_FIQ to prevent testing of the PSR FIQ bit
Use VALID_R15_PSR(pc, spsr) instead of testing explicitly
2014-08-13 21:41:32 +00:00
matt
f106fcdb01 When creating a mcontext, make sure the PSR we are saving is actually valid. 2014-08-13 21:10:31 +00:00
riastradh
22405d4653 Fix shifts & masks in Linux pci_read_config_{word,byte}. 2014-08-13 20:56:21 +00:00
joerg
d02c242c7b Bump ramdisk size to 3.2MB and include dhcpcd. 2014-08-13 20:52:05 +00:00
joerg
a54e6af460 Use compiler-rt and libc++ with LLVM on PowerPC64. 2014-08-13 20:51:26 +00:00
matt
2592319eb4 Back out last change. 2014-08-13 19:51:27 +00:00
matt
efe99ca41d include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined 2014-08-13 19:48:17 +00:00
plunky
7300f5c795 C99 6.5.15 Conditional operator note 3 states that the second and
third operators of a ?: operation shoud (amongst other conditions)
either both be integer type, or both void type. cast the second
to (void) then, as log() is already a void and no result is desired.
2014-08-13 19:43:47 +00:00
matt
9a93ad7170 Use __ATOMIC_RELAXED in __cpu_simple_lock_init 2014-08-13 19:32:35 +00:00
justin
9f706c8b92 Respect EXTERNAL_TOOLCHAIN on aarch64 2014-08-13 18:25:11 +00:00
justin
0d185a7a63 Add formatting for aarch64 as using arm ones errors for ll on 64 bit types 2014-08-13 17:14:41 +00:00
joerg
8a961968a8 Build position independent on PPC64, too. 2014-08-13 15:56:52 +00:00
hannken
dd877031a4 Adapt to reality -- already open BSD style nodes do not appear on
ptyfs mounts (this changed some months ago).
2014-08-13 15:48:38 +00:00
joerg
d213e5903a [] -> () 2014-08-13 15:41:21 +00:00
joerg
bd7693847a Spell LdAddr consistently 2014-08-13 15:19:22 +00:00
matt
4b104a55c9 Fix for PR/49061
only kassert in pmap_kenter_pa if PMAP_CACHE_PIVT && !ARM_MMU_EXTENDED
2014-08-13 15:06:28 +00:00
pooka
ee9aa9eca6 Add component for the pcnet PCI driver to rump kernels. Virtualbox
emulates it by default, so it's nice-to-have for that.
2014-08-13 15:01:32 +00:00
joerg
9074b7ff29 Use the lint path as workaround for Clang on 32bit PPC for now.
Document this hack.
2014-08-13 14:43:48 +00:00
joerg
edff4300ae powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
2014-08-13 14:41:45 +00:00
pooka
8f4ce02319 Don't use config_deferred_interrupts() for vioif_deferred_init(),
just run it once as part of if_init().  The problem with the former
is that it will execute the deferred init routine in-place when !cold,
and since vioif_deferred_init() finishing depends on virtio interrupts
which are established only after config_deferred_interrupts() is called,
the vioif attach method would deadlock when !cold.
2014-08-13 14:35:46 +00:00
apb
3c11b029a5 Interleave 0 means concatenate serially, do not interleave.
This information was in the ccd(4) man page, but not
in ccdconfig(8) or ccd.conf(5).
2014-08-13 14:13:04 +00:00
hannken
2607f151da - Add a map of active controlling ptys per mount and no longer abuse
the vnode lifecycle.
- No longer set "recycle" on VOP_INACTIVE().
- Make ptyfs_used_get() private to ptyfs_subr.c
- Stop copying device attributes from traditional ptys on first allocation.
- Remove unneeded argument "lwp" from ptyfs_allocvp() and ptyfs_free_get().

OK: Christos Zoulas
2014-08-13 14:10:00 +00:00
wiz
b8a1052d67 Add missing TP so that -a is not hidden in the -A description.
From Anon Ymous.
2014-08-13 13:53:14 +00:00
plunky
aa224e71db update to r1.377 from upstream, commit message from ragge:
Allow for use of restrict in array declarations (as gcc does).
Fixes gnu regex compilation as reported by William D. Jones on
NetBSD current-users.
2014-08-13 13:37:20 +00:00
plunky
9b491c8bb2 remove unused variable, as reported by Brad Harder 2014-08-13 13:18:08 +00:00
apb
31ea3cc275 Interleave 0 means concatenate serially, do not interleave.
This information was in the ccd(4) man page, but not
in ccdconfig(8) or ccd.conf(5).
2014-08-13 13:14:35 +00:00
christos
eefaa0a08a PR/49109: Jeremie Le Hen: fix sed relative addressin (1,+N)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192108
http://svnweb.freebsd.org/base?view=revision&revision=269302
XXX: pullup 7.
2014-08-13 11:35:34 +00:00
macallan
99d6352116 if we get garbage from the RTC try again a couple times
this seems to happen more frequently when the PRAM battery goes bad
2014-08-13 10:56:35 +00:00
macallan
7bd75daa63 add PRAM access commands 2014-08-13 09:41:50 +00:00
skrll
1673781687 SS device detection needs more work. #if 0 previous attempt for now.
PR/49106: panic: ehci_open: bad device speed 4
2014-08-13 06:26:32 +00:00
matt
da70694235 Fix for PR/49107.
Make sure pmap_copy_page_xscale clears the ptes afters its done with them.
2014-08-13 05:56:03 +00:00
pooka
48fac693b7 Update hardcoded fd expectations now that rump kernels open 0/1/2.
(since we exec, it's convenient to just assume the values of first 4 fds)
2014-08-13 00:03:00 +00:00
pooka
df2711f4e7 In case of no dup2'd fd's, make sure that F_CLOSEM for the
rump kernel starts from 0.

Fixes rumphijack fdoff test (notably, this bug had nothing to do with
fdoff, and was exposed >3 years after writing the test when rump kernels
started providing fd's 0/1/2)
2014-08-12 23:47:09 +00:00
matt
35031b132a Fix c&p error: libisc.a->libirs.a 2014-08-12 20:57:59 +00:00
joerg
691c317038 Avoid unncessary use of double in the kernel. With this change,
a LLVM build kernel fully works on TWRP1025.
2014-08-12 20:27:10 +00:00
skrll
5fd7c05ae4 Add a UPS_SUPER_SPEED. From Takahiro HAYASHI. 2014-08-12 14:22:51 +00:00