ragge
9b5db8c705
gcc 5.5 has no problem with -O2 on boot.
2018-03-19 17:29:08 +00:00
ryo
0bcaff6ff5
move "defparam opt_machdep.h BOOT_ARGS" to files.evbarm from various places
2018-03-19 17:11:24 +00:00
roy
03ee279e62
rtsock: log dropped messages that we cannot report to userland
2018-03-19 16:34:48 +00:00
roy
a893a6a039
socket: remove now incorrect comment that so_error is only udp
...
As it can be affected by route(4) sockets which are raw.
2018-03-19 16:32:30 +00:00
roy
ffd39b7c9d
socket: clear error even when peeking
...
The error has already been reported and it's pointless requiring another
recv(2) call just to clear it.
2018-03-19 16:31:24 +00:00
roy
320ba6e2bf
socket: report receive buffer overflows
...
Add soroverflow() which increments the overflow counter, sets so_error
to ENOBUFS and wakes the receive socket up.
Replace all code that manually increments this counter with soroverflow().
Add soroverflow() to raw_input().
This allows userland to detect route(4) overflows so it can re-sync
with the current state.
2018-03-19 16:26:25 +00:00
bouyer
14c7c433bd
Make sunxi_ccu_div_set_rate() work on non-SUNXI_CCU_DIV_TIMES_TWO
...
clocks.
2018-03-19 16:19:17 +00:00
bouyer
a1f84860f6
Add some more A10/A20 clocks definitions; related to display engines.
...
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL
2018-03-19 16:18:30 +00:00
ragge
a3eeb1cb45
Use a common routine ubmap() that setup the map registers as needed,
...
not expecting everything to be below 4M. This solves the problem
that large kernels cannot be loaded reported on port-vax.
2018-03-19 15:43:45 +00:00
ragge
732d8d4a00
Do not use movc3 to copy boot program, it may be larger than 64k.
2018-03-19 15:37:56 +00:00
martin
de52eb4819
XXX stub it completely for now to make it compile
2018-03-19 13:26:02 +00:00
christos
16ebd747ed
XXX: don't reference the global for now so that kernels without ccd build.
2018-03-19 13:04:01 +00:00
martin
268b4832d4
Nowadays we can create new kernel threads late after boot, so if we are
...
unable to find physically continous pages for their uarea, just allocate
them via uvm_km_alloc(), that is: make cpu_uarea_alloc() fail instead
of panic. cpu_uarea_free() already deals with this.
Should fix PR port-alpha/53077.
Discussed with maxv and mrg.
2018-03-19 10:31:56 +00:00
mlelstv
a23ee50408
Check device parameter to avoid segfaults. Agument synopsis for -l option.
2018-03-19 09:06:20 +00:00
ryo
0a54329285
sunxi: mmc: increase max number of descriptors available for DMA transfers
...
patch from jmcneill@
2018-03-19 08:57:57 +00:00
ozaki-r
d52b83d757
ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8)
...
Requested by mrg@
2018-03-19 08:41:21 +00:00
ozaki-r
3cbd26226a
Pull out a sleepable function (in6_selectsrc) from a pserialize read section
2018-03-19 03:14:08 +00:00
msaitoh
d714ebf51d
s/been been/been/ in comment.
2018-03-19 03:12:09 +00:00
msaitoh
f96d27e840
s/copy copy/copy/ in comment.
2018-03-19 03:11:39 +00:00
christos
2256e8d4b1
remove another error decl.
2018-03-19 00:21:50 +00:00
christos
664f132ddf
remove error decl
2018-03-18 23:26:38 +00:00
christos
6c5623dc1b
- use the conditional from the header file
...
- fix compilation
2018-03-18 23:22:15 +00:00
pgoyette
17d316f55e
Declare 'error' if needed
2018-03-18 22:48:00 +00:00
christos
e634efa8ef
factor out the ccd COMPAT_60 code.
2018-03-18 20:33:52 +00:00
christos
f289300d56
remove extra function.
2018-03-18 15:42:37 +00:00
christos
8cfc5bb014
- Convert sb_lowat to unsigned for consistency. There are no negative value
...
uses
- Check for overflow as mentioned in the comment
- Sprinkle const
2018-03-18 15:32:48 +00:00
christos
00cf4274d3
stsrt with an alignment of 1 (which means no alignment). From alnsn
2018-03-18 13:18:39 +00:00
jmcneill
bff7590cf4
Fix path to system.ctwmrc
2018-03-18 11:40:41 +00:00
jmcneill
bf9faf727b
Enable BUFQ_PRIOCSCAN
2018-03-18 11:33:58 +00:00
ragge
09f0676ad8
Fix spelling error and boot block naming.
...
This man page needs a major update.
2018-03-18 10:54:54 +00:00
christos
4ca63f4c79
include compat/sys/cpuio.h and multiple include protection.
2018-03-18 04:10:39 +00:00
christos
109cfb3271
Turn KASSERTS that check alignment which are user triggerable into errors.
...
From alnsn
2018-03-18 02:16:21 +00:00
christos
cf143c3723
finish MD glue for compat ucode module.
2018-03-18 00:51:45 +00:00
christos
83b317da58
Separate the compat code in its own file to facilitate module building.
2018-03-18 00:17:17 +00:00
jmcneill
27aaea9d2f
Official builds now append a timestamp to the kernel config name, so we
...
can no longer rely on matching an exact name like "(INSTALL32_IP3x)".
Strip the trailing ) from the version strings checked so sysinst will
install the correct bootloader and kernel again.
2018-03-17 22:27:04 +00:00
christos
b535752d0a
dedup microcode handling.
2018-03-17 20:03:01 +00:00
christos
cb69d2f430
dedup and handle XEN here.
2018-03-17 20:02:32 +00:00
jdolecek
abf6f6277c
regen
2018-03-17 19:37:49 +00:00
jdolecek
a13a1695df
add LAN78xx family (Raspberry Pi 3B+) entries - PR kern/53105
2018-03-17 19:37:11 +00:00
christos
879e43ae3a
move the compat code in compat.
2018-03-17 19:03:25 +00:00
christos
ab151d3e85
redo the cpu ucode compat code.
2018-03-17 19:00:23 +00:00
ryo
eabbe28c9b
move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
...
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag
no functional change. (preliminary changes for merging aarch64)
2018-03-17 18:34:09 +00:00
christos
6195758a85
sync with x86; the version code could be merged.
2018-03-17 18:22:23 +00:00
maxv
53232bc18f
Add missing opt_svs.h.
2018-03-17 17:12:39 +00:00
christos
698419424d
tuck in all the compat microcode code in one place.
2018-03-17 15:56:32 +00:00
jmcneill
95923c6fe2
Add support for overriding the video mode by setting an ARCS environment
...
variable.
If the "crmfb_mode" environment variable is set, treat it as a mode
string in the form WIDTHxHEIGHT[@REFRESH] and generate monitor timings
using the VESA GTF formula. If set, this overrides the EDID preferred
mode.
2018-03-17 13:14:27 +00:00
jdolecek
f24079bab1
use setprogname()/getprogname(), do not hardcode the prognam name in fixed
...
strings
2018-03-17 11:07:26 +00:00
nakayama
2819bbab3f
Disable wchar_t support since our C library does not treat wchar_t
...
as UCS-4 in the case of non-UTF-8 locales.
This feature was controlled by USE_WCHAR and disabled on NetBSD 7.
2018-03-17 11:06:48 +00:00
maxv
18e572265e
Set the scopes before calling icmp6_error(). This fixes a bug similar to
...
the one I fixed in rev1.17: since the scopes were not set the packet was
never actually sent.
Tested with wireshark, now the ICMPv6 reply is correctly sent, as
expected.
2018-03-17 10:42:23 +00:00
maxv
9da1cd5b6c
Fix the IPv6 payload computation in npf_tcpsaw. It was incorrect, and this
...
caused the "return-rst" rules to send back an RST with the wrong ACK when
the received SYN had an IPv6 option.
2018-03-17 10:21:09 +00:00