Commit Graph

229684 Commits

Author SHA1 Message Date
riastradh
89b4554f68 Partial viadrm2 snapshot.
To do:

- autoconf attachment (shouldn't be hard)
- viafb (maybe steal unichromefb and adapt attachment structure)
- actually run it (no hardware here)
2014-08-26 17:28:14 +00:00
riastradh
894179c374 Add Linux timer_pending and del_timer. 2014-08-26 17:26:05 +00:00
joerg
6c18385369 Really revert to the original version. 2014-08-26 17:13:42 +00:00
matt
7c92a4b3cd Allow STT_GNU_IFUNC to be dynamic symbols 2014-08-26 17:03:51 +00:00
matt
d885ef237f Allow STT_GNU_IFUNC to be a dynamic symbol. 2014-08-26 16:39:49 +00:00
joerg
497e202f2a Revert. There is no such thing as __HAVE_IFUNC and there should not be
one in first place.
2014-08-26 16:25:35 +00:00
wiz
23f0d17f09 Use more appropriate macro for command line command argument. 2014-08-26 16:21:15 +00:00
matt
15c3780af4 Make sure we default to ELFv1. 2014-08-26 15:53:04 +00:00
aymeric
f90e2756f0 missed setting TAG_IS_LINKED in a special case in my previous commit.
Bug reported by Brad Harder, thanks!
2014-08-26 15:19:38 +00:00
christos
db25848c17 fix set but not used. 2014-08-26 15:06:50 +00:00
msaitoh
f35ac6b16b Modify WMP_F_1000{X,T} to WMP_F_{FIBER,COPPER}. No binary change. 2014-08-26 14:44:00 +00:00
joerg
5d06599748 Go back to skipping init/fini handling for ldd, makes problems for 32bit
compat on LP64.
2014-08-26 12:14:14 +00:00
reinoud
2d8c45afa0 Make it compile without DIAGNOSTIC by using __diagused 2014-08-26 11:55:54 +00:00
reinoud
bf60d1ced1 Make it compile without DIAGNOSTIC 2014-08-26 11:49:39 +00:00
christos
61598576c4 Adding extra dependencies does not affect the inference rule search anymore.
XXX[1]: should that be the case?
Simplify the code anyway via selective path search.
XXX[2]: Split arch portions to arch specific files, this is a mess
2014-08-26 11:48:20 +00:00
reinoud
262eb828ef Make it compile without DIAGNOSTIC 2014-08-26 11:45:49 +00:00
christos
5a3404e066 effectively disable the test to fix the build and explain why. 2014-08-26 11:10:02 +00:00
pooka
1dc56c39a2 Implement pci_intr_setattr()
(well, kinda.  it just ignores the MPSAFE param for now, but that's
easy to fix later)
2014-08-26 10:58:13 +00:00
christos
4e24064872 fix sets 2014-08-26 10:46:39 +00:00
manu
8c40e8bcff Fix build with TFTPROOT option enabled 2014-08-26 09:38:54 +00:00
christos
b648275a2b alpha (and others) don't like .set name, expr. Use name = expr like elsewhere. 2014-08-26 09:03:17 +00:00
christos
d9972a4666 Introduce a cast to fix the build for Elf32 on _LP64. 2014-08-26 07:54:27 +00:00
riastradh
3b88c214c8 Return 0, not uninitialized, if the condition is already true. 2014-08-26 00:48:29 +00:00
joerg
7a1a6f1cf3 Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create temporary
function descriptors on the stack, if the address is not leaked outside.

Limitations:
- no support for initialising static storage with function pointers
- no support for unnamed resolver functions

Inspired by FreeBSD's r228435 by kib@freebsd.org.
2014-08-25 20:40:52 +00:00
joerg
2d09463d91 Allow creation of indirection functions on all platforms, not just GNU
and FreeBSD.
2014-08-25 20:34:36 +00:00
pooka
67433f3a0f Remove and obsolete rumpkern_time as a separate component. 2014-08-25 18:44:02 +00:00
reinoud
f2e3a5e0ac Enable Xuhost gpio pins; they are the same on Exynos5 series. 2014-08-25 16:56:14 +00:00
reinoud
50d38267fb Relax the timing around the usb lan9730 powercycle. 2014-08-25 16:49:43 +00:00
bouyer
18d9435662 Go back to the initial context (as tests/lib/libc/sys/t_swapcontext.c does)
after checking pthread_self() didn't change. Otherwise the process exits
outside of atf context.
Should fix "Test case exited normally but failed to create the results file: Results file is empty" reports from atf-run.
2014-08-25 16:31:15 +00:00
christos
d09cee68fb use the same dynamic sources trick to make sure that the first dependency
is the c source file so that IMPSRC gets set correctly.
2014-08-25 16:27:25 +00:00
pooka
b124cf15b4 No longer create a special process context to fork remote clients off
of, simply always rfork off of proc1 closing all descriptors, and have
the rump kernel open 0/1/2 if the parent process is "1".

Fixes tests/rump/rumpkernel/t_sp, which was failing since the
abovementioned special process change due to attempting to deliver a
signal to the special process and the special process was not equipped
to handle one.
2014-08-25 14:58:48 +00:00
christos
386021af1d Use .PATH because the newmake does not apply pattern rules to sources in
other directories. Leave the comment and the old code for now so people
are aware that this might not work.
2014-08-25 14:11:51 +00:00
wiz
5adf9990dc Fix date. 2014-08-25 13:22:20 +00:00
tsutsui
883c1c3776 Add a man page for arcofi(4) driver. From OpenBSD. 2014-08-25 12:49:22 +00:00
christos
4e7b74dc34 change to no-deprecated-declarations 2014-08-25 11:48:01 +00:00
christos
6f1dbb71d2 add missing lint library.
XXX: pullup-7
2014-08-25 10:52:10 +00:00
justin
404e3c9501 lso translate errno in the rumpfiber version 2014-08-25 10:33:32 +00:00
apb
4a34c3a382 Fix error in previous. The sed command really wants one long line. 2014-08-25 10:25:53 +00:00
justin
103543d43b Add errno translation for bio operations 2014-08-25 10:21:39 +00:00
riastradh
39705e3af5 Use the right BAR for MMIO register sizing on i810. 2014-08-24 22:56:18 +00:00
skrll
c25cc9d720 Correct the mmc clock. Banana Pi can now find an SD card. 2014-08-24 21:42:06 +00:00
msaitoh
49592136f0 Set the WM_F_ATTACHED flag if wm_attach() finished succesfully and check
the flag in wm_detach(). It will avoid to panic in wm_detach().
Fixes PR#49102.
2014-08-24 21:15:35 +00:00
rmind
209a62dda0 npf_config_submit: finally, include the saved connections. 2014-08-24 20:37:35 +00:00
rmind
b1889f11ee - npf_conn_import: add a missing stat counter increment.
- npf_nat_import: add a missing reference and make a comment.
2014-08-24 20:36:30 +00:00
joerg
0bcce746b8 Add note about the config rebuild. 2014-08-24 20:30:49 +00:00
joerg
45c6ebd5f6 Revert last, bump required config version instead. 2014-08-24 20:23:38 +00:00
joerg
aa44bc3b18 Bump CONFIG_VERSION. 2014-08-24 20:22:18 +00:00
palle
5f4732d296 Initialize IOMMU control and status register properly - from OpenBSD - ok mrg@ 2014-08-24 19:09:43 +00:00
palle
f1503a8db0 Generalize the code to allow for arbitrary interrupt wirings - with this change the serial console is usable on Sun Fire V445 systems - from OpenBSD - ok mrg@ martin@ 2014-08-24 19:06:14 +00:00
apb
497135b74d Avoid splitting sed programs over multiple lines with
<backslash><newline><indentation>.  Use multiple -e options instead.
2014-08-24 18:27:16 +00:00