Commit Graph

220226 Commits

Author SHA1 Message Date
pgoyette
2b1dd3a597 Add an example using snprintb_m()
Replace \*[Gt] and \*[Lt] with the simple characters > and < (OK wiz)

XXX Note that the examples currently do not compile with GCC!  The hex
XXX character sequences such as \x10CACHE are being parsed as longer
XXX than 2-hex-digit strings!
2013-08-07 22:51:59 +00:00
pgoyette
a4db567a02 Fix boundary condition in multi-line format. When the '=' following a
field name exactly filled a line, the back-up logic failed and really
messed up the formatting!
2013-08-07 22:37:28 +00:00
skrll
6234ce42bd Switch alpha to USE_COMPILERCRTSTUFF= no 2013-08-07 22:09:30 +00:00
matt
8bf9d972aa fix another typo 2013-08-07 20:57:22 +00:00
soren
c5606116b4 Allow i2c addr wildcard matching. Use with care! 2013-08-07 19:38:45 +00:00
matt
5e1b939563 Add R_ARM_V4BX, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS
Fix R_ARM_PC24 and match R_ARM_CALL and R_ARM_JUMP24
2013-08-07 18:36:19 +00:00
matt
e059653d2d Add more relocs 2013-08-07 18:34:53 +00:00
apb
b042dd28fe Revert previous change to tools/Makefile.gnuhost. When getenv("M4")
contains multiple words, flex fails.

