Commit Graph

213140 Commits

Author SHA1 Message Date
matt
a462d18984 Add a __HAVE_CPU_UAREA_IDLELWP hook so that the MD code can allocate
special UAREAs for idle lwp's.
2012-09-01 00:26:37 +00:00
matt
584846fa01 Add a kcpuset_t which just includes ourself.
Add a ci_cpuname for convenience
2012-09-01 00:24:43 +00:00
matt
285a87c32f Initial config for PANDABOARD (doesn't quite work yet). 2012-09-01 00:22:13 +00:00
matt
c13501e752 Add INSTALL variant for BCM5301X 2012-09-01 00:21:39 +00:00
matt
dd5988d137 Switch beagle and marvell to use the new boot/init code. 2012-09-01 00:20:49 +00:00
matt
de231d327b Add support for the BCM95301X development board 2012-09-01 00:15:11 +00:00
matt
7b51e68ce2 Some initial iMX.6 support 2012-09-01 00:07:32 +00:00
matt
891c253629 Use PMAP_NOCACHE, add stream methods. 2012-09-01 00:06:54 +00:00
matt
ab178a1c58 Initial support for interrupts on the OMAP4430 (which uses the ARMGIC). 2012-09-01 00:05:36 +00:00
matt
ad28138b1e Add initial device support for the Broadcom BCM5301x family. 2012-09-01 00:04:44 +00:00
matt
86c5c7f4a7 Add Cortex-A9 support including the ARM Generic Interrupt Controller
and the A9 Global Timer / Watchdog.
2012-09-01 00:03:14 +00:00
matt
d773a2a56e XXX this can not have worked for a long time.
Move this to the world of lwps.
2012-09-01 00:01:43 +00:00
matt
4e7e30e0bb Add PIC hooks for MP and for the ARM Generic Interrupt Controller. 2012-09-01 00:00:42 +00:00
matt
1f4278e180 Make cpu_reset, most of initarm and the kvm init code common.
Add MP hooks for cpu_need_resced
Add idlestck which is allocated in arm32_kvminit
2012-08-31 23:59:51 +00:00
matt
27c8dedaa5 Move the __cpu_simple_lock to the last byte so it's easier to read in dumps 2012-08-31 23:56:15 +00:00
matt
f3b19f9ca8 Add ucas32 for SMP. 2012-08-31 23:42:34 +00:00
matt
36f83f6caf Add dmb/dsb instructions as required by the armv7 arch man. 2012-08-31 23:41:52 +00:00
drochner
0e9330ed96 Align the stack to a 16-byte boundary on LWP creation.
This is more than required by the ABI, but it makes programs using SSE
in a thread work without extra compiler flags or performance hit.
2012-08-31 20:57:24 +00:00
is
72b7fc9f19 Note OpenSSH 6.1. Thanks for heads-up to Snader_LB. 2012-08-31 20:23:33 +00:00
wiz
498ab6ee99 cgd and sjg relicensed this under 2-clause-BSD.
Reported by Ed Schouten <ed@FreeBSD.org> to tech-userlevel.

Adapt license to match FreeBSD's version, leaving Ed out
since according to CVS logs, he didn't touch NetBSD's version.
2012-08-31 19:55:23 +00:00
matt
82b664585f The arm11 barriers are mcr (write), not mrc (read) 2012-08-31 17:29:08 +00:00
pooka
ebca36f90a Hook ZFS tests to MKZFS instead of a homegrown variable. 2012-08-31 14:46:53 +00:00
chs
898c59c515 fix some confusion about PG_FAKE. 2012-08-31 14:31:46 +00:00
macallan
eb30b37d82 when calculating per-IPL virq masks, take into account that shared IRQs may
request different IPLs
fixes vr(4)-related problems seen on ofppc
2012-08-31 13:12:52 +00:00
matt
968d0b4134 Use __ASSEMBLER__ to control inline definitions 2012-08-31 12:01:15 +00:00
skrll
3bbaf20745 Don't advertise the abt/und/irq stack pointers as accessible to crash(8)
when they're not
2012-08-31 11:52:39 +00:00
skrll
204f751fed DO_AST_AND_RESTORE_ALIGNMENT_FAULTS needs AST_ALIGNMENT_FAULT_LOCALS 2012-08-31 11:45:38 +00:00
matt
a31d113a55 Don't do inlines if _STANDALONE 2012-08-31 11:40:42 +00:00
drochner
629e6fc4b6 fix for archs w/o cpu ucode driver: add dummy definition 2012-08-31 07:27:27 +00:00
sjg
ea86d17992 Cast sizeof() to int, which is sufficent and consistent with other use
within make.
2012-08-31 07:00:36 +00:00
jnemeth
45d8ad6bc8 PR/46877 - Wolfgang Stukenbrock -- missing definition for Symbios SAS 9261-8i 2012-08-31 05:22:17 +00:00
riastradh
4c12bd76ba Fix typo: tftpd, not tfptd. 2012-08-31 05:18:44 +00:00
pgoyette
af44ca577f There's a known-but-unresolved race condition in here somewhere that
causes these tests to sometimes deadlock.  Since they run really fast
when they are successful, it doesn't do any good to wait for the
default 5-minute timeout.  So explicitly set timeout for these tests
to just 30 seconds.
2012-08-31 04:02:21 +00:00
pgoyette
4e59942717 Cast sizeof() to (ssize_t) to avoid build errors. 2012-08-31 02:59:37 +00:00
matt
48caf1182a Support deciphering SDHCv3 clock rates. 2012-08-31 01:44:20 +00:00
christos
fbb3db86f7 Don't support sysctl for the tools version of config. It is too complicated
to do so, and config -x is not used during the build.
2012-08-31 01:23:49 +00:00
msaitoh
3c8544b725 Enable VLAN hardware tagging on all chips that have the new queue mechanism.
Tested with 82575{EB,GB}, 82576, 82580, I350 and ICH9.
2012-08-30 23:14:20 +00:00
wiz
d5a95690ed Add an s. 2012-08-30 22:35:37 +00:00
sjg
aede2a76f4 Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.

Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
2012-08-30 22:09:58 +00:00
sjg
170700dd50 Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.

Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
2012-08-30 21:17:05 +00:00
wiz
686e48a4a3 Use more markup. Wording. 2012-08-30 12:42:41 +00:00
christos
c9ffe47f54 bump date. 2012-08-30 12:32:07 +00:00
christos
8aaed51273 make config -x look at the booted kernel first. 2012-08-30 12:31:25 +00:00
drochner
8588929dc5 Add "consttime_bcmp" and "explicit_bzero" functions for both kernel
abd userland, as proposed on tech-security, with explicit_bzero using
a volatile function pointer as suggested by Alan Barrett.
Both do what the name says. For userland, both are prefixed by "__"
to keep them out of the user namespace.
Change some memset/memcmp uses to the new functions where it makes
sense -- these are just some examples, more to come.
2012-08-30 12:16:48 +00:00
matt
99af3c507e Add a new more KASSERT/KASSERTMSG 2012-08-30 02:26:38 +00:00
matt
2411d236db A few more KASSERT/KASSERTMSG. 2012-08-30 02:26:02 +00:00
matt
b0d1f89948 Change KASSERT to KASSERTMSG 2012-08-30 02:25:35 +00:00
matt
a91e719fd0 KASSERT -> KASSERTMSG 2012-08-30 02:24:48 +00:00
matt
dfb595098c Give config thread more descriptive names. 2012-08-30 02:24:20 +00:00
matt
ed51f1779c Use __cacheline_aligned 2012-08-30 02:23:14 +00:00