Commit Graph

225700 Commits

Author SHA1 Message Date
ozaki-r 4ae43925ec Exclude mvsoctmr_* functions from FBT targets
Probing them doesn't work for DTrace/arm for some reason.

Anyway with this fix, DTrace/arm works on SHEEVAPLUG
as well as BEAGLEBONE.
2014-03-19 11:14:12 +00:00
liamjfoy 6ea5422df7 Move ipflow into ip_var.h and fix confliction 2014-03-19 10:54:20 +00:00
liamjfoy e45b308c2a Remove ipflow_prune and replace with ipflow_reap. ok rmind@ 2014-03-19 08:27:21 +00:00
matt db747c73e4 Once we know the bound routine, rebuilt a new callframe that can be unwound
properly.
2014-03-19 02:39:22 +00:00
ginsbach aa8e09363a Add missing include files. Don't rely on them bein pulled in as a
side effect of other includes.  Fixes build errors when getaddrinfo(1)
is added to the usr.bin tree.
- need <sys/socket.h> for address family (AF_*) and socket type (SOCK_*)
- need <stdio.h> for printf() and friends
2014-03-19 01:24:32 +00:00
joerg ab6a556791 Add a register definition for the Processor Status Word on VAX.
Change the unwind definition to specify the CFA base via %fp before
using it in the various register locations.
2014-03-18 23:43:40 +00:00
matt bf06b1032e Add .cfi ops so that one can unwind through this. 2014-03-18 23:43:38 +00:00
matt b47c61b618 Add support for the .cfi pseudo-ops for VAX. 2014-03-18 23:41:36 +00:00
matt 95d660c12b Make readelf know what the vax pcrel32 reloc number is. 2014-03-18 23:41:02 +00:00
joerg f7f78b3373 Import compiler-rt r204194. Fixes shift use in divide routines and const
correctness in gcc_personality_v0.c.
2014-03-18 22:28:42 +00:00
dsl 3a9ebe222a Change 'i0' to be signed so that the sign bit is preserved on 'k'
and the code at the bottom splits the multiply.
Fixes denormal results.
This might have been introduced when I deferred shifting 'k' left.
2014-03-18 21:52:19 +00:00
riastradh 8fd63a1055 Fix unused variable warnings in drm2. 2014-03-18 21:36:52 +00:00
dsl 0f00e137a7 Change previous to use uint32_t for 'interval'.
The value is a random interval in usec obtained by reducing a uint32_t
  value modulo 1000000 (multiplied by a delay in seconds of 1).
The value is then being split into secs+usec and assigned to a timeval
  (and an interval).
With -Wsign-conversion the type has to be either an unsigned 32bit
  type, or a signed 64bit one.  This is just plain stupid.
Warning about conversions between signed and unsigned types really
  only makes sense if the compiler is dynamically tracking the domain
  of the value.
2014-03-18 20:39:55 +00:00
macallan 04f7ce1f23 > Can we use c99 field initializers here instead of comments?!?
Yes, yes we can.
2014-03-18 20:11:08 +00:00
christos 23b7b4606f use time_t for time 2014-03-18 19:30:09 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
pooka c310bd104c Trim alignment out of packet length before passing it up. 2014-03-18 18:10:08 +00:00
christos 805326e6ff Make all __ALIGNBYTES macros return the same type (size_t) 2014-03-18 17:11:19 +00:00
joerg 47875e291b Ignore LD_BIND_NOW for setuid binaries, but keep it in the environment
otherwise.
2014-03-18 16:05:34 +00:00
skrll b7fe3a93a8 Remove a simplelock and replace with a kmutex 2014-03-18 15:44:37 +00:00
macallan 45f9a5100e split 601 and generic PowerPC timecounter code a bit more 2014-03-18 14:34:31 +00:00
riastradh 91921178f6 Avoid undefined behaviour in shifts in endian decoding routines.
If int is 32-bit and p is a uint8_t *, then p[0] is promoted to int
and p[0] << 24 can shift a one into the sign bit of an int, which is
nasal demon territory.
2014-03-18 14:28:37 +00:00
joerg 056a4fb13e libunwind supports vax now. 2014-03-18 13:10:27 +00:00
joerg c9aa4ad46c Add basic unwind support for VAX. PSW handling and stack pointer after
resume is still incomplete.
2014-03-18 13:08:15 +00:00
martin be289d15e1 Bracket timer_init() with disable_interrupts()/restore_interrupts()
properly. Pointed out by Chris Gilbert.
2014-03-18 12:54:29 +00:00
gson b941da03f1 Delay daemonization until RPC services have been registered.
Fixes one of the race conditions of PR misc/48282.
2014-03-18 11:00:20 +00:00
hannken b349ee43ab Operations vmark(), vunmark() and vismarker() have been replaced by
vfs_vnode_iterator_*(), remove them.

