Commit Graph

224656 Commits

Author SHA1 Message Date
joerg c544fc34ef Build glue for the libedit wrapper, not yet used. 2014-02-14 20:32:58 +00:00
joerg 6befd1d588 Update LLVm/Clang to 3.5svn r201163. This brings improvements to the
16bit x86 support, self hosting for SPARC64 and improvements to the
NetBSD driver on ARM, AArch64 and MIPS.
2014-02-14 20:23:56 +00:00
joerg c4d029a7ad Import LLVM 3.5svn r201163. 2014-02-14 20:09:23 +00:00
joerg ed535df4b4 Import Clang 3.5svn r201163. 2014-02-14 20:04:58 +00:00
christos df9581b1ee explain why the innocent sigaction1 call now works. 2014-02-14 16:35:40 +00:00
christos b9e9a610e4 Don't check trampolines for SIG_DFL or SIG_IGN since they are not used.
From gimpy.
2014-02-14 16:35:11 +00:00
christos e5ba6e8033 make sure kernel is initialized properly. 2014-02-14 16:04:44 +00:00
njoly aebb6d294a Regen for GeForce 210 High Definition Audio Controller. 2014-02-14 13:25:19 +00:00
njoly 593b2512cf Add GeForce 210 High Definition Audio Controller. 2014-02-14 13:24:46 +00:00
hannken 32bc55a7e7 Member un_flags is unused now -- remove. 2014-02-14 08:50:27 +00:00
maxv 1a33eb9d1c Fix memory leak.
ok christos@ agc@
2014-02-14 07:30:07 +00:00
wiz 2db2e12a03 Fix typo in Dd. 2014-02-14 07:29:06 +00:00
wiz d256445c5b New sentence, new line. 2014-02-14 07:27:37 +00:00
christos d46692d173 mention ibss and hostap support 2014-02-14 04:24:41 +00:00
christos 17b8640365 regen 2014-02-14 04:22:13 +00:00
christos 3c0f6b456c Add the 4G part of my modem, no driver yet. 2014-02-14 04:20:43 +00:00
christos 28e311e50e ibss and hostap support from stsp @ openbsd. 2014-02-14 04:17:41 +00:00
rmind b99196035c Mention some NPF improvements: static (stateless) NAT, support for NPTv6
and CDB based tables.
2014-02-14 02:07:49 +00:00
rmind a732dba5fc G/C some todo items 2014-02-14 02:01:12 +00:00
rmind d199f930bb Document NAT algorithm option in the grammar of "map". 2014-02-14 01:52:58 +00:00
pooka 459f46c52b Register netisr's from component constructors instead of via a hardcoded
global list.
2014-02-14 01:43:13 +00:00
pooka c1c33d6851 g/c prototype of imaginary routine 2014-02-14 01:27:48 +00:00
pooka 51b406fe68 some minor updates and reality-checks 2014-02-14 01:11:04 +00:00
pooka 177c2413c9 minor clarification: rumpuser_thread_create() is used to create the host
thread context for kernel threads, never for application threads.

per discussion with justin
2014-02-14 00:33:51 +00:00
wiz 26dba06cb7 Fix some typos found by Rich Neswold and reported in PR 48597. 2014-02-13 22:36:28 +00:00
martin 478bc1f91d Remove an unused variable 2014-02-13 21:05:26 +00:00
dsl 1a42f747d5 Check the argument types for the fpu asm functions. 2014-02-13 19:37:08 +00:00
dsl 6609905aac Mark i386/npx.h obsolete.
I'd forgotten it was released here as well.
2014-02-13 17:42:24 +00:00
skrll 99dcdee9c4 Simplify cpu_spawn_return - setregs has done all the work already. 2014-02-13 15:04:18 +00:00
elric b760f10513 Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some
level of controversy about their inclusion.
2014-02-13 12:00:29 +00:00
skrll 4ee2c733ee Slight code re-arrangement. No functional change. 2014-02-13 11:08:46 +00:00
hannken 8757071efb Get rid of UN_KLOCK to keep a lock on vput(). It is not really needed
and makes the source difficult to read.  Always hold references to the
union nodes until the operation is done.
2014-02-13 09:55:04 +00:00
hannken 15a20e1e67 Fix the DOT and DOTDOT case for union_lookup1(). 2014-02-13 09:50:31 +00:00
rmind 068cee2998 NPF: add support for IPv6-to-IPv6 Network Prefix Translation (NPTv6),
as per RFC 6296.  Add a unit test.  Also, bump NPF_VERSION.

