Commit Graph

237274 Commits

Author SHA1 Message Date
uebayasi
7fe7089a02 Add pseudo-device ksyms' where options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
2015-08-21 01:52:07 +00:00
mlelstv
819c32b42c when scanning for disklabels, close block device only when this was
the first open. The device driver doesn't do reference counting.

This is still subject to race conditions.
2015-08-20 23:08:33 +00:00
kamil
3bff2c862b Minor alterations to reallocarr(3)
Add comment about division.
Mark error branches with __predict_false().
Reduce one branch with the OR trick.
2015-08-20 22:27:49 +00:00
skrll
afa9454ede Tweak IS_ENABLED to allow CONFIG_FOO values.
No functional change to drm2.

LGTM from riastradh@
2015-08-20 21:41:12 +00:00
joerg
b7742922d5 Fix portability. 2015-08-20 20:08:04 +00:00
riz
f388f9ad5d options FFS_EI, and options IPSEC for GENERIC.common . No objections
when raised on port-arm, and only affects those boards including this
file.

Tested on BPI and ODROID-C1
2015-08-20 18:25:09 +00:00
christos
ed5ec7e8c7 use snprintf and cast to long. 2015-08-20 17:25:50 +00:00
pooka
71859f7093 In rumprun mode on ARM, don't build syscall or signal code into libc.
(like on x86)
2015-08-20 16:13:40 +00:00
phx
028fd4a71a Fixed typo: propertly -> property. 2015-08-20 15:55:09 +00:00
christos
e7ae23fd9e include "ioconf.h" to get the 'void <driver>attach(int count);' prototype. 2015-08-20 14:40:16 +00:00
christos
88b7aebae8 XXX: there must be a better way to do this. 2015-08-20 14:27:15 +00:00
uebayasi
7c64fd67cc ioconf glue for gpiosim module. 2015-08-20 12:31:50 +00:00
uebayasi
97664edfc5 Now gpiosim needs this for NGPIOSIM. 2015-08-20 12:28:43 +00:00
christos
fa1a248aa9 Generate ioconf.h automatically.
XXX: still dup of KERN.ioconf here
2015-08-20 12:24:04 +00:00
christos
838b8310be add ioconf files for pseudo device attach prototypes 2015-08-20 12:20:09 +00:00
uebayasi
7a225a7a3f Use needs-count for # of pseudo instances; suggested by cube@. 2015-08-20 12:09:22 +00:00
christos
2244edcb62 generate ioconf.h for pseudo-device attach prototype 2015-08-20 12:04:30 +00:00
christos
1a4eecf195 use ioconf.h for pseudo-device attach prototypes 2015-08-20 11:59:16 +00:00
christos
50213afafb put back bsd.init.mk 2015-08-20 11:58:26 +00:00
christos
f2fa9ab00d use ioconf files for pseudo-device attach prototypes 2015-08-20 11:51:12 +00:00
uebayasi
6e07de399e Do AT () relocation once. 2015-08-20 11:42:56 +00:00
uebayasi
0b2ec30cdb ${PROG} depends on ${LDSCRIPT}. 2015-08-20 11:38:27 +00:00
christos
e399169558 XXX: hack to fix the build 2015-08-20 11:28:02 +00:00
uebayasi
17ee3e05f5 Honor pseudo attach decl generated by config(1). 2015-08-20 11:18:53 +00:00
wiz
b23bf62e84 Bump date for previous. 2015-08-20 11:05:06 +00:00
christos
3bf8f26261 Add ioconf entries to the pseudo-devices. 2015-08-20 11:05:00 +00:00
pgoyette
2c11157aee P1003_1B_SEMAPHORE is no longer optional 2015-08-20 10:42:09 +00:00
joerg
b04b4ec44f Update set list and build glue for libc++ r245539. 2015-08-20 10:06:20 +00:00
joerg
ae5250f8b0 Rerun the import of r245547. 2015-08-20 09:49:32 +00:00
uebayasi
cd99cd92dd Indent. 2015-08-20 09:46:03 +00:00
christos
9e1f6b1ae6 include ioconf.h instead of locally declaring the prototype of the attach
function
2015-08-20 09:45:45 +00:00
christos
5a80a6eeb2 bump config version 2015-08-20 09:44:53 +00:00
christos
92a97b467e move driver attach declarations to ioconf.h 2015-08-20 09:44:24 +00:00
uebayasi
c0a580b524 Simplify these by doing AT () relocation once. 2015-08-20 09:34:54 +00:00
joerg
76ae7f3939 Import libc++ r245547. Various bugfixes, improvements to the C++14
support and some experimental features from the library standard track.
2015-08-20 09:31:47 +00:00
uebayasi
5589ad2eee Simplify these by relocating only .text. 2015-08-20 08:53:31 +00:00
uebayasi
ae79402a58 Do =0 (zero-fill) only once. 2015-08-20 08:51:01 +00:00
uebayasi
7650f78dd3 Simplify this by splitting absolute relocation directives from other
relative, position-independent directives.  Since all sections are
relocated in parallel, specifying the address of .text is sufficient.
2015-08-20 08:36:42 +00:00
uebayasi
bf97b90378 Mark pseudo attach unused arg with __unused. 2015-08-20 08:27:09 +00:00
uebayasi
100ae2f1dc Indent. 2015-08-20 08:25:33 +00:00
christos
396368bec1 minimal changes to get this to compile. 2015-08-20 07:50:08 +00:00
uebayasi
4e263bcaf9 Whitespace. 2015-08-20 07:13:07 +00:00
dholland
05db422695 +GMT (Robert Elz, PR 50157) 2015-08-20 07:10:02 +00:00
uebayasi
185745d477 Indent with 2 spaces. 2015-08-20 07:00:48 +00:00
uebayasi
3aa2707a88 Kill trailing blank lines. 2015-08-20 06:53:11 +00:00
uebayasi
025c56a84f Kill trailing whitespaces. 2015-08-20 06:48:25 +00:00
uebayasi
078e9ee66f Use ${KERNLDSCRIPT}. 2015-08-20 06:21:54 +00:00
uebayasi
524c1ab042 Clean up ${LINKSCRIPT} and ${KERNLDSCRIPT}. 2015-08-20 06:21:02 +00:00
uebayasi
68fe3f8564 Use variables where appropriate. 2015-08-20 06:20:19 +00:00
uebayasi
92ed610b7f Use ${KERNLDSCRIPT}. 2015-08-20 06:19:36 +00:00