Document vfs_vnode_iterator_*().

Make VI_MARKER private to vfs_vnode.c, vfs_mount.c and unfortunately
to ufs/lfs/lfs_segment.c.

Welcome to 6.99.37
2014-03-18 10:21:47 +00:00
matt 231b455025 Add some missing devices (crypto & gige) 2014-03-18 08:56:42 +00:00
skrll 9bf4ee7d90 In fill_fpregset correct the address to grab the register from 2014-03-18 08:40:05 +00:00
matt 5c06472b65 Comment out VERBOSE_INIT_ARM 2014-03-18 08:22:05 +00:00
martin 2d45390a1c Fix typo 2014-03-18 08:08:55 +00:00
matt 8beacb561a Add commented out MVSOC_EARLY_CONSOLE option 2014-03-18 07:34:15 +00:00
matt 149bf5cc01 Add _LOCORE around marvell_interregs_pbase 2014-03-18 07:30:09 +00:00
matt 1e9084ce0e defflag MVSOC_CONSOLE_EARLY 2014-03-18 07:25:57 +00:00
matt 53fecfa73f Base on ARMADAXP, not SHEEVAPLUG.
Simplify.
Support FPU_VFP
2014-03-18 07:07:40 +00:00
matt 71a206343f Add xhci 2014-03-18 07:06:43 +00:00
matt 6e20aa3d61 defflag VERBOSE_INIT_ARM 2014-03-18 07:05:46 +00:00
matt 7722120b11 Add MEMSIZE to opt_mvsoc.h 2014-03-18 07:05:00 +00:00
matt df768d5050 Enable VFP on MV88SV58XX 2014-03-18 07:03:22 +00:00
matt e0b7419d3b Only include "opt_mvsoc.h" if _INTR_PRIVATE is defined. 2014-03-18 06:46:14 +00:00
matt cf0d99b3ed Don't replicate most of mk.marvell in mk.armadaxp 2014-03-18 06:23:45 +00:00
matt 13d405d97d Default comfreq to mvTclk if CONSFREQ is not defined. 2014-03-18 06:17:55 +00:00
matt 4fb25fe172 Move defparam opt_mvsoc.h to more appropriate place. 2014-03-18 05:50:06 +00:00
christos 5fe0c59dd8 KNF, bump warns, fix warnings to print the program name. 2014-03-18 00:16:49 +00:00
martin b658434c23 Hack the detach path so we do it without error messages 2014-03-17 21:21:57 +00:00
martin 582cb34741 Misc cleanup, suggested by Chuck Silvers. 2014-03-17 19:59:42 +00:00
skrll 7f6a34a4a9 Fix build.
Hi dh!
2014-03-17 15:57:56 +00:00
christos e2ecf243c3 fix memory leak
XXX: pullup 6
2014-03-17 13:24:23 +00:00
pooka 5102012c0e rename component.c -> md_component.c 2014-03-17 11:30:40 +00:00
martin d9c366827a Handle VAX 2014-03-17 11:08:11 +00:00