225634 Commits

Author SHA1 Message Date
dholland
3e0a08dd80 typo in previous 2014-03-16 05:49:41 +00:00
dholland
a68f9396b6 Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
ozaki-r
f27e224fab Look up arm directory on MACHINE_ARCH=*arm* 2014-03-16 05:11:19 +00:00
uwe
b718fba2fd Shut up -Wuninitialized on sh3 with gcc 4.8 2014-03-16 01:21:35 +00:00
dholland
c49e034e83 Fix gcc48 build. No obvious reason why nobody else has hit this... 2014-03-16 01:07:46 +00:00
dholland
19d6c717ae Fix gcc48 build without Kerberos.
While here, rectify related bug where if gethostname() failed, login
would null-terminate uninitialized stack trash and cheerfully pass it
on to kerberos. In this case, revert to "amnesiac" instead.
2014-03-16 00:33:13 +00:00
uwe
fb3a642893 G/c extraneous TAB. 2014-03-16 00:07:58 +00:00
mrg
9c0370d59c add missing -DGENERATOR_FILE to HOST_CPPFLAGS. 2014-03-15 23:12:58 +00:00
mrg
4d51ddd922 make sure we use the C compiler (not C++) for CC= when running the
configure for auto-build.h.  fixes problems on linux.
2014-03-15 20:46:38 +00:00
martin
34487b840b Remove unused include 2014-03-15 19:20:27 +00:00
christos
a1aa0d7245 Since the sigwait stuff is conditional to isc_bind9, we cannot block
SIGHUP,SIGINT,SIGTERM on startup, so make those also conditional to isc_bind9.
The net effect of this was that dhclient blocked the 3 signals for both
itself and its progeny so /etc/rc.d/dhclient restart would not work.
2014-03-15 18:28:22 +00:00
matt
2d6f1ae980 Add install kernel for MIRABOX 2014-03-15 17:28:25 +00:00
matt
634532946b OMAP5 support 2014-03-15 17:14:56 +00:00
roy
317e4f34f6 Import ipw2200-fw-3.1 2014-03-15 15:23:22 +00:00
pooka
b31d33154d Use uniprocessor-optimized locking in RUMP_LOCKS_UP=yes (default: no) 2014-03-15 15:22:42 +00:00
riastradh
4ec7cf26b7 Convert right-recursive rules to left-recursive ones.
This should obviate the need for the workaround of a large stack in
order to handle many rules.

No change in the resulting plists.

ok rmind
2014-03-15 15:22:37 +00:00
pooka
35bcd6f8af Allow compile-time optimizations to curlwp. This can have a pretty
staggering impact on performance.  When running sendto() in a loop,
the improvement is 200k more calls per second with an inlined __thread
curlwp as opposed to the default.  In other words, it shaves off hundreds
of CPU cycles per call (~20%).  Even just eliminating the x86_curlwp()
call in favor of an inline gives an improvement of 60k calls per second.
2014-03-15 15:15:26 +00:00
martin
03e412de5e Need to load the full argument 2014-03-15 14:12:56 +00:00
kiyohara
16a5f14338 Support GlobalScale MiraBox. 2014-03-15 14:09:09 +00:00
kiyohara
5cca2e97c3 Add comment-out-ed FPU options. Armada XP has FPU.
Add comment-out-ed athn.
Change ehci[01] to ehci*.  Check the clock gating already supported.
2014-03-15 14:02:01 +00:00
kiyohara
6597406b24 Support options MVSOC_INTERREGS_PBASE for *old* Armada {XP,370} machines. 2014-03-15 13:56:19 +00:00
jakllsch
59b031efd4 Enable PCI support in amd64 XEN3_DOMU config to match i386 XEN3_DOMU config. 2014-03-15 13:50:01 +00:00
kiyohara
4601694a8e Support Armada 370. 2014-03-15 13:48:44 +00:00
kiyohara
c51a6569f3 Support Armada 370 and DDR3 tags. 2014-03-15 13:33:48 +00:00
martin
89434fa764 Provide copysignf and copysignl 2014-03-15 12:20:09 +00:00
tsutsui
b836c6ccfa Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC.
2014-03-15 12:04:22 +00:00
tsutsui
6835dc41d7 Remove duplicated INTERRUPT_SAVEREG and INTERRUPT_RESTOREREG macro.
They are in <m68k/asm.h> and now using different register format.
2014-03-15 12:02:28 +00:00
tsutsui
470a28fced Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC.
2014-03-15 11:53:30 +00:00
kiyohara
cf549ef271 Support Armada 370. 2014-03-15 11:48:37 +00:00
kiyohara
5e965d38d2 Add tags to marvell_attach_args. 2014-03-15 11:47:43 +00:00
kiyohara
16adf51cb7 Add armada370_getclks().
Remove some white spaces.
2014-03-15 10:54:40 +00:00
kiyohara
fbd723df7b Support Armada 370. tested on MiraBox. 2014-03-15 10:44:10 +00:00
kiyohara
1fc9bc43dd Add some Armada 370 IDs.
And fix comment-out-ed ID for Discovery VI.  (from Marvell USP)
2014-03-15 10:40:39 +00:00
kiyohara
d9ead60838 Regen. 2014-03-15 10:32:36 +00:00
kiyohara
cdfb7239c2 Add some Armada 370 IDs. 2014-03-15 10:30:41 +00:00
tsutsui
6b24937e2a Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC.
2014-03-15 09:26:36 +00:00
tsutsui
af9393ea1f Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC, and also tested on NWS-1750.
2014-03-15 09:24:56 +00:00
tsutsui
649d306ebb Add a common source of m68k bus error and address error handlers.
This will be included from each MD locore.s as other common m68k
asm files like trap_subr.s and support.s etc.
2014-03-15 09:22:36 +00:00
rmind
f1567f86d3 npfctl_bpf_cidr: another buf fix in handling IPv6 masks (bug found on ARM). 2014-03-15 08:46:01 +00:00
ozaki-r
609ba481a5 Implement DTrace FBT provider for ARM
- Finding probable functions
- Replacing instructions
- Emulating instructions

