Commit Graph

220397 Commits

Author SHA1 Message Date
matt 4ef9b23a66 Fix addend manipulation 2013-08-09 06:00:09 +00:00
matt db10c33aba Add a INSTALL kernel for ARMADAXP 2013-08-09 05:57:13 +00:00
matt a95f2fdeea Ignore REL/RELA if they aren't against a PROGBIT section.
(this causes EXIDX sections to be ignored for ARM).
2013-08-09 05:10:14 +00:00
matt bbc97ae36e ldscript doesn't need -Ttext 2013-08-09 04:24:19 +00:00
pgoyette b18fe62e8a Now that all of the macros are enclosed in "do { ... } while 0" we can
remove unneded parenthesization of their invocations.

OK mrg@
2013-08-08 22:18:20 +00:00
rkujawa 8f2759c558 Note the new xsh(4) driver. 2013-08-08 21:27:50 +00:00
rkujawa 5d79cf93da Add preliminary support for Individual Computers new X-Surf 100 network card. 2013-08-08 21:23:51 +00:00
spz 3e0d597377 resort entry about ipsec kernel option change so it's chronologically
fitting
2013-08-08 21:09:49 +00:00
spz 15ffa58d96 add hints about FAST_IPSEC no longer being around 2013-08-08 20:00:20 +00:00
bouyer db2357ff0f Fix reverted condition. Fix panic reported by Patrick Welche on
current-users with an ATAPI device connected to siisata.
2013-08-08 17:38:56 +00:00
agc 148723966e Get the correct inttypes.h header, so this can build on !NetBSD. 2013-08-08 16:43:13 +00:00
he 82951483ec Bump RAMDISK size so that the contents fits again. 2013-08-08 13:21:38 +00:00
kardel 7ede003b54 Allow 8 luns instead of 1. This enables access to the changer device on
a Dell PV-124T:
ch0 at scsibus0 target 9 lun 1: <DELL, PV-124T, 0086> changer removable
ch0: 16 slots, 1 drive, 1 picker, 0 portals
2013-08-08 07:06:13 +00:00
matt e9837e191d Build kobj_machdep.c 2013-08-08 06:50:24 +00:00
matt c3476a6c3a Don't sync idcache/tlb when _RUMPKERNEL is defined. 2013-08-08 06:49:09 +00:00
matt 85a5e2063a Move the shared libraries for librumpnet_npf to base from comp. 2013-08-08 06:23:01 +00:00
pgoyette f6bf860e63 Arghhh! Typo. 2013-08-08 05:10:07 +00:00
pgoyette 26735a61a7 Add a new test case for snprintb_m(3) to catch previous boundary bug. 2013-08-08 04:52:10 +00:00
mrg 1b0c094837 apply some do { ... } while (0) so that macros aren't broken,
completing the previous change.
2013-08-08 04:32:43 +00:00
pgoyette 3386094b43 The PUT* things are macros. Use { ... } to make sure they expand correctly. 2013-08-07 23:48:13 +00:00
pgoyette bd138fb723 Update example using hex-escape-sequences to conform to gcc parsing rules.
(See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 for details.)
2013-08-07 23:22:28 +00:00
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