Commit Graph

227058 Commits

Author SHA1 Message Date
tsutsui dc01298fe1 Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.
On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4).  In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)

Should be pulled up to all netbsd-6* branches.
2014-04-29 18:38:27 +00:00
matt 42a1bb1b40 Add opt_rasoc.h 2014-04-29 17:24:11 +00:00
matt 31ad70f277 Stub for PCI/PCIe support for RT3883/MT7620 2014-04-29 17:21:24 +00:00
matt 272c0890ba Clean these up and move some defines to ralink_reg.h 2014-04-29 17:10:07 +00:00
matt 7cfc5595df More MT7620 definitions 2014-04-29 17:09:17 +00:00
reinoud ac49720f51 Commit initial USB adapter support and associated DMA tags 2014-04-29 16:47:10 +00:00
uebayasi f03da5f1d6 Revert previous for now; resolvepath() has to work for file paths too. 2014-04-29 11:52:51 +00:00
macallan 18894e0b3b return a match score >1 to beat out genfb if present 2014-04-29 11:16:25 +00:00
nonaka eac5953207 regen 2014-04-29 10:56:38 +00:00
nonaka 040f5471fa Added Planex GW-USFang300 entry. 2014-04-29 10:55:02 +00:00
uebayasi a270487d77 Indent. 2014-04-29 09:58:18 +00:00
uebayasi 4f67388957 Refactor a little to remove huge indents. 2014-04-29 09:56:16 +00:00
uebayasi 0db0bb3da5 Split huge monolithic functions for readability. 2014-04-29 09:42:51 +00:00
martin 84b6e2e4fd Specify both -march=68030 and -mcpu=68030 for assembler files here
as well.
2014-04-29 08:11:46 +00:00
uebayasi 601713acc4 resolvepath: Resolve .. in absolute paths. 2014-04-29 06:51:57 +00:00
uebayasi 413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00
christos f48bd7a250 need bsd.own.mk 2014-04-29 01:21:02 +00:00
matt 9130dd89d8 Add pci attachment 2014-04-28 22:59:49 +00:00
christos 7081cf9a59 need bsd.own.mk 2014-04-28 21:56:20 +00:00
jakllsch 849344e6ee Makefile glue to build libgnuefi; similar to libsa or libkern. 2014-04-28 19:09:29 +00:00
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