It is tested only on ARMv7 CPUs yet, for example,
-m evbarm (-a earm) kernel=BEAGLEBONE.
2014-03-15 08:00:19 +00:00
ozaki-r
48e9045322 Enable invop handler on module load
It sets a fbt handler to dtrace_invop_jump_addr on module load,
which is used to call the dtrace probing function from the trap
handler.
2014-03-15 07:49:15 +00:00
ozaki-r
26e6962bfe Make arm/dtrace_isa.c buildable
This is a band-aid for build, but it works anyway.
We have to do a real fix in the future.
2014-03-15 07:43:01 +00:00
ozaki-r
b394d987ee Add a trap handler for DTrace FBT provider 2014-03-15 05:58:30 +00:00
ozaki-r
b544726383 Add breakpoint definitions for DTrace 2014-03-15 05:54:20 +00:00
dsl
092f718fed There is some very odd code in s_exp2.c that only works if 'double'
values are rounded to 53 bit mantissa in teh x87 registers.
This hasn't been true since Nov 11 2013.
Forcing a store-load for 'double' in STRICT_ASSIGN() seems to fix things
  (at least enough for the few random test cases).
I suspect the code could be changed so that the number of mantissa bits
  didn't matter.
2014-03-14 22:21:31 +00:00
mrg
f6e33f02a8 remove various set-but-unused variables. 2014-03-14 21:59:41 +00:00
matt
2b85113592 Cleanup sscom to make more SoC invariant 2014-03-14 21:40:48 +00:00
matt
c4aa7bf7ad #include <arm/locore.h> 2014-03-14 21:39:48 +00:00
matt
e6355c4f2a #include <sys/evcnt.h> 2014-03-14 21:39:29 +00:00
tsutsui
be5ebbc954 Sync bus error and address error handlers with other m68k implementation.
Tested on X68030.  Needs tests on 040 and 060turbo
(though it should work as other m68k ports).

The x68k port implemented 68060 support including these vector handlers
as early as amiga back in 1996, but even after amiga's locore.s was
improved several times (updating vectors at runtime to switch handlers
per CPU types etc.), x68k's one has not been updated.
After that, atari and mac68k pulled amiga's implementation,
hp300 pulled mac68k, and then most other m68k ports pulled hp300 ones.

Probably that's the reason why only x68k had different implementations
(i.e. no reason that avoids using common handler implementation),
and now it's time to prepare common arch/m68k/m68k/busaddrerr.s.
2014-03-14 20:24:24 +00:00