Commit Graph

236768 Commits

Author SHA1 Message Date
msaitoh 122c565fcd Add NVMe. 2015-07-27 15:46:03 +00:00
msaitoh 766e6e09f1 KNF. 2015-07-27 15:45:20 +00:00
martin 7b553b530b Add driver debug entries 2015-07-27 09:59:49 +00:00
maxv 66b146ac99 Several changes and improvements in KMEM_GUARD:
- merge uvm_kmguard.{c,h} into subr_kmem.c. It is only user there, and
   makes it more consistent. Also, it allows us to enable KMEM_GUARD
   without enabling DEBUG.
 - rename uvm_kmguard_XXX to kmem_guard_XXX, for consistency
 - improve kmem_guard_alloc() so that it supports allocations bigger than
   PAGE_SIZE
 - remove the canary value, and use directly the kmem header as underflow
   pattern.
 - fix some comments

(The UAF fifo is disabled for the moment; we actually need to register
the va and its size, and add a weight support not to consume too much
memory.)
2015-07-27 09:24:28 +00:00
skrll a85df79f98 Don't timeout waiting for ld_sdmmc_dobio in the IO thread to start.
XXX why does it take >1s to get scheduled?
2015-07-27 07:53:46 +00:00
pooka 4169abe3e4 Print the "halted\n" from previous commit to stdout, not stderr.
The putchar hypercall writes to stdout, so this change restores
the original "functionality" (which was not intended to change).

from gson, via tests
2015-07-27 07:31:00 +00:00
msaitoh 53b3110f9e Add ACPI_RESOURCE_TYPE_END_TAG and ACPI_RESOURCE_TYPE_ADDRESS64. 2015-07-27 04:50:50 +00:00
wiz d54956fea0 Spacing; Fn -> Xr for jemalloc. 2015-07-26 22:32:03 +00:00
wiz 66d1cd0cb5 Use An in AUTHORS section. 2015-07-26 22:22:24 +00:00
kamil f7f1e07c2d Update the ACPICA entry
Version:       20150410
Current Vers:  20150717
2015-07-26 19:31:19 +00:00
jmcneill 8e8646698a - Support multi-channel (> 2) output to HDMI sinks.
- Fix a bug in hdafg_set_params that could program converters using the
  wrong audio_params_t if auconv is in use
- Force Tegra124 HDMI codec to a fixed rate 44.1kHz
2015-07-26 19:06:26 +00:00
jmcneill 9ac658bba2 set HDAUDIO_FLAG_NO_STREAM_RESET quirk 2015-07-26 17:54:46 +00:00
jmcneill fd314950d4 Skip stream reset if HDAUDIO_FLAG_NO_STREAM_RESET flag is set. 2015-07-26 17:54:33 +00:00
kamil 01f63c44fd Bump date for recent changes 2015-07-26 17:37:38 +00:00
kamil 28de1b8a34 Sync parameter name with efun.c
This change is non-functional.
2015-07-26 17:36:38 +00:00
martin def993fa14 Defer using pthread keys until we are threaded.
From Christos, fixes PR port-arm/50087 by allowing malloc calls prior
to libpthread initialization.
2015-07-26 17:21:55 +00:00
kamil 13f3706081 Add history of allocators
Idea accepted by <christos>
No objctions from <riastradh>
2015-07-26 17:09:29 +00:00
christos c0c6a84ba3 From Timo Buhrmester: Fix wrong parameter description 2015-07-26 17:03:06 +00:00
kamil 4f643221a3 mandoc lint 2015-07-26 17:00:37 +00:00
abs df80c91dd1 Avoid NULL dev_priv->vlv_pctx-> deref in a WARN check on Lenovo B50-30,
add an additional check for the NULL dev_priv->vlv_pctx.
System now boots (though does not recognise any of the USB(3) ports)
pullup#7
2015-07-26 15:30:36 +00:00
kamil 382f8944d9 Bump shlib minor for new function: ereallocarr(3)
Noted by <mrg>
2015-07-26 15:15:31 +00:00
jmcneill 773727c6cf fix a few typos in the audio infoframe we build 2015-07-26 15:12:03 +00:00
tsutsui 5636e147a4 Don't set garbages into BAT registers, which was broken in rev 1.25.
Should fix PR port-macppc/50018 (though there is no response for 3 weeks),
and should be pulled up to netbsd-7.
2015-07-26 14:24:29 +00:00
kamil c4c10ad1a1 Add reallocarr(3) to tools/compat
This should unbreak libutil(3) creation on systems withot reallocarr(3).
2015-07-26 14:01:53 +00:00
mrg 69f3e6744c properly copy regs for kgdb, and define the number of registers properly.
from openbsd via Vicente Chaves and PR port-amd64/50091.
2015-07-26 10:49:05 +00:00
jmcneill 41a4a26eaf disable DEBUG and LOCKDEBUG 2015-07-26 10:09:53 +00:00
mrg 4bebf46978 remove unused files. 2015-07-26 09:04:15 +00:00
hannken cc0ff39f8b Remove bogus "mutex_enter(&mntvnode_lock)". 2015-07-26 08:33:53 +00:00
hannken 0d4b7ea93d lfs_flush_pchain: replace vget() with vcache_get(). 2015-07-26 08:13:23 +00:00
skrll e9327279d7 Whitespace 2015-07-26 07:23:10 +00:00
kamil dc83c1546e Add license header (the NetBSD 2-clause version) with (C) TNF 2015-07-26 02:29:44 +00:00
kamil ec6de4df8b reallocarray(3) cleanup
Add missing NetBSD CVS Id
Don't define twice _OPENBSD_SOURCE
2015-07-26 02:22:33 +00:00
kamil 2cf5f6af2b Add ereallocarr(3) to libutil
ereallocarr(3) wraps reallocarr(3) and embeds return status validation.

