Commit Graph

229779 Commits

Author SHA1 Message Date
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
kiyohara
00d9d04946 Move options __HAVE_MM_MD_DIRECT_MAPPED_PHYS from MIRABOX to ARMADAXP.
It is must required.
2014-08-30 13:45:56 +00:00
kiyohara
0ea999a21f Add options __HAVE_MM_MD_DIRECT_MAPPED_PHYS and set KERNEL_BASE_{EXT,VIRT}.
And support VFP.
2014-08-30 13:40:18 +00:00
kiyohara
9e620e2f41 Fix initialize PJ4B. 2014-08-30 13:28:07 +00:00
kiyohara
586b335e2c Fix broken registers. 2014-08-30 13:24:44 +00:00
kiyohara
a31b3d055c Support __HAVE_MM_MD_DIRECT_MAPPED_PHYS. 2014-08-30 13:19:52 +00:00
kiyohara
d3fda78cda Use armreg_ttbr_read() instead of __asm("mrc ..."). 2014-08-30 13:15:52 +00:00
christos
c30be26b21 remove extra copy of the macro. 2014-08-30 13:09:27 +00:00
kiyohara
c68d02befa It expects return value 'va != NULL' from uvm_km_alloc(). 2014-08-30 13:02:01 +00:00
tsutsui
e58317de49 Rename padding macros to reflect and clarify the original intention.
No binary changes on luna68k (which has -DLIBSA_PRINTF_WIDTH_SUPPORT).
2014-08-30 12:23:38 +00:00
gson
56e22ea3cf On systems that have only 32M of memory, the stress_short and
stress_long tests thrash a lot, and the stress_long test sometimes
times out, so skip them if we don't have at least 64M.
2014-08-30 12:14:17 +00:00
apb
bb7c004bd3 When converting a disklabel partition type integer to a wedge partition
type string, use the strings defined in DKW_PTYPE_* in <sys/disk.h>, not
the strings defined in FSTYPE_DEFN in <sys/disklabel.h>.

This corrects a problem introduced in revision 1.21 dated 2014-08-18.
That change was intended to add additional case to the list, but it
accidentally also changed from the strings in the DKW_PTYPE_* macros to
the strings in the FSTYPE_DEFN macro.  Many of the strings are the same,
but there are differences such as "RAID" versus "raidframe" and "MSDOS"
versus "FAT".

XXX: There seems to be no good reason for the differences in string
names for partition types.  One or both of the lists should probably be
edited to align them.
2014-08-30 09:35:10 +00:00
apb
c26d630ad3 Ensure each symbol used in FSTYPE_DEFN in <sys/disklabel.h>
has a corresponding DKW_PTYPE_* definition, by adding some aliases.

XXX: Compatibility between the symbols in FSTYPE_DEFN and the symbols
in DKW_PTYPE_* could be addressed by renaming some of them, instead of
by adding aliases here, but that's a job for the future.
2014-08-30 09:23:29 +00:00
christos
addbc7f884 Cleanup the confusion with getting the pid of a sparc debugged process.
If the comments were correct, then this should be factored out to the
OS-specific native code, and the general code should remain sane.
2014-08-30 07:55:44 +00:00
sjg
294be283d0 *.rawout are out-of-date if ${TEST_MAKE} is newer. 2014-08-29 20:03:27 +00:00
gson
1beb02a6c3 Don't pass an uninitialized variable as the times[] argument of
rump_sys_utimes().  Instead, pass combinations of values representing
edge cases: the farthest possible past, the epoch, and the farthest
possible future.  Now the excessive runtime reported in PR bin/49144
occurs reliably, on multiple architectures, and not only with udf, but
also with msdosfs.
2014-08-29 17:39:18 +00:00
sjg
75abee676e posix1.mk and suffixes.mk need to cleanup in order to achieve
repeatable results.
posix1.mk's lib.a target still looks dubious.
2014-08-29 15:55:44 +00:00