Commit Graph

222620 Commits

Author SHA1 Message Date
skrll
bc409d7b58 Fix /dev population of the evbarm images by using MAKEDEV -s and appending
to the mtree spec file passed to makefs.
2013-11-22 11:13:54 +00:00
martin
b2718b01b0 Fix stupid bug in previous (fixing fmodf) 2013-11-22 10:59:31 +00:00
jnemeth
9ceccfb63b change the "-b blocknr" parameter to accept a "human number" 2013-11-22 04:21:02 +00:00
jnemeth
d883a91427 bump date 2013-11-22 03:51:06 +00:00
jnemeth
4f22d16faa In the manpage:
- s/-b number/-b blocknr/
- s/-s count/-s sectors/
- s/-p count/-p partitions/

In the program:
- s/-b lba/-b blocknr/
- s/-s lba/-s sectors/

This makes the documentation in the manpage and the program consistent
and makes it more clear what the parameters are.  Also, "-s lba" was
just plain wrong since LBA stands for Logical Block Address[ing], and
the -s option didn't represent any kind of address, but rather a size.
2013-11-22 03:50:05 +00:00
dholland
0694926f8e fix typo; hi christos 2013-11-22 02:02:35 +00:00
rmind
85c1b3a579 Optimise checksum fixup routines:
- npf_fixup16_cksum: 1's complement sum is endian-independent.
- npf_fixup32_cksum: the first 32->16 bit reduction is not needed.

Pointed out by Valery Ushakov.
2013-11-22 01:48:36 +00:00
rmind
1c6c349315 npf_addr_mix: use xor rather than sum. 2013-11-22 01:24:21 +00:00
riz
bad09cf5aa Include i386_trap_ipkdb.S so the ALL kernel links. 2013-11-22 01:09:11 +00:00
riz
21d7553eda Remove stray #ifdef leftover from file split. 2013-11-22 01:07:20 +00:00
rmind
805a41fbfe Add npf_tableset_syncdict() to sync the table IDs in the proplib dictionary,
as they can change on reload now.  Also, fix table name checking in npfctl.
2013-11-22 00:25:51 +00:00
riz
1b624a35bb Put back and properly mark a variable which is used iff ATW_DEBUG. 2013-11-22 00:01:09 +00:00
riz
1000f7c1af Don't create a variable just to assert() on it - assert on the
thing the variable got assigned.
2013-11-21 23:42:09 +00:00
riz
202195d3c2 CPUID2FAMILY was renamed to CPUID_TO_FAMILY, apparently this usage was
missed.
2013-11-21 22:04:40 +00:00
riz
5236eb3350 Revert previous and solve in a different way, using __unused. Fixes
building with MRT6DEBUG.

ok martin.
2013-11-21 21:55:13 +00:00
riz
ea407b1279 Expand "#ifdef notyet" section to encompass the use of the variable
declared within.
2013-11-21 21:17:50 +00:00
riz
b20c39794e Wrap debug code in {} because "a label can only be part of a statement and
a declaration is not a statement."  I.e., make it a statement by making
it part of a block.
2013-11-21 21:14:05 +00:00
christos
534b09b670 delete copy of queue.h that we don't use. 2013-11-21 19:12:40 +00:00
christos
262097805a provide a const and a non const flavor for CIRCLEQ_END because the kernel
needs a const one. The const one is supposed to be used for comparisons
and the non-const one for assignments.
2013-11-21 19:04:19 +00:00
christos
905fa31223 From Brooks Davis:
When comparing a directory to an mtree file NetBSD mtree has output like
this:

xxx:	size (4, 5)
	md5digest (0x6de9439834c9147569741d3c9c9fc010, 0xa5d119ab8edcda0ef7f381da8=
f52f92f)
=2E/yyy missing

FreeBSD's historical behavior is this:

xxx changed
	size expected 4 found 5
	md5digest expected 6de9439834c9147569741d3c9c9fc010 found a5d119ab8edcda0e=
f7f381da8f52f92f
=2E/yyy missing

FreeBSD's mergemaster -U command depends on the latter behavior so
the following patch alters the freebsd9 mode of mtree to output
that format.  I don't think programs should rely on this output one way
or another since it's clearly meant for humans, but this seems like the
easiest short term fix.
2013-11-21 18:39:50 +00:00
christos
9e14bd8cd4 From Ed Maste:
libexecinfo: Include terminating null in byte count

  Otherwise, a formatted string with a strlen equal to the remaining
  buffer space would have the last character omitted (because vsnprintf
  always null-terminates), and later the assert in backtrace_symbols_fmt
  would fail.
