229795 Commits

Author SHA1 Message Date
reinoud
ffdc8e8837 Dump the PLL frequencies on startup on VERBOSE_INIT_ARM 2014-09-02 14:07:50 +00:00
reinoud
9db99e28c1 Fix typos 2014-09-02 13:47:57 +00:00
jmcneill
58547d80b9 improved playback error handling, and get rid of junk+silence insertion at the beginning of playback 2014-09-02 10:40:51 +00:00
jmcneill
01fa52057e use a fixed frequency (48kHz) and configure the audio server at attach time, instead of at the beginning of playback 2014-09-02 09:58:02 +00:00
jmcneill
95c59df5a7 IPL_VM -> IPL_SCHED, and callout_stop -> callout_halt 2014-09-02 09:55:48 +00:00
jmcneill
fdfb248720 IPL_VM -> IPL_SCHED 2014-09-02 09:54:20 +00:00
dholland
33586bcc4e Provide real error messages.
Inspired by PR 49169 from David H. Gutteridge, but a much broader patch :-)
2014-09-01 21:42:21 +00:00
he
0c1e81ec7e Remove redundant test for rl == NULL, that's already established
right after its allocation, and rl isn't re-assigned later.
2014-09-01 19:46:55 +00:00
palle
bedc9103e4 cpu_boot_secondary_processors() needs a platform independent way to get the cpu id, so use cpu_myid() instead of sun4u specific CPU_UPAID 2014-09-01 19:01:55 +00:00
he
7fcec1e880 Plug memory leak in add_peb_to_free() and add_peb_to_in_use()
in case there's a duplicate in the tree.
2014-09-01 16:48:42 +00:00
he
9e25a2c2c8 Plug memory leak in error returns and normal operation in
chfs_gcollect_pristine().
2014-09-01 16:46:56 +00:00
msaitoh
e537a54716 Fix a bug that wm_get_swsm_semaphore() timed out when attaching device on some
machines.
- Calculate NVM word size correctly.
- Determine timeout value based on the NVM word size.
2014-09-01 16:42:27 +00:00
he
3f59fd906f Plug memory leaks in error returns in chfs_readvnode(). 2014-09-01 16:33:20 +00:00
he
cb8ef348c1 Plug memory leak in a corner case in chfs_get_data_nodes(). 2014-09-01 16:31:17 +00:00
he
84353ac61b Plug leak in chfs_scan_eraseblock() of the allocated buffer.
Make sure to release it both on success and failure returns.
OK'ed by ttoth@
2014-09-01 16:27:38 +00:00
reinoud
c3be0f0d4a Update the cycle counter i.e. our CPU frequency for all CPUs on setting the
cpu frequency.
2014-09-01 14:19:27 +00:00
apb
893aa1d4bf Add tools/README, to collect hints like how to use
.if defined(HOSTPROG)

and