Older version reviewed by <riastradh> and <christos>
2015-07-26 02:20:30 +00:00
matt a9f3026e70 KASSERT->KASSERTMSG 2015-07-26 00:15:53 +00:00
sevan bf748072f6 Drop the case '?' which is defined after case 'default'.
case 'default' statement introduced in the last commit to cat.c in the CSRG archive.
Obtained from OpenBSD bin/cat/cat.c r1.3.
2015-07-25 16:17:01 +00:00
jmcneill 2b9ac15191 remove debug printfs, dont force hdmi mode 2015-07-25 15:55:31 +00:00
jmcneill 0397e14b90 Add HDMI audio support 2015-07-25 15:50:42 +00:00
jmcneill d080cb0210 Fix block offsets for ddc_read_edid_block. 2015-07-25 15:20:49 +00:00
jmcneill f57dc65f83 For DDC, we don't have a real I2C bus, but instead read an EDID block at
a time. Read the blocks ourselves instead of pulling in ddc_read_edid.
2015-07-25 15:19:54 +00:00
hannken 0df0ac5339 Another lfs superblock accessor (inside #ifdef 0). 2015-07-25 13:01:06 +00:00
martin 7f29db77f4 Use accessors in DEBUG and DIAGNOSTIC code as well 2015-07-25 10:40:35 +00:00
mlelstv 1cd8415fdc Handle getfsspecname errors. 2015-07-25 10:37:22 +00:00
skrll 76e78fa82e IPIs should be IPL_HIGH according to rmind@
Fix bcm2836mp_pic_{un,}block_irqs to handle timer AND mailbox interrupts
if they're both passed.  Thanks to nat@ for finding this.

Sprinkle some KASSERTs
2015-07-25 08:43:41 +00:00
maxv bf3d892cef Memory leak. Same as r1.93. I don't know why Brainy didn't detect it
earlier; or perhaps I forgot to report it.

Found by Brainy.
2015-07-25 08:36:44 +00:00
isaki bbeaff6281 indent and some KNF. 2015-07-25 07:12:30 +00:00
isaki b0705370de white space -> tab. 2015-07-25 07:06:11 +00:00
isaki 3d092e0f6e sysinst is 15*2 sect/cyl (fdXc), not 8*2 sect/cyl (it's fdXa,
DOS compatible).  It makes the loading of sysinst a bit faster.
Pointed out by Yosuke Sugahara.
2015-07-25 06:58:37 +00:00
isaki 8f16a95caf Add a comment on mnemonic that assembler cannot recognize. 2015-07-25 06:24:53 +00:00
matt 4ce48948b8 Remove unofficial AVR32 2015-07-24 21:27:03 +00:00
matt 86bf45f4e0 Add a few more EM_* 2015-07-24 21:09:25 +00:00