Commit Graph

226838 Commits

Author SHA1 Message Date
christos
12014f31d7 use the same for the route metrics part, both in the sysctl and kmem paths.
From Takahiro HAYASHI
2014-04-28 15:41:15 +00:00
joerg
0c55f87954 GC unwind_info_size. 2014-04-28 13:39:23 +00:00
martin
511cd1dbe5 Tune COPTS for alpha 2014-04-28 08:46:35 +00:00
martin
36cb4c7daa Skip the curtain test case if curtain is not enabled and we would not
be able to restore it to its old value later due to running at securelevel
above 0.
Previously this would fail and leave curtain enabled untill next reboot (but
causing further runs of the test to suceed, just to maximize confusion).
This went unnoticed initial since most modular test kernels run with options
INSECURE to allow exercising the kernel module loader.
2014-04-28 08:34:16 +00:00
pettai
72b299699e reformat line so webpage parser updates correctly 2014-04-27 21:45:53 +00:00
reinoud
79b4cc4c59 Exynos4's MCT doesn't interrupt on the MCT_LTIMER interrupt but on the
IRQ_G0_IRQ and/or the IRQ_MCT_G{0,1,2,3}. The later are not chosen yet since
they are behind the interrupt combiner.

Confirmed that it indeed calls hardclock() at the specified intervals.
2014-04-27 20:43:19 +00:00
reinoud
96af5e0768 We can't use IPL_SERIAL here, since it would mean its the same as IPL_HIGH
which panics the armgic's assertion.

In practice i dont think this will hurt since even the small queues are
relatively big.
2014-04-27 20:22:46 +00:00
pooka
30ef45d967 regen 2014-04-27 16:30:09 +00:00
pooka
ab08c00801 unsprinkle const to fix clang build. mmm, travis ci 2014-04-27 16:28:21 +00:00
matt
add36501e1 When dealing with the PMR register, only use non-secure priority values. 2014-04-27 16:22:13 +00:00
pooka
401f0b87d5 Remove LD_DYNAMIC_WEAK whine, by large it's not necessary anymore. 2014-04-27 15:26:05 +00:00
pooka
0cafe662ce weak alias removal implication: rumpuser_dl_globalsym() can now sleep
with the fishes.
2014-04-27 15:18:59 +00:00
pooka
9251b8c304 Eliminate weak symbols from rump kernel syscall handlers, part 7:
Build component constructors which establish syscalls at boottime.
2014-04-27 15:15:13 +00:00
pooka
97a5db624d Eliminate weak symbols from rump kernel syscall handlers, part 6:
Generate component constructors which establish non-modular syscalls.
2014-04-27 15:13:57 +00:00
pooka
4d8864ed4f Eliminate weak symbols from rump kernel syscall handlers, part 5:
regen syscalls to eliminate weak aliases and link-time initialization
2014-04-27 15:11:22 +00:00
pooka
f7f79bc05e Eliminate weak symbols from rump kernel syscall handlers, part 4:
Do not query system call handlers by using the rumpuser_dl_globalsym()
hypercall -- it will not work in environments which are not in control
of their own symbols (e.g. rumpuser-xen).  Instead, provide
rump_syscall_boot_establish(), which component constructors can use
to establish their non-modular syscalls.
2014-04-27 15:08:52 +00:00
pooka
28fecddfbc Eliminate weak symbols from rump kernel syscall handlers, part 3:
Add a tool to autogenerate callbacks from components to establish system
call handlers for non-modular syscalls.
2014-04-27 15:05:30 +00:00
pooka
94ebf9ba52 Eliminate weak symbols from rump kernel syscall handlers, part 2:
Generate a file (rump.sysmap) which can be used to autogenerate the
syscall loaders.  The file contains syscall handler names and numbers.

Also store "libc" side syscall names in rump.sysmap to help with
the rumprun build process.
2014-04-27 14:50:23 +00:00
pooka
0b435d6ec6 Eliminate weak symbols from rump kernel syscall handlers, part 1:
Initialize all non-modular syscalls to enosys and expect them to be
filled at boottime.  Do not create the now-unnecessary weak aliases.