#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif /* HAVE_NBTOOL_CONFIG_H */
2014-09-01 13:50:15 +00:00
reinoud
85473ae95c Increase the `freqbuf' buffer that holds the result of humanize_number(). Now
it prints 1600 Mhz instead of 1 Ghz.
Pitty enough humanize_number(9) doesn't do 1.6 Ghz type output.
2014-09-01 13:43:31 +00:00
apb
d2f4f342ce If HAVE_NBTOOL_CONFIG_H is set, then include "nbtool_config.h",
because this file is compiled as part of tools/makefs.
2014-09-01 12:25:52 +00:00
apb
5b258ea38b Revert previous; test secs > __type_max(time_t) again, now
that __type_max is available in tools/compat/compat_defs.h.
2014-09-01 11:21:29 +00:00
apb
20e1ccfe27 Copy definitions of __type_min(t), __type_max(t), and some related macros,
from <sys/cdefs.h>, for use when building tools.
2014-09-01 11:20:06 +00:00
martin
3c93e210ff Make msdosfs time conversion use the y/m/d/h/m/s conversion functions
from clock_subr.c and compile that into the userland (and tools)
makefs as well.
2014-09-01 09:09:47 +00:00
matt
81ca7445e9 Avoid trigraphs 2014-09-01 08:21:26 +00:00
martin
1800e89b77 Reformulate an overflow test so it can be used in tool builds (i.e. does
not depend on netbsd specific macros).
2014-09-01 07:49:43 +00:00
martin
d67a8a7def Add a slightly stripped down version of sys/dev/clock/clock_subr.h to make
this code available for tools.
2014-09-01 07:48:16 +00:00
matt
a4055c59ef float32_is_signalling_nan needs a prototype if SOFTFLOATM68K_FOR_GCC is
defined.
2014-09-01 07:33:31 +00:00
matt
905f9a1ab9 Make random.S invisible for coldfire too (e.g. anything not "m68k") 2014-09-01 07:32:35 +00:00
manu
5b31193998 read and write commands for pcictl, from riastradh@ and wiz@
http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html
2014-09-01 07:11:19 +00:00
gson
09436ed198 The t_ldp_regen test frequently fails under qemu, but reliably passes
on real hardware.  The failures are hardly surprising given that qemu
timing is off by a is off by a factor of two as reported in
PR kern/43997.  Disabling the test on qemu for now; it should be
re-enabled once 43997 has been fixed to see if it still fails then.
2014-09-01 06:38:35 +00:00
msaitoh
2a85c06ad0 Regen. 2014-09-01 03:14:50 +00:00
msaitoh
e746c32892 Add Samsung Electronics XP941 M.2 SSD 2014-09-01 03:14:16 +00:00
joerg
e4cd9bc4a2 Remove (now duplicated) target computation. 2014-08-31 20:06:22 +00:00
matt
57cc604bb7 These have been moved to evbarm/awin or conf/*.awin 2014-08-31 19:14:33 +00:00
matt
1dfddc4fb8 Move away from cubie to awin since "cubie" will actually work on non-cubie
boards.  Let the config file specify what board is being built for.
2014-08-31 19:13:01 +00:00
palle
5ef599a9a8 sun4v: Split the NORMAL_GLOBALS and ALTERNATE_GLOBALS macros to _SUN4U and _SUN4V variants. Rework the return_from_trap logic to use the new variants so it is possible to use a global register as scratch register. 2014-08-31 18:49:42 +00:00
wiz
12e2372174 Sort options. 2014-08-31 09:59:08 +00:00
mrg
8865fe7c92 add -N option to print the driver name as returned by pci_drvname(3). 2014-08-31 09:16:54 +00:00
martin
0edf2e8fd2 Make this compile- and usable from userland as well. 2014-08-31 08:54:40 +00:00
wiz
c11d7d47ce New sentence, new line. 2014-08-31 07:23:53 +00:00
christos
94162e221a PR/49134: Kamil Rytarowski: Add -q flag. 2014-08-31 07:05:33 +00:00
apb
e23e44ad12 Updated import script for tzdata2014g.
Aso added "cd" commands that were missed in the recent move from
src/share/zoneinfo to external/public-domain/tz.
2014-08-31 07:04:07 +00:00
apb
348c480661 zoneinfo: Import tzdata2014g. [apb 20140831] 2014-08-31 06:59:52 +00:00
apb
34449a0e34 tzcode2014g/tzdata2014g have been released. We have updated tzdata. 2014-08-31 06:58:59 +00:00
apb
acd39795c2 Import tzdata2014g from ftp://ftp.iana.org/tz/releases/tzdata2014g.tar.gz
Summary of changes in tzdata2014g (2014-08-28 12:31:23 -0700):
  * Turks & Caicos is switching from US eastern time to UTC-4 year-round,
    modeled as a switch from EST/EDT to AST on 2014-11-02 at 02:00.
  * Time in Russia or the USSR before 1926 or so has been corrected by
    a few seconds for several zones, and a few minutes for
    Asia/Yekaterinburg.
  * The Portuguese decree of 1911-05-26 took effect on 1912-01-01, not
    on the date of the decree.  This affects 1911 time stamps in
    Africa/Bissau, Africa/Luanda, Atlantic/Azores, and Atlantic/Madeira.
  * Lisbon's pre-1912 GMT offset was -0:36:45 (rounded from -0:36:44.68),
    not -0:36:32.
  * Asia/Dhaka ended DST on 2009-12-31 at 24:00, not 23:59.
  * A new file 'backzone' contains data which may appeal to
    connoisseurs of old time stamps, although it is out of scope for
    the tz database, is often poorly sourced, and contains some data
    that is known to be incorrect.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
  * Changes affecting documentation and commentary.
2014-08-31 06:46:20 +00:00
sjg
82b1920e05 Replace use of $() with ${}
$() means something special to the shell, so ${} reduces confusion
and is used almost exclusively in the rest of the makefiles.

Discussed with: christos
2014-08-30 22:21:07 +00:00
jmcneill
8c205f85ed cygwin64 support 2014-08-30 22:05:30 +00:00
jmcneill
c344f90c30 recognize cygwin64 2014-08-30 19:22:50 +00:00
kiyohara
dcb7622179 Pad L4 WAKEUP to 1M, like omap2_reg.h. 2014-08-30 15:21:17 +00:00
martin
d71217d354 clock_secs_to_ymdhms(9) takes seconds as a time_t, not int. 2014-08-30 14:48:10 +00:00
tsutsui
1a8dd01ee2 Revert stupid and untested changes. There was no extra copy in the macros.
Christos, you should reread our commit guideline as a Core member.
2014-08-30 14:24:02 +00:00