Adjust tools/autoconf/Makefile to pass the necessary extra arguments via
M4=... in CONFIGURE_ENV.  This is similar to what used to be in
revision 1.4 of tools/autoconf/Makefile, but it's now after instead of
before the inclusion of Makefile.gnuhost, because it has to override the
value of M4=...  that Makefile.gnuhost stores in CONFIGURE_ENV.
2013-08-07 17:50:55 +00:00
matt
cba6c5bed5 Add support for generating tramponlines in the module at link time.
This is done using some awk scripts and KMODTRAMPOLINE in <machine/asm.h>
It's not as efficient as having the kloader do it but it is a lot simpler.
2013-08-07 17:36:11 +00:00
matt
68e39eb09b Keep track of undefined symbols and then use to determine whether a wrap
is required.
2013-08-07 17:29:15 +00:00
matt
f60ca75a6b Add KMODTRAMPOLINE(name)
There are 3 variations:
one for armv7 using movw ip,#:lower16:func; movt ip,#:upper16:func; bx ip
one for armv4t+ using ldr ip, pc; bx ip; .word func
one for everything else using ldr pc, [pc, #-4]; .word func
2013-08-07 17:09:50 +00:00
matt
1e205987d1 awk support scripts to generate trampolines in modules.
(adapted from previous LKM method).
<machine/asm.h> now has a KMODTRAMPOLINE macro to generate the trampoline
2013-08-07 17:06:22 +00:00
skrll
f3344e2765 Fix stale comment 2013-08-07 14:43:58 +00:00
blymn
ce0d56725b Make sure a channel has drives attached before resetting it otherwise
wdc_reset will panic the kernel due to a null derefrence of ch_drives.
2013-08-07 12:50:17 +00:00
kefren
a502ce7a7c reserve space for ICMP header accordingly to RFC4884 2013-08-07 06:55:00 +00:00
matt
5878e8510d Fix a typo 2013-08-07 06:09:32 +00:00
agc
ffc34c7f37 Add some more (cryptography-related) acronyms 2013-08-07 05:19:40 +00:00
soren
d75af7e216 Build orphaned man pages. 2013-08-06 22:33:59 +00:00
apb
1f64f4d863 Compile snprintb.c into libnbcompat. The source file is found in the
common/lib/libutil directory.
2013-08-06 22:04:25 +00:00
apb
3be9df0daa If HAVE_SNPRINTB_M is defined, then do not define the snprintb() and
snprintb_m() functions.  This should allow this file to be compiled
from a tools build regardless of whether or not the host defines these
functions.
2013-08-06 22:02:50 +00:00
apb
0c6780a550 declare snptintb_m() and snprintb() if HAVE_SNPRINTB is not defined. 2013-08-06 21:58:46 +00:00
apb
2ee0f9ee2f regen, to pick up the test for snprintb_m. 2013-08-06 21:56:36 +00:00
apb
e39e332c37 Add a configure test for snprintb_m. We will assume that
the rpesence of snprintb_m implies the presence of snprintb.
2013-08-06 21:50:19 +00:00
apb
7788a0781f Add the "-g -D__gnu__" flags when invoking M4 via CONFIGURE_ARGS
in tools/Makefile.gnuhost.  This makes the tools version of m4
behave like GNU m4.

Remove similar code from tools/autoconf/Makefile, where it didn't
work because Makefile.gnuhost would previously have overridden it.

This fixes a problem in which the tools version of autoconf complained
"M4sugar requires GNU M4.
Install it before installing M4sugar or set the M4 environment variable to its path name."
2013-08-06 21:47:01 +00:00
uwe
543668cba8 db_stack_trace_print: support trace/[at], starting trace from switchframe. 2013-08-06 21:41:01 +00:00
matt
8b64a4fc92 Only use MACHINE_ARCH if !_STANDALONE and CPPFLAGS/CFLAGS/CPUFLAGS don't
contain -mcpu or -march
2013-08-06 20:49:15 +00:00
matt
1240752cc0 Select ldrex/strex if ${MACHINE_ARCH:Mearmv[67]*} 2013-08-06 20:37:22 +00:00
wiz
8eaee83f77 Fix another typo. 2013-08-06 20:18:31 +00:00
wiz
8e20e62ba9 New sentence, new line.
Use one list instead of two consecutive ones.
Add .El to end list.
2013-08-06 20:16:54 +00:00
soren
2d96a254f8 TRIM showed up sometime between ATA-7 and ATA-8. 2013-08-06 19:13:13 +00:00
snj
5789d095b7 Fix spelling. 2013-08-06 19:02:57 +00:00
matt
103be4d547 Need to separate BE MACHINE_ARCH so that armv7 can be excluded. 2013-08-06 17:53:55 +00:00
snj
81a7022f8e Add a comma and fix a spelling error. 2013-08-06 17:33:29 +00:00
snj
9993ab7265 non-existant is a nonexistent word. 2013-08-06 17:32:30 +00:00
snj
c8659ccdb3 Improve wording. 2013-08-06 16:54:46 +00:00
matt
51863888cd GCC configury for earmv4eb earmv6eb earmv6hfeb 2013-08-06 16:09:13 +00:00
soren
ff7e081f9e Add driver for Nuvoton W83795G voltage/temp/fan/gpio monitoring device.
As used in the HP Microserver N36L/N40L/N54L:

w83795g* at iic? addr 0x2f
gpio* at gpiobus?

Note that the gpio and watchdog functionality appears to be useless on
the Microserver, as the gpio pins don't affect the LED's and a watchdog
trigger does not cause a reset. Perhaps the reset pin just isn't wired.

There are quite flexible fan control options as well as just monitoring,
but it is not clear to me how best to export that function to userspace.
2013-08-06 15:58:25 +00:00
reinoud
254934d244 Switch back program version to the version of the newfs_udf/makefs code.
While here, visit the 80 columns police :)
2013-08-06 13:15:30 +00:00
reinoud
fd80b116d5 Oops, forgot to export a_udf_version() that checks if the input string is a
valid UDF version notation.
2013-08-06 12:49:13 +00:00
reinoud
c55e926ff1 Add minimum UDF version specification to makefs(8) -t udf. 2013-08-06 12:47:21 +00:00
reinoud
a1f170f537 Allow for the logical volume label to be specified as well as the physical
volume label. Also allow the volumeset name to be specified if desired. The
syntax follows the newfs_udf(8) syntax.
2013-08-06 12:19:34 +00:00
wiz
5d1c7f9125 Fix article. 2013-08-06 12:15:20 +00:00
wiz
b37178189d Sort sections. Remove superfluous Ed. 2013-08-06 12:14:43 +00:00
wiz
3e9c1afce6 New sentence, new line. 2013-08-06 12:12:51 +00:00
reinoud
67b0bef892 Clarify volumeset name restrictions when specifying it in newfs_udf(8) 2013-08-06 11:57:25 +00:00
reinoud
933037aa09 Fix misplaced BUGS section and fix layout 2013-08-06 11:38:51 +00:00
reinoud
19751c1514 Update makefs(8) man page to reflect the selection of default sector and disc
sizes based on the disc type.
2013-08-06 09:43:41 +00:00
reinoud
f7be5947bb Implement auto-setting of sector size and disc size when specifying
-oT=<devtype> to one of the supported disk types.

While here, also fix where the -s size argument would be overriden by the
calculated size.
2013-08-06 09:32:23 +00:00
reinoud
ef2095d848 Fix assert() on allocation type by masking it with the flag allocation bit
mask. Fixes internal allocation writing in nodes with suid/sgid/sticky
accessnode.
2013-08-06 08:24:56 +00:00
reinoud
3551bde30d Fix memory leaks found by Coverity and fix memoryleaks in the new code 2013-08-06 08:18:08 +00:00