Thanks to S.P.Zeidler for the help with NPTv6 work!
2014-02-13 03:34:40 +00:00
rmind 82f6ff32b1 npfctl_bpf_cidr: fix a bug in handling of smaller IPv6 masks. 2014-02-13 00:42:01 +00:00
dsl e405c62563 Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
  removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
  (or remove it entirely).
2014-02-12 23:24:09 +00:00
dsl cf7d1cf56d Add definitions of the default control words directly to this file
instead of pulling the kernel definition of the fpu (etc) into
userspace programs.
I've included machine/fenv.h into x86/cpu.c to ensure the duplicated
definitions stay in step.
The default control words are now the hardware defaults.
XXX: Anyone care to explain the differences between the i386 and amd64
versions of this file?
2014-02-12 23:04:43 +00:00
pooka f16e4e4778 Minor comment massage, zero functionality massage. 2014-02-12 22:30:45 +00:00
pooka 9563724619 Rototill a bit, and attempt to disguise it as non-gratuitous.
Add arch/generic and move non-x86 files from rumpkern/ there.  Also,
move files from arch/i386 to arch/x86, and make both i386 and x86_64
use those.

This clarifies the situation with what is MD vs. MI code.

renames:
  rumpcpu_generic,kobj_stubs,pmap_stubs => arch/generic/rump_generic_$x
  arch/i386/* => arch/x86/rump_x86_$x

(for those who forget, x86 requires MD code because rump kernels
use the same ABI as kernel modules)
2014-02-12 22:28:43 +00:00
martin 47869c118a Unlock correct mutex in an error path.
PR kern/48592 from Kengo NAKAHARA.
2014-02-12 20:20:15 +00:00
dsl 6cb5447c23 Change the argument to fpudna() to be the trapframe.
Move the checks for fpu traps in kernel into x86/fpu.c.
Remove the code from amd64/trap.c related to fpu traps (they've not gone
  there for ages - expect to panic in kernel mode).
In fpudna():
- Don't actually enable hardware interrupts unless we need to
  allow in IPIs.
- There is no point in enabling them when they are blocked in software
  (by splhigh()).
- Keep the splhigh() to avoid a load of the KASSERTS() firing.
2014-02-12 19:53:49 +00:00
jmmv a38e0b43c5 Homogenize reachover build file structure with that of kyua-cli:
- Move the majority of the common build definitions to the top-level
  Makefile.inc and ensure this gets included everywhere.
- Move the bconfig.h file to the top-level directory.
- Add a statically-generated defs.h file instead of creating one
  during the build.  Easier to understand and less chances for things
  to go wrong.
- Make sure all files using ATF_VERSION have the right dependency to
  trigger a rebuild when the value changes.
- Clean up stale -I flags.

This is all mostly for simplicity reasons and to reduce the cognitive
load required to understand the build of the atf and kyua-* packages.

I have tested this with both MKKYUA=no/yes and non-clean/clean builds
so hopefully I got the details right.  But if not, let me know please.
2014-02-12 04:08:31 +00:00
jmmv 5506dc87b2 Remove unused reachover Makefiles.
The content of these was subsumed into the sibling 'tools' subdirectory
during the import of atf-0.19.
2014-02-12 03:47:21 +00:00
rmind 1e2389ed0b npfctl_print_table: add a "cdb" type. 2014-02-12 01:42:50 +00:00
sjg e84a63caab Reduce the calls to realloc from brk_string by basing initial argmax guess
on length of input.

Reviewed by: christos
2014-02-12 01:35:56 +00:00
dsl fbb90a6bbe Add x86/fpu.h
Nothing in i386 uses it yet, but it ends up in destdir so it has to be
released.
2014-02-11 22:48:25 +00:00
dsl 742d777c6d Move sys/arch/amd64/amd64/fpu.c and sys/arch/amd64/include/fpu.h
into sys/arch/x86 in preparation for using the same code for i386.
2014-02-11 20:17:16 +00:00
jmmv 646fe152bb Remove portability-related guards from the atf tools.
Just assume we are building for NetBSD given that the tools code is now
owned by the NetBSD tree.
2014-02-11 18:13:45 +00:00
jmmv 892cb06d80 Remove revision.h and associated complexity from atf-version.
Arguably, this was never needed and only made the code and the build system
more complex for no real reason.
2014-02-11 18:07:30 +00:00
jmmv fd47ea3b40 Stop using bconfig.h in the tools code.
Just assume the code is being built for NetBSD for simplicity reasons.
2014-02-11 17:28:20 +00:00