2013-11-21 16:02:21 +00:00
christos
083864e935 Add a CIRCLEQ_END() macro to reduce diff with other queue.h 2013-11-21 15:54:17 +00:00
christos
cdffa8c1c4 Simplify previous. 2013-11-21 15:40:17 +00:00
rmind
ace15189ad tmpfs_dir_getdotents: fix the recent regression, set the correct
d_fileno value for dot-dot.  Spotted by Pedro Martelletto, thanks!
2013-11-21 14:39:09 +00:00
martin
60fdeb717f Make ext_fraclm and ext_frachm parts of the long double mantissa optional
in generic code
2013-11-21 14:14:13 +00:00
kiyohara
48489d0202 Add dwctwo and umass.
And cleanup.
However dwctwo@plb is buggy...
2013-11-21 14:03:02 +00:00
kiyohara
a1cb7359eb Move the parameters for obs600 to obs600_autoconf.c. This parameters was set from u-boot. 2013-11-21 13:52:27 +00:00
martin
497f604871 Fix copy & pasto (make temp variable long double).
Fixes fmodl() test failure on sparc64
2013-11-21 13:41:10 +00:00
kiyohara
964b567a32 Support Synopsys DesigneWave OTG on PowerPC 405EX. 2013-11-21 13:33:15 +00:00
martin
d2eda6d998 e_sqrtl.c requires fenv.h, so only build it on platfomrs supporting that 2013-11-21 11:21:54 +00:00
blymn
c9f5d99795 Add carriage return to list of valid character substitutions. 2013-11-21 11:08:08 +00:00
blymn
d77ae47228 Add carriage return to the quoted character list 2013-11-21 11:06:04 +00:00
martin
cd0bb19b28 Add fmodf and fmodl 2013-11-21 10:48:11 +00:00
blymn
0eefb0f72f Correct the allocation for the reformat buffer, thanks to mlelstv for
the fix.
2013-11-21 09:40:19 +00:00
degroote
0809f57592 Expose properly vfwscanf and friends for POSIX_SOURCE >= 200112L 2013-11-21 09:09:52 +00:00
rmind
884c21d51e v7fs: replace malloc(9) with kmem(9), fix a memory leak and few missing
mutex destruction cases in the error path.
2013-11-20 23:44:23 +00:00
martin
acdd726fe5 PR 48384: reorganize struct ieee_ext for sparc64 to only use a high/low
part for the mantissa.
Adjust arch specific code accordingly.
2013-11-20 22:22:20 +00:00
martin
42e0203237 Make it compile on archs with implicit NBIT 2013-11-20 21:12:30 +00:00
jruoho
de32156f36 Don't be so pessimistic. 2013-11-20 18:13:16 +00:00
msaitoh
66501cca1f - Add some AMD Fn80000001 extended features %ecx bits definitions from
the document (AMD64 Architecture ProgrammerVolume 3: General-Purpose and
  System Instructions. Document revision 3.20)

-  "s/MXX/MMXX/" because this bit is "MMX eXtention".
2013-11-20 17:50:39 +00:00
kleink
7f9d164c04 Explicitly include <stdint.h> for uintmax_t; from Eitan Adler. 2013-11-20 17:19:14 +00:00
jruoho
3649cbb139 Allow 4-bit range for MSR_THERM_CONTROL. 2013-11-20 13:52:30 +00:00
jruoho
c41db882ba As discussed with bouyer@, fix a too eager T-state validation check to
accomodate new Intel CPUs.
2013-11-20 13:39:59 +00:00
kiyohara
4d2dd5e114 Rename marvell_system_reset_old from marvell_system_reset.
And add reset function for ArmadaXP.  It named marvell_system_reset.
2013-11-20 12:59:21 +00:00
kiyohara
d0eef02cbd Initialize mvTclk in SOC_getclks() before call consinit().
And more fast call set_cpufuncs().
2013-11-20 12:52:24 +00:00
kiyohara
65b3a9e3e1 Add defines for MISC registers. 2013-11-20 12:36:16 +00:00
joerg
f1faa48b8c Fix operand order. 2013-11-20 12:29:13 +00:00
kiyohara
933c9e9b08 Support __HAVE_PIC_SET_PRIORITY for Armada XP. 2013-11-20 12:16:47 +00:00
joerg
f20cb70dbc Long double conditional. 2013-11-20 11:39:00 +00:00
wiz
00996309f7 shrunk. 2013-11-20 08:11:36 +00:00