Modular syscalls work as before.
2014-04-27 14:29:53 +00:00
joerg
d013f698cc Use the return address register from the CIE. Based on patch from Nick
Kledzik.
2014-04-26 23:17:38 +00:00
joerg
0af4f3b8a9 Don't use inline in C sources, it will certainly not work correctly with
a C99 compiler.
2014-04-26 22:38:09 +00:00
joerg
dbb874e7a4 Avoid enum type mismatch. 2014-04-26 22:10:40 +00:00
riastradh
a5c71a7d77 Convert pending_flip_lock to spin lock -- interrupt handlers take it. 2014-04-26 20:26:26 +00:00
wiz
5f9e0f41f2 Fix typo in previous. 2014-04-26 20:25:07 +00:00
joerg
380ce570fd Add initial unwind support for MIPS and MIPS64. 2014-04-26 20:15:48 +00:00
christos
7801950caf Include bsd.own.mk (hi pooka) 2014-04-26 18:53:21 +00:00
abs
6fe75f1616 Ensure pool_head is non static - for "vmstat -i" 2014-04-26 16:30:05 +00:00
riastradh
ba02a7d79e Replace cpu_relax() by DELAY(1) or DELAY(1000) to wait us/ms. 2014-04-26 14:55:43 +00:00
martin
724e066fba Increase alignement of the global "buf" variable to cover all pointers it
is casted too. Fixes a crash on arm v5.
2014-04-26 14:15:08 +00:00
martin
ba42c3117b Provide proper alignement for "buf" - it is casted to a struct fs pointer,
so it requires the same alignement.
Fixes crashes on armv5.
2014-04-26 13:23:49 +00:00
pooka
c09af715b5 don't invade the __toolchain namespace 2014-04-26 11:23:56 +00:00
pooka
cd5f3c7d0b Move a few stubs to where they really belong; allows us to create
them as strong instead of weak symbols.
2014-04-26 11:23:03 +00:00
pooka
99ad67a71c kill weak aliases which are no longer necessary 2014-04-26 11:17:55 +00:00
pooka
0f54014c8e Decouple sockets linkage from interface code by making ifioctl() a pointer. 2014-04-26 11:16:22 +00:00
pooka
1814443234 It's been > 20years since rtioctl() did something. Let's just
remove that special way of returning EOPNOTSUPP.
2014-04-26 11:10:10 +00:00
tsutsui
f7f035c7f9 Bump versions to denote recent 425e related changes. 2014-04-26 07:53:41 +00:00
mrg
135963a271 regen. 2014-04-26 07:32:56 +00:00
mrg
733cb1e627 add some new Attansic ethernet devices (but no driver) 2014-04-26 07:32:26 +00:00
riastradh
1e41db3906 Implement Linux dmi_check_system API.
Use it to get a Thinkpad quirk for i915 graphics.

Patch from nonoka@, PR 48708.
2014-04-25 23:54:59 +00:00
riastradh
2719ac5329 Fix binary search logic.
Doesn't matter for the one user of this, but still.
2014-04-25 23:54:58 +00:00
martin
fcfb623e10 If we don't find any label, default partition a to full disk size
and type 4.2BSD (like most other architectures and everything using MBR
does).
2014-04-25 20:17:28 +00:00
pooka
2cd42818a5 cpu_reboot() is more of an emul.c thing than a rump.c thing 2014-04-25 19:56:01 +00:00
riastradh
8e210af663 Fix hot-plug with small patch from upstream before a full update. 2014-04-25 19:07:55 +00:00
riastradh
22b20e4adc Take the console only from vga or generic genfb.
Adapted from a patch by nonaka@ in PR 48705.

While here, attach i915 genfb earlier as in PR 48706.
2014-04-25 19:02:51 +00:00
riastradh
726fabb799 Adapt Linux i915 wait_for to use DELAY so it works while cold.
Adapted from a patch by nonaka@ in PR 48706.
2014-04-25 18:38:54 +00:00
pooka
366b2dd23e Apparently clang pretends to be gcc 4.2 but is secretly much awesomer
than gcc 4.2, so enable the stpncpy() wrapper also for clang.
2014-04-25 18:37:38 +00:00
pooka
21061bdf88 gardenize: function calls over #ifdefs 2014-04-25 18:31:35 +00:00
riastradh
9b5b162102 Add applesmc(4) to {i386,amd64}/ALL. 2014-04-25 18:25:52 +00:00
pooka
d6ce63669d gardenize rump.c: move data structure helper routines to accessors.c 2014-04-25 18:25:38 +00:00
pooka
10b8dd3fa2 gardenizing rump.c: move rump_lockdebug to locks.c 2014-04-25 18:13:59 +00:00