Commit Graph

224586 Commits

Author SHA1 Message Date
hannken
c36eeb723b Change union_allocvp() to take an unlocked uppervp and to return the
union node unlocked.  Another VI_XLOCK hack is gone.
2014-02-16 09:50:25 +00:00
nonaka
aa143675c7 Remove duplicated comment. 2014-02-16 08:18:28 +00:00
nonaka
0db1178fa9 Use INFRA not ADHOC when opmode is M_STA. 2014-02-16 08:17:43 +00:00
njoly
f14253ab28 Regen. 2014-02-15 22:36:26 +00:00
njoly
40b4c3c92a Reduce diffs between archs, add mincore/madvise to m68k. 2014-02-15 22:35:08 +00:00
jmmv
d9eee690ca Obviously, we want ATFFILE and KYUAFILE to be set to yes... 2014-02-15 22:32:26 +00:00
njoly
9f120b8d09 Remove argument name from prototype. 2014-02-15 22:32:16 +00:00
dsl
b5e700c786 Load and save the fpu registers (for copies to/from userspace) using
helper functions in arch/x86/x86/fpu.c
They (hopefully) ensure that we write to the entire buffer and don't load
  values that might cause faults in kernel.
Also zero out the 'pad' field of the i386 mcontext fp area that I think
  once contained the registers of any Weitek fpu.
  Dunno why it wasn't pasrt of the union.
Some of these copies could be removed if the code directly copied the save
  area to/from userspace addresses.
2014-02-15 22:20:41 +00:00
tsutsui
bde3bdd586 Use msg_display(3) rather than printf(3) to print dobootblk messages.
The latter won't show any characters on the sysinst screen
and other ports have used the former.
2014-02-15 19:45:43 +00:00
jmmv
dcc9e2357f Fix paths to internal libraries.
This is the same fix applied to external/bsd/atf/Makefile.inc in revision
1.4 and should fix the build when using OBJMACHINE but not MAKEOBJDIR*.
2014-02-15 19:42:10 +00:00
jmmv
5ecd3e3027 Prevent registering the helper programs as test programs.
Same trick as with atf/test-programs: provide hand-generated Atffile and
Kyuafile files so that the helpers that we build as test programs do not
end up in them.

Reported by gson@.
2014-02-15 19:33:54 +00:00
sjg
2adf342aef Put .INCLUDEDFROM* in the right section 2014-02-15 18:55:30 +00:00
tsutsui
b5686ed1fa Put a bootloader binary into install ramdisk.
sysinst support will come soon.
2014-02-15 18:41:20 +00:00
christos
161079ca45 put more info about the sierra modem 2014-02-15 18:17:59 +00:00
christos
6f9879ba7d initialize offset to 0 (Maxime Villard) 2014-02-15 17:39:03 +00:00
maxv
c11747d060 Remove the last argument of elf_check_header(). It is easier - and faster - to
check the e_type field in the calling function. Other BSD's already do this.

ok christos@
2014-02-15 16:17:01 +00:00
tsutsui
11b13dddf7 No need to specify ${.OBJDIR} for target files.
It rather fails if MKHOSTOBJ=yes.
2014-02-15 13:34:28 +00:00
dsl
b9df3e93ac Remove all references to MDL_USEDFPU and deferred fpu initialisation.
The cost of zeroing the save area on exec is minimal.
This stops the FP registers of a random process being used the first
  time an lwp uses the fpu.
sendsig_siginfo() and get_mcontext() now unconditionally copy the FP
registers.
I'll remove the double-copy for signal handlers soon.
get_mcontext() might have been leaking kernel memory to userspace - and
  may still do so if i386_use_fxsave is false (short copies).
2014-02-15 10:11:14 +00:00
dsl
ec9cf4df7b If MAKEVERBOSE < 2 remove the -v from pax command lines. 2014-02-15 09:43:02 +00:00
wiz
d485e80f67 Fix typo. 2014-02-15 08:25:01 +00:00
skrll
942243dba3 Trailing whitespace 2014-02-15 07:38:22 +00:00
jmmv
752fe084c0 Fix the bundling of the version number in built files.
Yes, attempting yet another fix at this so that the version number that
gets recorded in the pkgconfig files and inside atf-version really matches
the latest imported version.  Should resolve issues where the built files
get stuck with an older version number during update builds.

This time, I'm trying the same approach I applied in the FreeBSD source
tree, which has been working fine so far across various release imports.
2014-02-15 04:19:46 +00:00
jmmv
70bbcb4b33 Prevent registering the helper programs as test programs.
They are not intended to be run neither by atf-run nor Kyua, and doing so
results in test failures.  The easiest way to do this for now is to just
ship custom Atffile and Kyuafile files.  (This broke because with atf-0.20
we started using the auto-generated versions of these, and due to the way
bsd.test.mk works, these registered the helpers as well.)

Problem reported by martin@.
2014-02-15 04:15:20 +00:00
jmmv
3e03992881 Fix path to libtools.a.
The build would break when we do not use MAKEOBJDIR* but do use OBJMACHINE.
Problem found by B Harder and fix based on patch from NONAKA Kimihiro as
posted on current-users.
2014-02-15 02:02:39 +00:00
jmmv
d90ac76afc Fix path to atf-run.hooks after import of atf-0.19.
Problem found by martin@.  Not spotted by me, I think, because I always use
postinstall on an etc.tgz file and forgot about this code path.
2014-02-15 01:54:17 +00:00
christos
7757a9ebde delete the correct variables on eof
fix typo in comment (from sjg)
2014-02-15 00:17:17 +00:00
christos
d2bf840533 fix protocol printing order. 2014-02-14 20:43:34 +00:00
joerg
a2c420e92e Update hacks. 2014-02-14 20:35:20 +00:00
joerg
375e4d138e Only realprot.S still needs to be built with GNU as. 2014-02-14 20:34:27 +00:00
joerg
d0ebb0ebfa ARM now works with integrated-as. 2014-02-14 20:33:32 +00:00
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