abhinav
4b784bbbb4
Fix typo: s/DIANOSTIC/DIAGNOSTIC
2017-06-03 08:44:59 +00:00
abhinav
7fecf65cb1
Add `instantiate'
2017-06-03 07:30:50 +00:00
jmcneill
004b2fe30d
Trigger a software interrupt if any packets were transmitted in
...
lan9118_start to workaround a possible issue where completion interrupts
are missed and the watchdog timer fires.
2017-06-02 23:39:08 +00:00
jmcneill
58a6ed319e
Create /dev/openfirm device for ofctl(8).
2017-06-02 22:20:21 +00:00
macallan
6c298c65b4
enable font loading / screen resizing
2017-06-02 22:08:00 +00:00
jmcneill
254e5cd5bf
Sleep before reboot/shutdown to let uart fifo flush
2017-06-02 21:26:20 +00:00
skrll
7e8ae6f74d
Fix the fix by removing redundant lines. Thanks chuq.
2017-06-02 21:20:47 +00:00
jmcneill
704bbb2cea
Add driver for ARM Motherboard Express uATX system control registers. Use
...
this to make "poweroff" DTRT in qemu (and hopefully on real hardware too).
2017-06-02 21:16:42 +00:00
jmcneill
08e7d9faf5
Add SMP support to VEXPRESS_A15 kernel. Enable with '-smp 2' on qemu
...
command line.
2017-06-02 20:16:05 +00:00
skrll
83a018d3cb
Fix up some instructions. Prompted by chuq.
2017-06-02 19:58:31 +00:00
kamil
e8043b0019
Convert EV_SET(2) back into macro again
...
This retains compatibility with other moder BSDs if someone uses:
"#ifdef EV_SET".
This code also casts the last parameter to intptr_t, as other BSDs keep
this argument with a different type void*.
This change renames function EV_SET to EV_SET_, and calls it from EV_SET().
Credit to <christos> and <kre> for feedback.
Sponsored by <The NetBSD Foundation>
2017-06-02 19:44:06 +00:00
macallan
1322169bda
enable font loading and screen resizing, now that the glyph cache can be
...
reconfigured whenever needed
2017-06-02 19:35:54 +00:00
macallan
9dac688052
- add a cookie to show_screen_cb()
...
- call show_screen_cb() when loading a font into a visible screen, so this can
be used to track parameters by drivers that use the glyph cache
2017-06-02 19:33:51 +00:00
macallan
6743ac6be4
make glyph caches reconfigurable
2017-06-02 19:30:10 +00:00
para
2c8d4f6106
pool_init does not copy its name argument
...
therefore don't pass in a stack allocated buffer
vmstat -mv shows pool(s) with broken name(s)
use the name argument passed into wqinput_create directly
which is a static string in all 4 callee cases
(workqueue_create/workqueue_init copies the name argument)
2017-06-02 19:10:19 +00:00
martin
bdc5add69f
Update to rawrite32 1.0.5 (new signatures to avoid scary windows
...
warnings)
2017-06-02 18:19:33 +00:00
abhinav
e796b9d453
Fix typo
2017-06-02 17:42:51 +00:00
jmcneill
ccba8120e3
Switch VEXPRESS_A15 kernel to use FDT and GENERIC.common. The dtb for this
...
kernel can be found in the sysutils/dtb-arm-vexpress package as
vexpress-v2p-ca15-tc1.dtb
2017-06-02 15:22:47 +00:00
jmcneill
636d239ab9
gpiokeys depends on sysmon_envsys and sysmon_power
2017-06-02 15:09:16 +00:00
jmcneill
1f383b3950
Add fdt glue for ARM PrimeCell UART (PL011).
2017-06-02 14:30:58 +00:00
jmcneill
faf8273e90
Allow platform code to specify the UART frequency for consinit
2017-06-02 13:53:28 +00:00
jmcneill
e9d9683705
Fix interrupt-map support on vexpress-a15 and try to avoid unnecessary
...
calls to kmem_alloc.
2017-06-02 13:12:33 +00:00
jmcneill
0bd802df72
Add fdt glue for ARM PrimeCell Multimedia Card Interface (MMCI).
2017-06-02 11:04:01 +00:00
jmcneill
4060e118b0
Separate clock frequency from maximum supported bus frequency.
2017-06-02 11:01:15 +00:00
jmcneill
5e4a054956
Add fdt glue for SMSC LAN9118 ethernet.
2017-06-02 10:46:07 +00:00
knakahara
6623cb2c35
rename crypto_mtx to cryptodev_mtx
...
It is used by cryptodev.c and ocryptodev.c only.
2017-06-02 09:46:57 +00:00
msaitoh
11e4957659
- Print NVM Image Version, PHY FW Revision, NVM Map version and OEM NVM
...
Image version
- s/TrackID/ETrackID/
2017-06-02 08:16:52 +00:00
ozaki-r
4ce45a7981
Assert inph_locked on ipsec_pcb_skip_ipsec (was IPSEC_PCB_SKIP_IPSEC)
...
The assertion confirms SP caches are accessed under inph lock (solock).
2017-06-02 03:41:20 +00:00
ozaki-r
a11fe34388
Rename IPSEC_PCBHINT_MAYBE to IPSEC_PCBHINT_UNKNOWN
...
MAYBE is maybe unclear.
2017-06-02 03:39:28 +00:00
ozaki-r
e808b63b2d
Get rid of redundant NULL check (NFC)
2017-06-02 03:34:10 +00:00
ozaki-r
401fa112b3
Tweak header file inclusions
2017-06-02 03:32:51 +00:00
kre
f0acc68ec6
Add a new test case "nested_arith" (that is, things like $(( 1 + $(( 2 )) ))
...
which will currently fail (some of the sub-tests, but this one stops on
first failure, so the test simply fails.) This will be corrected later today.
2017-06-02 01:50:48 +00:00
kre
3782bd48c9
Add 3 new subtests to the shell_params test case. These test currently
...
broken behaviour (so for now, 3 of 15 subtests will fail). This will
be corrected later today.
2017-06-02 01:48:13 +00:00
kre
06627d31e7
One more weird test of parsing (and correctly understanding) words
...
whose meaning is defined entirely by context.
For those who read commit messages, and want a (small) challenge,
work out where (and what) to insert as punctuation/operator chars
in the following to produce 3 ines of output, and what those will be:
for in in in do in do case in in in echo do do echo in esac done
(There are no comments, quotes of any kind, or any kind of sub-shell,
including cmd substitutions) With correct non alpha-numeric chars added,
it works.
2017-06-02 01:45:06 +00:00
kre
bdbf3d66ba
Guard against EVN being set, and possibly referencing an unset
...
variable, when we are running tests with sh -u
2017-06-02 01:38:44 +00:00
ozaki-r
243e38c0a1
Change the prefix of function names of SADB API handlers to key_api_
...
By doing so we can easily distinguish them from other utility functions.
And so we can easily know that they are all called from key_parse and
applied assumptions that the arguments are always non-NULL and they
are always called from userland, i.e., never called from interrupt
context (softint). As a result, we can omit some tedious assertions
in the functions.
2017-06-02 01:22:50 +00:00
ozaki-r
56383415f1
Add IPSEC_KEY_DEBUG
...
Enable the debugging feature of IPsec key (sysctl net.key.debug)
on rump kernels if the ATF test is run with IPSEC_KEY_DEBUG=true.
2017-06-02 01:18:51 +00:00
jmcneill
1fe21ada46
The "ranges" property provides a means of translating between the
...
address space of a bus and the address space of the bus node's parent.
Translate addresses using these rules in fdtbus_get_reg{,64}.
2017-06-02 01:07:53 +00:00
jmcneill
35bef7bd3d
Rewrite interrupt-map support based on ePAPR spec.
2017-06-02 00:55:26 +00:00
chs
ffb3d80455
localcount_init() can't fail because percpu_alloc() can't fail.
...
remove the check and change the return type to void.
2017-06-02 00:32:12 +00:00
jmcneill
2a1124ac80
FDT-ize "delay" by having fdt_machdep provide the delay() function and
...
move the implementations into the platform code.
2017-06-02 00:16:27 +00:00
jmcneill
b7a940d982
Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
...
/cpus node.
2017-06-02 00:09:56 +00:00
jmcneill
ffb2c722ea
Allow devices to attach to cpu devices
2017-06-02 00:01:00 +00:00
jmcneill
f180d8b138
Configure IRQ for active high polarity, push-pull driver.
2017-06-01 17:01:18 +00:00
jmcneill
7a1bfe1520
Add flags to control IRQ polarity and buffer type. These can be set by
...
the bus glue to switch to active high and/or push-pull configurations.
2017-06-01 16:59:20 +00:00
jmcneill
29dd01c1ca
The sdmmc layer will send single requests up to MAXPHYS (65536) in size.
...
The length field on PL180/PL181 is 16-bit, and can only support up to
65535 byte transfers.
Workaround this for now by setting the SMC_CAPS_SINGLE_ONLY flag to only
do single block (512-byte) transfers. While here set SMC_CAPS_4BIT_MODE
as well.
2017-06-01 16:57:12 +00:00
perseant
d4f6523beb
Add tests for btowc(3)/wctob(3) and enable compilation of the test for
...
digittoint(3).
The digittoint(3) test is skipped since we don't provide that function yet.
One of the test cases for btowc(3) is also skipped, since it tests conversion
to Unicode---whereas our wchar_t representation is locale-dependent.
2017-06-01 15:45:02 +00:00
pgoyette
478585ac27
Update sets lists for new modules
2017-06-01 09:59:13 +00:00
pgoyette
1e50c1dc0e
Add the modules for audio, midi, and sequencer
2017-06-01 09:58:27 +00:00
ozaki-r
ab52e45ac5
Simplify; we can assume the arguments are always non-NULL
2017-06-01 09:50:35 +00:00