forked from Imagelibrary/rtems
Compare commits
346 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5728225e77 | ||
|
|
ff5fefb47f | ||
|
|
81850181d2 | ||
|
|
7f14691e93 | ||
|
|
a5f0d3f61c | ||
|
|
9a4713cf6c | ||
|
|
76644b33c0 | ||
|
|
f00a8c0269 | ||
|
|
2d4cbe1b53 | ||
|
|
5868ea587a | ||
|
|
a470832cc9 | ||
|
|
94ba66b8fe | ||
|
|
455dcb5f38 | ||
|
|
17eb63c085 | ||
|
|
1721983ff0 | ||
|
|
b276df4c5e | ||
|
|
07aa4683ce | ||
|
|
b198ebf4d7 | ||
|
|
5d27a7569d | ||
|
|
8c5c2cce59 | ||
|
|
300f88948c | ||
|
|
23ae7c19d6 | ||
|
|
f0d9f1aa5b | ||
|
|
eb53864847 | ||
|
|
4075c6d02a | ||
|
|
66e86174ce | ||
|
|
c24ad80131 | ||
|
|
678a69e3c1 | ||
|
|
f1df664d07 | ||
|
|
2bdaba9e06 | ||
|
|
2fa1b3fa04 | ||
|
|
0d0dec0515 | ||
|
|
3f2171624f | ||
|
|
1f0c826d45 | ||
|
|
187683fe47 | ||
|
|
a93e0bb890 | ||
|
|
a9d7335809 | ||
|
|
9ea253ec3c | ||
|
|
5870da5e69 | ||
|
|
9b6ba91a44 | ||
|
|
b5c3cf2e62 | ||
|
|
62c4e35147 | ||
|
|
ae58a2a959 | ||
|
|
473c7ac694 | ||
|
|
28837e5a99 | ||
|
|
8457b18892 | ||
|
|
85a29993de | ||
|
|
edebdab588 | ||
|
|
a1ea247dee | ||
|
|
038f3a7ed4 | ||
|
|
8b98a1b4be | ||
|
|
2e47f4ab55 | ||
|
|
2aa472c1f8 | ||
|
|
fbbfad9a8b | ||
|
|
832310a7b2 | ||
|
|
039cc452ee | ||
|
|
9f9412cc16 | ||
|
|
100673c8dd | ||
|
|
1f9f1dc50d | ||
|
|
7a771dbd70 | ||
|
|
74829f7ece | ||
|
|
0de60d6de5 | ||
|
|
356914bb0d | ||
|
|
4a2fee4771 | ||
|
|
edffc8ed24 | ||
|
|
3da8388977 | ||
|
|
809d2a6a30 | ||
|
|
822c35d907 | ||
|
|
1c43ddfa1d | ||
|
|
ead7d3a8e5 | ||
|
|
9babd25503 | ||
|
|
402bdc31ed | ||
|
|
a725f7e641 | ||
|
|
70b76b22fc | ||
|
|
7a019b4160 | ||
|
|
451b8870fe | ||
|
|
f8ed4e0f00 | ||
|
|
f41002fa1b | ||
|
|
dc2afc8064 | ||
|
|
dbc684c55c | ||
|
|
18123fe76b | ||
|
|
fffe6a769c | ||
|
|
12d9b1b33c | ||
|
|
2cd0ae2aa5 | ||
|
|
8645c01c7a | ||
|
|
f75461df63 | ||
|
|
d41ed94f16 | ||
|
|
de4620c42d | ||
|
|
edf59e7b66 | ||
|
|
6a53cda9fe | ||
|
|
81ab02ceff | ||
|
|
e5b095c404 | ||
|
|
4bbec0cada | ||
|
|
c0452f3b6e | ||
|
|
6e5da27234 | ||
|
|
9d3e9405ef | ||
|
|
bd025c218a | ||
|
|
beec7fde8e | ||
|
|
33fc4f65ab | ||
|
|
037d938a84 | ||
|
|
118823ba84 | ||
|
|
985082dff2 | ||
|
|
018eb73f2f | ||
|
|
6350aa2ff1 | ||
|
|
55f2643fcd | ||
|
|
8f287557c6 | ||
|
|
dbffeacdc1 | ||
|
|
ff3a16d591 | ||
|
|
fa9ed825ef | ||
|
|
59b95d9869 | ||
|
|
5ea0caad27 | ||
|
|
5f477772d3 | ||
|
|
874a8571e7 | ||
|
|
8deda62402 | ||
|
|
7c0f1d4bc2 | ||
|
|
e979fc841f | ||
|
|
2e908e6b78 | ||
|
|
4b3a3e1d26 | ||
|
|
51405b94e8 | ||
|
|
7246b0c9b1 | ||
|
|
4de554eb10 | ||
|
|
0b7edb75f3 | ||
|
|
14c7716c49 | ||
|
|
1bf40dc84c | ||
|
|
ce4f46651f | ||
|
|
8b77bd8f70 | ||
|
|
5a33479a64 | ||
|
|
af2898d78c | ||
|
|
280e1863ff | ||
|
|
2f6b417eb6 | ||
|
|
596629a20d | ||
|
|
ee8282993f | ||
|
|
5ef125f5f3 | ||
|
|
4cb2634458 | ||
|
|
0a4d609ff7 | ||
|
|
32fe9962f1 | ||
|
|
ea7e978df6 | ||
|
|
bef8b92b57 | ||
|
|
29f73d3ed3 | ||
|
|
37b9679238 | ||
|
|
0945123ecd | ||
|
|
4712cdcc8d | ||
|
|
88fcc6d45a | ||
|
|
2b0a037051 | ||
|
|
a4d1521f1c | ||
|
|
7a2746b7ad | ||
|
|
c8d34d7e8e | ||
|
|
9627be9c99 | ||
|
|
5477a89a90 | ||
|
|
cf56606a5d | ||
|
|
ab355bbc26 | ||
|
|
07beb83275 | ||
|
|
cbc4f7aae5 | ||
|
|
7812763ae1 | ||
|
|
51233fd379 | ||
|
|
769cf2e06c | ||
|
|
a6ad5c52bf | ||
|
|
c0475f9dd6 | ||
|
|
a420327cc2 | ||
|
|
5af0411f45 | ||
|
|
e7f218dc78 | ||
|
|
ca3bacb0f9 | ||
|
|
5299575cc3 | ||
|
|
ace2542c00 | ||
|
|
629a296ac9 | ||
|
|
0b04b30803 | ||
|
|
47f295390f | ||
|
|
87caabefe1 | ||
|
|
fee0dc4d2f | ||
|
|
c624ce8908 | ||
|
|
326e457ca5 | ||
|
|
3f933c9b91 | ||
|
|
7e278aa202 | ||
|
|
36cb812bbc | ||
|
|
d761931ed0 | ||
|
|
c8f69360bc | ||
|
|
61d5ec9714 | ||
|
|
3fadd7a8a0 | ||
|
|
138b8893ca | ||
|
|
93cd2c6efe | ||
|
|
a175c1fb77 | ||
|
|
31cd77864b | ||
|
|
70443fbbdf | ||
|
|
6ac4774dd7 | ||
|
|
8bcd65b292 | ||
|
|
640495db3a | ||
|
|
086917ba30 | ||
|
|
4a81293451 | ||
|
|
38d74a3f85 | ||
|
|
7a1d233117 | ||
|
|
f65c7eb304 | ||
|
|
5054b0a917 | ||
|
|
b02783fefd | ||
|
|
5a89374297 | ||
|
|
80e88f244a | ||
|
|
1f01d5d7a6 | ||
|
|
890c768e9e | ||
|
|
9e5d4952d5 | ||
|
|
1e65741d06 | ||
|
|
1b7c831311 | ||
|
|
c0527a2d7b | ||
|
|
52781f4777 | ||
|
|
4b1756466e | ||
|
|
9d7508e4f6 | ||
|
|
5d91bedec0 | ||
|
|
997c921551 | ||
|
|
3153d3f17c | ||
|
|
161d158209 | ||
|
|
c0e38d1b90 | ||
|
|
f57174cdf6 | ||
|
|
0cfca5fcea | ||
|
|
540c746db9 | ||
|
|
91cee2ef87 | ||
|
|
bd43cde824 | ||
|
|
012739eb9e | ||
|
|
b5779dc1a3 | ||
|
|
1d4747f226 | ||
|
|
89e0ecc7b9 | ||
|
|
e992fa47b8 | ||
|
|
e2cafb006a | ||
|
|
ce6568eb65 | ||
|
|
f791c6c2c1 | ||
|
|
88b86cb55a | ||
|
|
b066112982 | ||
|
|
2714a925c8 | ||
|
|
a1d09f90b5 | ||
|
|
8c3ab9fcd8 | ||
|
|
5438bca377 | ||
|
|
7b8dee3fbc | ||
|
|
99ffe87f4d | ||
|
|
44dde18e64 | ||
|
|
143902fc6a | ||
|
|
5c64772fb5 | ||
|
|
fa919224a1 | ||
|
|
b7314e6c9e | ||
|
|
faf986a840 | ||
|
|
17e916063e | ||
|
|
e98a72fa4e | ||
|
|
53bd9fa015 | ||
|
|
454ce47172 | ||
|
|
a56e0cb096 | ||
|
|
cf8bec623d | ||
|
|
a679d578e8 | ||
|
|
804606b5eb | ||
|
|
284048512f | ||
|
|
4499640036 | ||
|
|
601e1b4b39 | ||
|
|
c23b0fd6fc | ||
|
|
5b0f138d2e | ||
|
|
12fbe4956f | ||
|
|
13f4eb67cb | ||
|
|
b4c5d96696 | ||
|
|
7c17be80b4 | ||
|
|
a2be29101a | ||
|
|
ccf5bfa5f6 | ||
|
|
db510c5488 | ||
|
|
ec05baa478 | ||
|
|
37282eeb04 | ||
|
|
ccdcc9ce94 | ||
|
|
c6c7cd4c73 | ||
|
|
bc05492d30 | ||
|
|
9666ea632b | ||
|
|
556f1e76c8 | ||
|
|
aac2fff58b | ||
|
|
72fbdbbeaf | ||
|
|
af6c22d238 | ||
|
|
112995e502 | ||
|
|
fa40f3b16f | ||
|
|
4b77b83772 | ||
|
|
ae54141bff | ||
|
|
f5c9b893fc | ||
|
|
d233c88057 | ||
|
|
d1adbaed2a | ||
|
|
85cef698a0 | ||
|
|
32d19cbae1 | ||
|
|
b295019571 | ||
|
|
b94e68dd04 | ||
|
|
63e3f71425 | ||
|
|
73a309b72a | ||
|
|
045b9a6ee7 | ||
|
|
3f2b8ebdc2 | ||
|
|
15cde9a151 | ||
|
|
ab04516f36 | ||
|
|
c25e26afd7 | ||
|
|
f760aeff11 | ||
|
|
a08be7a0e1 | ||
|
|
ab4512cd61 | ||
|
|
9833ce0fef | ||
|
|
a8e7b33c68 | ||
|
|
40a253b355 | ||
|
|
000e606a42 | ||
|
|
035be149e3 | ||
|
|
fc4035b105 | ||
|
|
218c346ef1 | ||
|
|
3b268ab7fa | ||
|
|
197e44544e | ||
|
|
4e8ac0a3fe | ||
|
|
f4d72b919c | ||
|
|
dd73668084 | ||
|
|
8dc5cd751b | ||
|
|
2f45e83a3b | ||
|
|
b06cc7e76d | ||
|
|
09c1d97a59 | ||
|
|
a8340dc12c | ||
|
|
cb5148e753 | ||
|
|
f4470b97f4 | ||
|
|
56e2dc07e1 | ||
|
|
1d59bd93bd | ||
|
|
70ca327fbc | ||
|
|
32865ab96d | ||
|
|
1965914292 | ||
|
|
0f7cfec6c1 | ||
|
|
8784165c9d | ||
|
|
e1f880dc11 | ||
|
|
b8fa666cd0 | ||
|
|
c6d7ef67a6 | ||
|
|
8a5810d034 | ||
|
|
32bcbf10a2 | ||
|
|
d7b8239187 | ||
|
|
4fd6bcd87f | ||
|
|
55e08d6c6f | ||
|
|
0ef6e5857a | ||
|
|
f91d2c2b39 | ||
|
|
7f9fff5160 | ||
|
|
07572d6500 | ||
|
|
c11d203cce | ||
|
|
a877cc8ec6 | ||
|
|
11c005b840 | ||
|
|
c27fd5c455 | ||
|
|
d919ef8281 | ||
|
|
454e6b1f74 | ||
|
|
06797827c6 | ||
|
|
0667e1b295 | ||
|
|
fb3b398690 | ||
|
|
2490f92865 | ||
|
|
d333638f89 | ||
|
|
d0fa0ef544 | ||
|
|
0fbc65d3bb | ||
|
|
46147f1cad | ||
|
|
a96e073ec7 | ||
|
|
8afb74104a | ||
|
|
0ecafb6e6e | ||
|
|
38abd22242 | ||
|
|
15a333196c | ||
|
|
01dcac514c | ||
|
|
343ef8e091 |
17
.cvsignore
Normal file
17
.cvsignore
Normal file
@@ -0,0 +1,17 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
compile
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
install.sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
mdate-sh
|
||||
missing
|
||||
texinfo.tex
|
||||
9
.gitignore
vendored
9
.gitignore
vendored
@@ -1,9 +0,0 @@
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
configure
|
||||
config.h.in
|
||||
config.guess
|
||||
config.sub
|
||||
install-sh
|
||||
Makefile.in
|
||||
missing
|
||||
349
ChangeLog
349
ChangeLog
@@ -1,334 +1,18 @@
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* SUPPORT: Update address.
|
||||
|
||||
2010-09-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* README.configure: Cleanup.
|
||||
|
||||
2010-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: autoconf >= 2.65, automake >= 1.11.
|
||||
|
||||
2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1553/filesystem
|
||||
Coverity Id 37
|
||||
* libblock/src/flashdisk.c: Fix two paths which should have returned an
|
||||
error but did not have the return statement.
|
||||
|
||||
2010-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4: Change quoting to work-round
|
||||
http://www.freebsd.org/cgi/query-pr.cgi?pr=146378.
|
||||
|
||||
2009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-custom-bsp.m4: Be less verbose.
|
||||
|
||||
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4: Fix quoting bug.
|
||||
|
||||
2009-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-custom-bsp.m4:
|
||||
Remove "${srcdir}/${RTEMS_TOPdir}/make/custom/$1".
|
||||
* aclocal/check-bsps.m4: Remove "blacklist".
|
||||
|
||||
2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4: Remove bare BSP (Abandoned).
|
||||
|
||||
2009-10-16 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* README.configure: added COBRA5475 reference
|
||||
|
||||
2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4: Pickup bsps from
|
||||
c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom*.cfg.
|
||||
|
||||
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-bsps.m4: Pickup bsps from
|
||||
c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom*.cfg.
|
||||
|
||||
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-custom-bsp.m4: Let _RTEMS_CHECK_CUSTOM_BSP look for
|
||||
*.cfg into c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom.
|
||||
|
||||
2009-10-14 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/canonical-target-name.m4, aclocal/enable-posix.m4:
|
||||
Remove posix/unix simulator.
|
||||
|
||||
2009-10-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Renamed LPC24XX BSP
|
||||
variants.
|
||||
|
||||
2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* aclocal/bsp-alias.m4: Add BSP for GDB ARM simulator so we can easily
|
||||
experiment with and debug different ARM architectural variations.
|
||||
|
||||
2009-09-14 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-bsps.m4: Add csb337 bsp family.
|
||||
|
||||
2009-07-23 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/enable-itron.m4: Default to not building itron.
|
||||
|
||||
2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* aclocal/bsp-alias.m4: Add csb637 as variant of csb337.
|
||||
|
||||
2009-02-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Added defines for
|
||||
LPC2478 BSP variants.
|
||||
|
||||
2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* aclocal/bsp-alias.m4: Add simsh2e.
|
||||
|
||||
2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.maint: rtems_api=4.10.
|
||||
* Makefile.maint: Dump stuff hanging around for much too long.
|
||||
|
||||
2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/canonical-target-name.m4:
|
||||
Remove comment referring to HPUX9.
|
||||
|
||||
2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Remove pck6 BSP.
|
||||
|
||||
2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* config-ml.in: Comment out arm/thumb exception (Add arm/thumb
|
||||
multilib).
|
||||
|
||||
2008-12-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-bsps.m4: remove stray ")" from rtl22xx_t alias.
|
||||
|
||||
2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/canonical-target-name.m4: Remove tic4x.
|
||||
|
||||
2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
|
||||
|
||||
* README.configure: Add Lattice Mico32 support.
|
||||
|
||||
2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Add h8sxsim as variant
|
||||
of h8sim.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* README.configure: Add new M32R port. It is just a beginning but the
|
||||
BSP is functional enough to initialize and shutdown RTEMS.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Add
|
||||
M32C port and m32csim BSP.
|
||||
|
||||
2008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* VERSION: Bump version to 4.9.99.0
|
||||
|
||||
2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1324/bsps
|
||||
* aclocal/check-bsps.m4: Revert Joel's icecube patch.
|
||||
|
||||
2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* MAINTAINERS: Remove myself from avr.
|
||||
|
||||
2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
|
||||
Recognize the the GDB SuperH simulator is just an architectural
|
||||
simulator and does not include devices. Rename existing simulator BSP
|
||||
configurations to simsh1 and simsh2 and add simsh4.
|
||||
|
||||
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1324/bsps
|
||||
* aclocal/check-bsps.m4: Add missing icecube.
|
||||
|
||||
2008-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/version.m4: Bump RTEMS_API to 4.10.
|
||||
Bump _RTEMS_VERSION to 4.9.99.0.
|
||||
|
||||
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Added defines for
|
||||
LPC2478 BSP.
|
||||
|
||||
2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* README.configure: Updated list of BSPs.
|
||||
|
||||
2008-09-08 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* make/custom/pghplus.cfg, make/custom/tqm8xx_stk8xx.cfg,
|
||||
* make/custom/tqm8xx.cfg,
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
|
||||
added MPC8xx based tqm8xx BSP family
|
||||
|
||||
2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* acinclude.m4 (_RTEMS_OUTPUT_SUBDIRS): Allow empty configdirs.
|
||||
|
||||
2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Remove doxygen
|
||||
comments.
|
||||
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
|
||||
AC_PREREQ(2.62).
|
||||
|
||||
2008-07-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Added MPC5566EVB and
|
||||
MPC8313ERDB. Added Doxygen style comment.
|
||||
|
||||
2008-07-14 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* make/custom/haleakala.cfg:
|
||||
added PPC405 haleakala BSP contributed by Michael Hamel
|
||||
|
||||
2008-07-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4,
|
||||
* make/custom/m5484FireEngine.cfg:
|
||||
added pgh360 BSP variant
|
||||
added m5484FireEngine BSP
|
||||
|
||||
2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac, acinclude.m4: s/AC_HELP/AS_HELP/.
|
||||
|
||||
2008-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bootstrap: Use find . ... preinstall.am for portability reasons.
|
||||
|
||||
2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/enable-cxx.m4, aclocal/enable-itron.m4,
|
||||
aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4,
|
||||
aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4,
|
||||
aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4,
|
||||
aclocal/multilib.m4: s/AC_HELP/AS_HELP/.
|
||||
|
||||
2007-11-06 Ray Xu <rayx.cn@gmail.com>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
|
||||
|
||||
2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* VERSION: Bump VERSION to 4.8.99.0.
|
||||
* aclocal/version.m4: Bump RTEMS_API to 4.9.
|
||||
Bump RTEMS_VERSION to 4.8.99.0.
|
||||
|
||||
2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.maint: touch all documentation master files so the date on
|
||||
the manual reflects the release date of the software.
|
||||
|
||||
2007-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.maint: Add touching master files for various manuals so the
|
||||
date on the cover page will reflect the date a tarball is cut.
|
||||
|
||||
2007-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* README.configure, aclocal/bsp-alias.m4: Rename EP5200 to IceCube
|
||||
since that is the nickname for the Freescale evaluation board it is
|
||||
based upon. BSP was tested on a Freescale MPC5200LITE.
|
||||
|
||||
2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.maint, configure.ac, release_support: Remove RDBG.
|
||||
* aclocal/enable-rdbg.m4: Removed.
|
||||
|
||||
2007-07-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4, README.configure:
|
||||
Add gen83xx and mpc8349eamds BSP
|
||||
|
||||
2007-07-02 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* README.configure: Add virtex BSP
|
||||
|
||||
2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* aclocal/bsp-alias.m4, README.configure: Add ep5200, IceCube, 5200Lite.
|
||||
|
||||
2007-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* README.configure: Removed armulator.
|
||||
|
||||
2007-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* README.configure, aclocal/check-bsps.m4: Remove references to
|
||||
mbx860_1b since it is just an alternate name for the mbx860_001b.
|
||||
|
||||
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
|
||||
Per Jiri Gaisler remove unused erc32nfp and leon1 BSP variants.
|
||||
|
||||
2007-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* README.configure: DMV152 obsoleted.
|
||||
* Makefile.am: Use MKDIR_P instead of mkdir_p.
|
||||
|
||||
2007-02-21 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Makefile.maint: Added TOOL_VERSIONS stanza and fixed typo.
|
||||
|
||||
2007-02-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
2007-02-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Use MKDIR_P instead of mkdir_p.
|
||||
|
||||
2007-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.maint: Use VERSION as master source for version.m4's.
|
||||
* VERSION: Sync with version in aclocal/version.m4.
|
||||
|
||||
2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.maint: Sync nomenclature with that being used in
|
||||
cpukit/score/include/rtems/system.h (major->minor,
|
||||
minor->revision).
|
||||
|
||||
2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.maint: Remove references to
|
||||
cpukit/score/include/rtems/system.h.
|
||||
* Makefile.maint: Add CVS_RUN.
|
||||
|
||||
2007-01-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.maint: New.
|
||||
* VERSION: sync with */version.m4.
|
||||
|
||||
2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* acinclude.m4: AC_PREREQ(2.60).
|
||||
* acinclude.m4, configure.ac: AC_PREREQ(2.60).
|
||||
|
||||
2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
@@ -345,9 +29,6 @@
|
||||
2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Add ampolish3.
|
||||
|
||||
2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bootstrap: Add -r (autoreconf).
|
||||
|
||||
2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
@@ -358,25 +39,15 @@
|
||||
|
||||
* ampolish3: New.
|
||||
|
||||
2006-10-19 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* configure.ac: Remove all macro implementations and use only the
|
||||
static inline. Static inline functions are now well supported so
|
||||
there is no reason for duplicate maintenance.
|
||||
* aclocal/enable-inlines.m4: Removed.
|
||||
|
||||
2006-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/rtems-top.m4: Remove RTEMS_API.
|
||||
* aclocal/version.m4: Add RTEMS_API. Bump RTEMS_API to 4.8.
|
||||
|
||||
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/version.m4: Bump version to 4.7.99.0.
|
||||
* configure.ac: Requires automake-1.10. Require autoconf-2.60.
|
||||
* aclocal/rtems-top.m4, aclocal/version.m4:
|
||||
Adaptions to automake-1.10.
|
||||
|
||||
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
2006-09-13 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.60. Require automake-1.10.
|
||||
* bspkit: Remove.
|
||||
|
||||
2006-08-09 Kolja Waschk <waschk@telos.de>
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ Networking NAME-TBD EMAIL-TBD
|
||||
CPU Port Maintainers (CPU alphabetical order)
|
||||
|
||||
arm Jay Monkman jtm@lopingdog.com
|
||||
avr NAME-TBD EMAIL-TBD
|
||||
avr Ralf Corsepius ralf.corsepius@rtems.org
|
||||
c4x Joel Sherrill joel.sherrill@OARcorp.com
|
||||
h8300 NAME-TBD EMAIL-TBD
|
||||
i386 NAME-TBD EMAIL-TBD
|
||||
@@ -45,6 +45,7 @@ or32 NAME-TBD EMAIL-TBD
|
||||
powerpc NAME-TBD EMAIL-TBD
|
||||
sh NAME-TBD EMAIL-TBD
|
||||
sparc NAME-TBD EMAIL-TBD
|
||||
unix NAME-TBD EMAIL-TBD
|
||||
|
||||
BSP Maintainers (CPU/BSP alphabetical order)
|
||||
|
||||
|
||||
162
Makefile.maint
162
Makefile.maint
@@ -1,162 +0,0 @@
|
||||
#
|
||||
# Maintainer Makefile
|
||||
#
|
||||
|
||||
# WARNING:
|
||||
|
||||
# THIS IS EXPERIMENTAL - DO NOT USE (YET) !
|
||||
|
||||
# * This Makefile is only useful to RTEMS maintainers
|
||||
# * You must have write access to RTEMS CVS
|
||||
# * Running this Makefile modifies RTEMS CVS
|
||||
# * Watch out for warning and error messages - Do NOT IGNORE them!
|
||||
|
||||
|
||||
# MAINTAINER notes:
|
||||
|
||||
|
||||
# Cutting a new release:
|
||||
# 1. Perform a non-anonymous cvs checkout of the BRANCH
|
||||
# you want to cut a release tarball from
|
||||
# 2. Run "make -f Makefile.maint new-revision"
|
||||
# (rsp. "make -f Makefile.maint new-minor").
|
||||
# 3. Run "make -f Makefile.maint commit"
|
||||
# 4. Run "make -f Makefile.maint tag"
|
||||
# 5. Run "make -f Makefile.maint tarball"
|
||||
|
||||
# -----------------
|
||||
# SECURITY: Append a string to tag to avoid accidentially screwing up cvs-tags
|
||||
# For "hot runs" you will want to use "make -f Makefile.maint TAG_SUFFIX= <command>"
|
||||
TAG_SUFFIX = -test1
|
||||
|
||||
rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
|
||||
rtems_tag := $(shell echo "rtems-$(rtems_version)" | tr . -)
|
||||
rtems_api := 4.10
|
||||
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
|
||||
|
||||
# -----------------
|
||||
# Cleanup check out and cvs-tag the files inside
|
||||
tag:
|
||||
cvs -q -z9 up -dP
|
||||
./bootstrap -p >/dev/null
|
||||
cvs -q tag -c $(rtems_tag)$(TAG_SUFFIX)
|
||||
|
||||
# -----------------
|
||||
# Different stages of cvs-exporting
|
||||
rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX):
|
||||
rm -rf rtems-$(rtems_version)
|
||||
@cvs -q -z9 export -d rtems-$(rtems_version) -r $(rtems_tag)$(TAG_SUFFIX) rtems
|
||||
@if ! test -f rtems-$(rtems_version)/VERSION; then \
|
||||
echo "ERROR export failed"; \
|
||||
echo " Did you run 'make -f Makefile.maint tag' ?"; exit 1; fi
|
||||
echo "$(rtems_tag)$(TAG_SUFFIX)" > rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
|
||||
|
||||
rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2: rtems-$(rtems_version)/stamp.autofiles \
|
||||
rtems-$(rtems_version)/excludes \
|
||||
rtems-$(rtems_version)/TOOL_VERSIONS
|
||||
cd rtems-$(rtems_version) ; \
|
||||
touch doc/ada_user/ada_user.texi doc/bsp_howto/bsp_howto.texi \
|
||||
doc/cpu_supplement/cpu_supplement.texi \
|
||||
doc/develenv/develenv.texi doc/filesystem/filesystem.texi \
|
||||
doc/itron3.0/itron.texi doc/networking/networking.texi \
|
||||
doc/new_chapters/new_chapters.texi doc/porting/porting.texi \
|
||||
doc/posix1003.1/posix1003_1.texi doc/posix_users/posix_users.texi \
|
||||
doc/relnotes/relnotes.texi doc/started_ada/started_ada.texi \
|
||||
doc/started/started.texi doc/user/c_user.texi
|
||||
tar -cj -X rtems-$(rtems_version)/excludes \
|
||||
-f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)
|
||||
|
||||
## Touching the top pages in the various manuals results in the date
|
||||
## on their title page matching the release date.
|
||||
rtems-$(rtems_version)/stamp.cleanup: rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
|
||||
find rtems-$(rtems_version) -name .cvsignore -exec rm -f {} \;
|
||||
find rtems-$(rtems_version) -name preinstall.am -exec touch {} \;
|
||||
rm -rf rtems-$(rtems_version)/contrib
|
||||
touch rtems-$(rtems_version)/stamp.cleanup
|
||||
|
||||
rtems-$(rtems_version)/stamp.autofiles: rtems-$(rtems_version)/stamp.cleanup
|
||||
cd rtems-$(rtems_version) && ./bootstrap -r
|
||||
touch rtems-$(rtems_version)/stamp.autofiles
|
||||
|
||||
rtems-$(rtems_version)/excludes: Makefile.maint
|
||||
@echo "Generating $@"
|
||||
@echo "excludes" > $@
|
||||
@echo "stamp.*" >> $@
|
||||
@echo "autom4te.cache" >> $@
|
||||
@echo "Makefile.maint" >> $@
|
||||
|
||||
tarball: rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2
|
||||
|
||||
rtems-$(rtems_version)/TOOL_VERSIONS: Makefile.maint
|
||||
( \
|
||||
date ; \
|
||||
echo ; \
|
||||
echo "This file contains configuration information on the " ; \
|
||||
echo "primary computer used to test and make the $(rtems_version)" ; \
|
||||
echo "version of RTEMS" ; \
|
||||
echo ; \
|
||||
echo "OS Version: " `head -1 /etc/issue` ; \
|
||||
echo ; \
|
||||
echo "The following RTEMS RPMs were installed on the machine" ; \
|
||||
echo "where this release was made:" ; \
|
||||
echo ; \
|
||||
rpm -qa 'rtems-$(rtems_api)-*' | sort | sed -e 's/^/ /' ; \
|
||||
echo \
|
||||
) > $@
|
||||
|
||||
# -----------------
|
||||
# Create a new minor release
|
||||
# increments the 2nd digit of the version number
|
||||
# set the 3rd digit of the version number to 0
|
||||
# Example: 4.6.99.4 -> 4.7.0
|
||||
new-minor:
|
||||
@v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
|
||||
r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
|
||||
r=$$(($$r + 1)); version="$$v.$$r.0"; \
|
||||
echo "New minor release: $$version"; \
|
||||
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
|
||||
$(VERSION_FILES); \
|
||||
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
|
||||
|
||||
# Create a new revision release
|
||||
# increments the last digit of the version number
|
||||
# Examples: 4.6.99.4 -> 4.6.99.5
|
||||
# 4.7.0 -> 4.7.1
|
||||
new-revision:
|
||||
@m=$$(echo $(rtems_version) | sed 's,^\(.*\)\.[0-9]\+,\1,'); \
|
||||
n=$$(echo $(rtems_version) | sed 's,^.*\.\([0-9]\+\),\1,'); \
|
||||
n=$$(($$n + 1)); version="$$m.$$n";\
|
||||
echo "New revision release: $$version"; \
|
||||
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
|
||||
$(VERSION_FILES); \
|
||||
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
|
||||
|
||||
# -----------------
|
||||
# Create a new branch
|
||||
# increments the 2nd digit of the version number
|
||||
# set the 3rd digit of the version number to 99
|
||||
# set the 4rd digit of the version number to 0
|
||||
# Example: 4.6.34.4 -> 4.7.99.0
|
||||
new-branch:
|
||||
v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
|
||||
r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
|
||||
r=$$(($$r + 1)); version="$$v.$$r.99.0"; \
|
||||
api="$$v.$$(($$r + 1))"; \
|
||||
echo "New branch release: $$version"; \
|
||||
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
|
||||
-e "s|\[RTEMS_API\],\[.*\]|\[RTEMS_API\],\[$$api\]|" \
|
||||
$(VERSION_FILES); \
|
||||
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
|
||||
|
||||
VERSION_FILES += aclocal/version.m4
|
||||
VERSION_FILES += cpukit/aclocal/version.m4
|
||||
VERSION_FILES += c/src/aclocal/version.m4
|
||||
VERSION_FILES += testsuites/aclocal/version.m4
|
||||
|
||||
CVS_RUN := $(shell if [ -n "$(TAG_SUFFIX)" ]; then echo "cvs -n"; else echo "cvs"; fi)
|
||||
|
||||
commit:
|
||||
$(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
|
||||
$(VERSION_FILES) VERSION
|
||||
|
||||
.PHONY: commit new-minor new-revision new-branch tag tarball
|
||||
166
README.configure
166
README.configure
@@ -11,30 +11,34 @@ tools in the Cygnus one-tree structure. Using autoconf also means
|
||||
that RTEMS now can be built in a separate build directory.
|
||||
|
||||
To re-generate auto*tool generated files (configure, Makefile.in etc),
|
||||
autoconf-2.68 and automake-1.11.1 are required.
|
||||
autoconf-2.59 and automake-1.8 are required.
|
||||
|
||||
2. Installation
|
||||
===============
|
||||
|
||||
2.1 Standalone build
|
||||
|
||||
To configure RTEMS for a specific target, run configure in the build
|
||||
directory. In addition to the standard configure options, the following
|
||||
RTEMS-specific option are supported:
|
||||
|
||||
--disable-rtems-inlines
|
||||
--disable-posix
|
||||
--enable-itron
|
||||
--disable-networking
|
||||
--enable-cxx
|
||||
--enable-multiprocessing
|
||||
--enable-rtemsbsp="bsp1 bsp2 ..."
|
||||
--enable-tests
|
||||
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
|
||||
--enable-docs
|
||||
--disable-rtems-inlines
|
||||
--disable-posix
|
||||
--disable-itron
|
||||
--disable-networking
|
||||
--enable-cxx
|
||||
--enable-bare-cpu-model=<MODEL>
|
||||
--enable-bare-cpu-cflags=<FLAGS>
|
||||
--enable-multiprocessing
|
||||
--enable-rtemsbsp="bsp1 bsp2 ..."
|
||||
--enable-tests
|
||||
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
|
||||
--enable-docs
|
||||
|
||||
In addition, the following standard autoconf options are frequently
|
||||
used when configuring RTEMS installations:
|
||||
|
||||
--prefix=INSTALL_DIRECTORY
|
||||
--prefix=INSTALL_DIRECTORY
|
||||
|
||||
By default, inline routines are used instead of macros where possible.
|
||||
Macros can be selected using the --disable-inlines option. [NOTE:
|
||||
@@ -75,31 +79,38 @@ for those BSPs supporting it by the --enable-multiprocessing option.
|
||||
By default, all bsps for a target are built. The bare BSP is not built
|
||||
unless directly specified. There are two ways of changing this:
|
||||
|
||||
+ use the --enable-rtemsbsp option which will set the specified
|
||||
bsps as the default bsps, or
|
||||
+ set the RTEMS_BSP variable during make (see below).
|
||||
+ use the --enable-rtemsbsp option which will set the specified
|
||||
bsps as the default bsps, or
|
||||
+ set the RTEMS_BSP variable during make (see below).
|
||||
|
||||
The --enable-rtemsbsp= option configures RTEMS for a specific board
|
||||
within a target architecture. Remember that the target specifies the
|
||||
CPU family while the BSP specifies the precise board you will be using.
|
||||
The following targets are supported:
|
||||
|
||||
arm-rtems4.10
|
||||
avr-rtems4.10
|
||||
bfin-rtems4.10
|
||||
h8300-rtems4.10
|
||||
i386-rtems4.10
|
||||
lm32-rtems4.10
|
||||
m32c-rtems4.10
|
||||
m32r-rtems4.10
|
||||
m68k-rtems4.10
|
||||
mips-rtems4.10
|
||||
no_cpu-rtems4.10
|
||||
powerpc-rtems4.10
|
||||
sh-rtems4.10
|
||||
sparc-rtems4.10
|
||||
(none) will build the host-based version on Linux,
|
||||
Solaris and HPUX.
|
||||
|
||||
The cross-compiler is set to $(target)-gcc by default.
|
||||
arm-rtems
|
||||
c4x-rtems
|
||||
h8300-rtems
|
||||
i386-rtems
|
||||
m68k-rtems
|
||||
mips-rtems
|
||||
no_cpu-rtems
|
||||
or32-rtems
|
||||
powerpc-rtems
|
||||
sh-rtems
|
||||
sparc-rtems
|
||||
bare see notes
|
||||
|
||||
The cross-compiler is set to $(target)-gcc by default. This can be
|
||||
overridden by:
|
||||
|
||||
+ using the --program-prefix option to configure to specify the
|
||||
string which will prepended to the tool names. Be sure to include
|
||||
a trailing "-". For example, to use a m68k-coff toolset, use the
|
||||
--program-prefix=m68k-coff- option.
|
||||
|
||||
To build, run make in the build directory. To specify which bsps to build,
|
||||
add the RTEMS_BSP="bsp1 bsp2 .." to the make command. Specifying multiple
|
||||
@@ -109,17 +120,38 @@ Installation is done under $(prefix)/rtems.
|
||||
|
||||
As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
|
||||
|
||||
(path_to_rtems_src)/configure --target=m68k-rtems4.10
|
||||
(path_to_rtems_src)/configure --target=m68k-rtems
|
||||
|
||||
make RTEMS_BSP="mvme136 mvme162"
|
||||
|
||||
make install RTEMS_BSP="mvme136 mvme162"
|
||||
make RTEMS_BSP="mvme136 mvme162"
|
||||
|
||||
make install RTEMS_BSP="mvme136 mvme162"
|
||||
|
||||
The sample tests are built by 'make all' when configured with
|
||||
--enable-tests=samples. Use --enable-tests=all to build the full
|
||||
The sample tests are built by 'make all', do a 'make test' to build the full
|
||||
test suite.
|
||||
|
||||
Documentation is built separately from the source code.
|
||||
By default, --enable-docs is disabled and documentation is not built.
|
||||
|
||||
2.2 Build with Cygnus one-tree release
|
||||
|
||||
[NOTE: This section does not apply anymore.]
|
||||
|
||||
To build and install RTEMS with the one-tree structure, just copy the rtems
|
||||
directory to the tree. The one-tree configure.in and Makefile.in has to be
|
||||
replaced with the RTEMS-aware versions. The build options are the same as
|
||||
for the standalone build.
|
||||
|
||||
2.3 Target Dependent Notes
|
||||
|
||||
bare:
|
||||
|
||||
1. See the README in the bare bsp source directory. This should
|
||||
contain all info you need.
|
||||
2. The bare bsp source contains a script to show how to build it.
|
||||
3. The configure flags must be used to get the bare bsp to work.
|
||||
The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the
|
||||
only pieces of information. The module is usually a gcc module
|
||||
such as m68302 or mcpu32. The flags are passed directly to gcc.
|
||||
Use "" if more than one option is specified.
|
||||
|
||||
3. To use the installed RTEMS library
|
||||
=====================================
|
||||
@@ -129,7 +161,7 @@ makefile has to include a bsp-specific makefile that will define the
|
||||
RTEMS variables necessary to find include files and libraries. The
|
||||
bsp-specific makefile is installed at
|
||||
|
||||
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||
|
||||
For the erc32 bsp installed at /usr/local/cross, the environment
|
||||
variable RTEMS_MAKEFILE_PATH would be set as follows to the
|
||||
@@ -142,54 +174,45 @@ following:
|
||||
|
||||
The following bsps are supported:
|
||||
|
||||
arm : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
|
||||
smdk2410
|
||||
host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
|
||||
|
||||
avr: : avrtest
|
||||
arm : arm_bare_bsp armulator csb336 csb337 edb7312 gp32 vegaplus
|
||||
|
||||
bfin : eZKit533 bf537Stamp
|
||||
c4x : c3xsim c4xsim
|
||||
|
||||
h8300 : h8sim
|
||||
|
||||
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
|
||||
NOTE: The "pc386" BSP can be compiled to support a
|
||||
variety of PC configurations including PC-104
|
||||
based solutions.
|
||||
NOTE: The "pc386" BSP can be compiled to support a
|
||||
variety of PC configurations including PC-104
|
||||
based solutions.
|
||||
|
||||
lm32: : lm32_evr
|
||||
|
||||
m32c : m32csim
|
||||
|
||||
m32r : m32rsim
|
||||
|
||||
m68k : av5282 csb360 gen68302 gen68360 gen68360_040
|
||||
genmcf548x idp mcf5206elite mcf52235 mcf5235 mcf5239
|
||||
m5484FireEngine mrm332 mvme136 mvme147s mvme162 mvme162lx
|
||||
mvme167 ods68302 pgh360 sim68000 simcpu32 uC5282 COBRA5475
|
||||
m68k : av5282 csb360 dmv152 gen68302 gen68340 gen68360 gen68360_040
|
||||
idp mcf5206elite mcf5235 mrm332 mvme136 mvme147 mvme147s
|
||||
mvme162 mvme162lx ods68302 sim68000 simcpu32 uC5282
|
||||
|
||||
no_cpu : no_bsp (porting example)
|
||||
|
||||
mips : csb350 genmongoosev hurricane jmr3904 rbtx4925 rbtx4938
|
||||
p4600 p4650
|
||||
mips : csb350 genmongoosev
|
||||
p4600 p4650 (p4000 port with either R4600 or R4650)
|
||||
jmr3904
|
||||
|
||||
powerpc : brs5l ep1a gen5200 gen83xx haleakala hsc_cm01 icecube
|
||||
mbx821_001 mbx821_002 mbx821_002b mbx860_001b mbx860_002
|
||||
mbx860_005b mcp750 mvme2100 mvme2307 mtx603e
|
||||
mvme5500 mpc55xxevb mpc8260ads mpc8313erdb mpc8349eamds
|
||||
pghplus pm520_cr825 pm520_ze30 psim score603e ss555
|
||||
tqm8xx_stk8xx virtex
|
||||
powerpc : ep1a gen405 helas403 mcp750 mbx8xx mtx603e
|
||||
mpc8260ads mvme230x mvme5500 psim score603e ss555
|
||||
|
||||
NOTE: The "motorola_powerpc" BSP is a single BSP which
|
||||
can be conditionally compiled to support most Motorola
|
||||
VMEbus, CompactPCI, and MTX boards.)
|
||||
|
||||
NOTE: The mbx8xx, gen5200, gen83xx, and tqm8xx BSPs are
|
||||
designed to handle a variety of boards based on the same
|
||||
family of system on chips CPUs
|
||||
sh : gensh1 gensh2 shsim simsh4 gensh4
|
||||
|
||||
sh : gensh1 gensh2 gensh4 simsh1 simsh2 simsh4
|
||||
sparc : erc32 erc32nfp leon1 leon2
|
||||
|
||||
any : bare
|
||||
|
||||
The following ports were considered obsoleted after the 4.6 releases
|
||||
and were removed: a29k, hppa, i960, mips64orion, and or32.
|
||||
|
||||
sparc : erc32 sis leon2 leon3
|
||||
|
||||
5. Makefile structure
|
||||
=====================
|
||||
@@ -218,6 +241,13 @@ Please refer to the BSP and Device Driver Guide.
|
||||
|
||||
All gnu-based bsps have been built on Linux.
|
||||
|
||||
The native (posix) ports have been built and run only on Linux.
|
||||
|
||||
The following configurations have NOT been tested:
|
||||
|
||||
+ Anything on Nextstep, HPUX and Irix.
|
||||
+ The C4x and OR32 ports (requires specially patched toolchain)
|
||||
|
||||
8. Prerequisites
|
||||
================
|
||||
|
||||
|
||||
6
SUPPORT
6
SUPPORT
@@ -8,12 +8,12 @@ includes porting RTEMS to new processors and the development of custom board
|
||||
support packages and device drivers. In addition, OAR is available
|
||||
to assist in the development of your real-time embedded application.
|
||||
|
||||
For more information, email Joel Sherrill joel.sherrill@OARcorp.com
|
||||
For more information, email Mark Johannes at mark.johannes@OARcorp.com
|
||||
or contact OAR at:
|
||||
|
||||
On-Line Applications Research Corporation
|
||||
7047 Old Madison Pike Suite 320
|
||||
Huntsville AL 35806
|
||||
4910-L Corporate Drive
|
||||
Huntsville AL 35805
|
||||
Voice: (205) 722-9985
|
||||
Fax: (205 722-0985
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
|
||||
AC_DEFUN([_RTEMS_ARG_VAR],
|
||||
[
|
||||
m4_expand_once([m4_divert_once([HELP_VAR],
|
||||
[AS_HELP_STRING([$1], [$2], [ ])])],
|
||||
[AC_HELP_STRING([$1], [$2], [ ])])],
|
||||
[$0($1)])dnl
|
||||
])
|
||||
|
||||
@@ -211,7 +211,7 @@ if test "$no_recursion" != yes; then
|
||||
esac
|
||||
|
||||
ac_popdir=`pwd`
|
||||
for ac_dir in : $$1_configdirs; do test "x$ac_dir" = x: && continue
|
||||
for ac_dir in $$1_configdirs; do
|
||||
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
|
||||
@@ -6,13 +6,34 @@ dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
|
||||
dnl Internal subroutine to RTEMS_BSP_ALIAS
|
||||
AC_DEFUN([_RTEMS_BSP_ALIAS],
|
||||
[# account for "aliased" bsps which share source code
|
||||
for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do
|
||||
$2=`echo "$bsp_cfgs" | sed \
|
||||
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
|
||||
-e "s,/make/custom/.*\.cfg$,,"`
|
||||
break
|
||||
done
|
||||
])
|
||||
case $1 in
|
||||
bare*) $2=bare ;; # EXP: bare-aliases
|
||||
c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
|
||||
erc32nfp) $2=erc32 ;; # erc32 without fpu
|
||||
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
|
||||
leon1) $2=leon2 ;; # leon without fpu
|
||||
mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board
|
||||
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
|
||||
mvme2100) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
p4600) $2=p4000 ;; # mips - p4000 board w/IDT 4600
|
||||
p4650) $2=p4000 ;; # mips - p4000 board w/IDT 4650
|
||||
pc386dx) $2=pc386 ;; # i386 - PC w/o FPU
|
||||
pc486) $2=pc386 ;; # i386 - PC with i486DX
|
||||
pc586) $2=pc386 ;; # i386 - PC with Pentium
|
||||
pc686) $2=pc386 ;; # i386 - PC with PentiumPro
|
||||
pck6) $2=pc386 ;; # i386 - PC with K6
|
||||
brs5l*) $2=gen5200 ;; # MPC5200 based board
|
||||
pm520*) $2=gen5200 ;; # MPC5200 based board
|
||||
simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
|
||||
simsh7032) $2=shsim ;; # SH7032 simulator
|
||||
simsh7045) $2=shsim ;; # SH7045 simulator
|
||||
sis) $2=erc32 ;; # erc32 SIS simulator
|
||||
*) $2=$1;;
|
||||
esac]
|
||||
)
|
||||
|
||||
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
|
||||
dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
|
||||
|
||||
@@ -13,9 +13,25 @@ AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
||||
AC_CANONICAL_TARGET
|
||||
AC_MSG_CHECKING(rtems target cpu)
|
||||
case "${target}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-*linux*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
RTEMS_CPU=no_cpu
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
tic4x-*rtems*) # gcc changed the name
|
||||
RTEMS_CPU=c4x
|
||||
;;
|
||||
*)
|
||||
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||
;;
|
||||
|
||||
@@ -12,14 +12,30 @@ AC_MSG_CHECKING([for available BSPs])
|
||||
$1=
|
||||
for bsp_spec in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/bsp_specs 2>/dev/null`; do
|
||||
bsp_family=`echo "$bsp_spec" | sed \
|
||||
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
|
||||
-e "s,/bsp_specs$,,"`
|
||||
for bsp_cfgs in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$bsp_family/make/custom/"*.cfg 2>/dev/null`; do
|
||||
bsp_cfg=`echo "$bsp_cfgs" | sed \
|
||||
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$bsp_family/make/custom/,," \
|
||||
-e "s,\.cfg$,,"`
|
||||
$1="[$]$1 $bsp_cfg"
|
||||
done
|
||||
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
|
||||
-e "s,/bsp_specs$,,"`
|
||||
case $bsp_family in
|
||||
# Now account for BSPs with build variants
|
||||
c4xsim) bsps="c4xsim c3xsim";;
|
||||
gen68360) bsps="gen68360 gen68360_040";;
|
||||
p4000) bsps="p4600 p4650";;
|
||||
mvme162) bsps="mvme162 mvme162lx";;
|
||||
mbx8xx) bsps="mbx821_001 mbx860_001b"
|
||||
bsps="$bsps mbx821_002 mbx821_002b"
|
||||
bsps="$bsps mbx860_1b"
|
||||
bsps="$bsps mbx860_002"
|
||||
bsps="$bsps mbx860_005b"
|
||||
;;
|
||||
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";;
|
||||
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
|
||||
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
|
||||
erc32) bsps="erc32 erc32nfp sis";;
|
||||
leon2) bsps="leon1 leon2";;
|
||||
sim68000) bsps="sim68000 simcpu32";;
|
||||
shsim) bsps="simsh7032 simsh7045";;
|
||||
*) bsps="$bsp_family";;
|
||||
esac;
|
||||
$1="[$]$1 $bsps"
|
||||
done
|
||||
AS_IF([test -z "[$]$1"],
|
||||
[AC_MSG_RESULT([none])],
|
||||
|
||||
@@ -4,16 +4,21 @@ AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
|
||||
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
|
||||
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
|
||||
$2=
|
||||
for i in \
|
||||
`ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
|
||||
AC_MSG_CHECKING([for $1])
|
||||
for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/"$1" \
|
||||
"${srcdir}/${RTEMS_TOPdir}/make/custom/$1";
|
||||
do
|
||||
AS_IF([test -r $i],[
|
||||
$2="$i"
|
||||
break;
|
||||
])
|
||||
done
|
||||
AS_IF([test -n "[$]$2"],
|
||||
[AC_MSG_RESULT([[$]$2])],
|
||||
[AC_MSG_RESULT([no])])
|
||||
])
|
||||
|
||||
AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
|
||||
_RTEMS_CHECK_CUSTOM_BSP([[$]$1],[BSP_FOUND])
|
||||
AC_REQUIRE([RTEMS_TOP])
|
||||
_RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
|
||||
])
|
||||
|
||||
@@ -3,7 +3,7 @@ dnl $Id$
|
||||
AC_DEFUN([RTEMS_ENABLE_CXX],
|
||||
[
|
||||
AC_ARG_ENABLE(cxx,
|
||||
[AS_HELP_STRING([--enable-cxx],
|
||||
[AC_HELP_STRING([--enable-cxx],
|
||||
[enable C++ support and build the rtems++ library])],
|
||||
[case "${enable_cxx}" in
|
||||
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
|
||||
|
||||
11
aclocal/enable-inlines.m4
Normal file
11
aclocal/enable-inlines.m4
Normal file
@@ -0,0 +1,11 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN([RTEMS_ENABLE_INLINES],
|
||||
[AC_ARG_ENABLE(rtems-inlines,
|
||||
AC_HELP_STRING([--enable-rtems-inlines],[enable RTEMS inline functions (default:enabled, disable to use macros)]),
|
||||
[case "${enableval}" in
|
||||
yes) enable_rtems_inlines=yes ;;
|
||||
no) enable_rtems_inlines=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-rtems-inlines option) ;;
|
||||
esac],[enable_rtems_inlines=yes])
|
||||
])
|
||||
@@ -2,11 +2,13 @@ dnl $Id$
|
||||
|
||||
AC_DEFUN([RTEMS_ENABLE_ITRON],
|
||||
[
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
|
||||
|
||||
AC_ARG_ENABLE(itron,
|
||||
AS_HELP_STRING(--enable-itron,enable itron interface),
|
||||
[AC_HELP_STRING([--enable-itron],[enable itron interface])],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_ITRON_API=yes ;;
|
||||
no) RTEMS_HAS_ITRON_API=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
|
||||
esac],[RTEMS_HAS_ITRON_API=no])
|
||||
esac],[RTEMS_HAS_ITRON_API=yes])
|
||||
])
|
||||
|
||||
@@ -3,7 +3,7 @@ dnl $Id$
|
||||
AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
|
||||
[
|
||||
AC_ARG_ENABLE(multiprocessing,
|
||||
[AS_HELP_STRING([--enable-multiprocessing],
|
||||
[AC_HELP_STRING([--enable-multiprocessing],
|
||||
[enable multiprocessing interface])],
|
||||
[case "${enable_multiprocessing}" in
|
||||
yes) ;;
|
||||
|
||||
@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_ENABLE_NETWORKING],
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
|
||||
|
||||
AC_ARG_ENABLE(networking,
|
||||
[AS_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
|
||||
[AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_NETWORKING=yes ;;
|
||||
no) RTEMS_HAS_NETWORKING=no ;;
|
||||
|
||||
@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_ENABLE_POSIX],
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
|
||||
|
||||
AC_ARG_ENABLE(posix,
|
||||
[AS_HELP_STRING([--enable-posix],[enable posix interface])],
|
||||
[AC_HELP_STRING([--enable-posix],[enable posix interface])],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_POSIX_API=yes ;;
|
||||
no) RTEMS_HAS_POSIX_API=no ;;
|
||||
@@ -13,9 +13,19 @@ AC_ARG_ENABLE(posix,
|
||||
esac],[RTEMS_HAS_POSIX_API=yes])
|
||||
|
||||
case "${host}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-pc-linux*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
15
aclocal/enable-rdbg.m4
Normal file
15
aclocal/enable-rdbg.m4
Normal file
@@ -0,0 +1,15 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN([RTEMS_ENABLE_RDBG],
|
||||
[
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
|
||||
|
||||
AC_ARG_ENABLE(rdbg,
|
||||
[AC_HELP_STRING([--enable-rdbg],[enable remote debugger])],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_RDBG=yes ;;
|
||||
no) RTEMS_HAS_RDBG=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
|
||||
esac],[RTEMS_HAS_RDBG=no])
|
||||
AC_SUBST(RTEMS_HAS_RDBG)dnl
|
||||
])
|
||||
@@ -3,7 +3,7 @@
|
||||
AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
|
||||
[
|
||||
AC_ARG_ENABLE(rtems-debug,
|
||||
AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
|
||||
AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
|
||||
[case "${enable_rtems_debug}" in
|
||||
yes) enable_rtems_debug=yes ;;
|
||||
no) enable_rtems_debug=no ;;
|
||||
|
||||
@@ -7,7 +7,7 @@ AC_DEFUN([RTEMS_ENABLE_RTEMSBSP],
|
||||
[
|
||||
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
|
||||
AC_ARG_ENABLE(rtemsbsp,
|
||||
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
|
||||
[AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
|
||||
[BSPs to include in build])],
|
||||
[case "${enable_rtemsbsp}" in
|
||||
yes ) enable_rtemsbsp="" ;;
|
||||
|
||||
@@ -3,7 +3,7 @@ dnl $Id$
|
||||
AC_DEFUN([RTEMS_ENABLE_TESTS],
|
||||
[
|
||||
AC_ARG_ENABLE(tests,
|
||||
[AS_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
|
||||
[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
|
||||
[case "${enableval}" in
|
||||
samples) enable_tests=samples;;
|
||||
yes) enable_tests=yes ;;
|
||||
|
||||
@@ -5,7 +5,7 @@ dnl parts of these macros are derived from newlib-1.8.2's multilib support
|
||||
AC_DEFUN([RTEMS_ENABLE_MULTILIB],
|
||||
[
|
||||
AC_ARG_ENABLE(multilib,
|
||||
AS_HELP_STRING([--enable-multilib],
|
||||
AC_HELP_STRING([--enable-multilib],
|
||||
[build many library versions (default=no)]),
|
||||
[case "${enableval}" in
|
||||
yes) multilib=yes ;;
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
dnl $Id$
|
||||
|
||||
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
|
||||
AC_PREREQ(2.62)
|
||||
|
||||
dnl
|
||||
dnl RTEMS_TOP($1)
|
||||
dnl
|
||||
@@ -11,7 +8,6 @@ dnl
|
||||
AC_DEFUN([RTEMS_TOP],
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_VERSIONING])
|
||||
AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
|
||||
AC_CONFIG_AUX_DIR([$1])
|
||||
AC_CHECK_PROGS(MAKE, gmake make)
|
||||
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AC_DEFUN([RTEMS_VERSIONING],
|
||||
m4_define([_RTEMS_VERSION],[4.10.2]))
|
||||
m4_define([_RTEMS_VERSION],[4.7.0]))
|
||||
|
||||
m4_define([RTEMS_API],[4.10])
|
||||
m4_define([RTEMS_API],[4.7])
|
||||
|
||||
@@ -98,7 +98,7 @@ done
|
||||
|
||||
case $mode in
|
||||
preinstall)
|
||||
confs=`find . -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
|
||||
confs=`find -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
|
||||
for i in $confs; do
|
||||
dir=$(dirname $i);
|
||||
test "$quite" = "true" || echo "Generating $dir/preinstall.am"
|
||||
|
||||
14
c/.cvsignore
Normal file
14
c/.cvsignore
Normal file
@@ -0,0 +1,14 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
missing
|
||||
mkinstalldirs
|
||||
27
c/ChangeLog
27
c/ChangeLog
@@ -1,33 +1,10 @@
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Remove reference to bare BSP.
|
||||
Simplify RTEMS_BSP_LIST setup.
|
||||
|
||||
2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
|
||||
|
||||
* TOOL_TARGETS: Add Lattice Mico32 support.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* src/aclocal/rtems-cpu-subdirs.m4: Add new M32R port. It is just a
|
||||
beginning but the BSP is functional enough to initialize and shutdown
|
||||
RTEMS.
|
||||
|
||||
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Use MKDIR_P instead of mkdir_p.
|
||||
|
||||
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: New BUG-REPORT address.
|
||||
|
||||
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.60. Require automake-1.10.
|
||||
* configure.ac: Require automake-1.10. Require autoconf-2.60.
|
||||
|
||||
2006-08-09 Kolja Waschk <waschk@telos.de>
|
||||
|
||||
|
||||
@@ -28,11 +28,6 @@ mips:
|
||||
NOTE: Little endian configuration is not in all tools and
|
||||
is untested for RTEMS itself.
|
||||
|
||||
lm32:
|
||||
lm32-elf ELF Big endian
|
||||
|
||||
NOTE: Currently there is no native lm32-rtems toolchain;
|
||||
|
||||
nios2:
|
||||
nios2-elf ELF Little endian
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ([2.68])
|
||||
AC_PREREQ(2.60)
|
||||
AC_INIT([rtems-c],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
|
||||
AC_CONFIG_SRCDIR([TOOL_TARGETS])
|
||||
RTEMS_TOP(..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.11.1])
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.10])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
## These options are used within this file.
|
||||
@@ -37,8 +37,14 @@ for _rtems_bsp in : $rtems_bsp; do test "x$_rtems_bsp" = x: && continue
|
||||
# retrieve bsp_family
|
||||
RTEMS_BSP_ALIAS([$_rtems_bsp],[rtems_bsp_family])
|
||||
|
||||
# Is there a configure script for the BSP?
|
||||
AS_IF([test -r "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$rtems_bsp_family/configure"],
|
||||
# Is there code where there should be for this BSP?
|
||||
case $rtems_bsp_family in
|
||||
bare ) rtems_libbspdir="$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/bare" ;;
|
||||
* ) rtems_libbspdir="$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$rtems_bsp_family";;
|
||||
esac
|
||||
|
||||
# Is there a configure script for the BSP?
|
||||
AS_IF([test -r "$rtems_libbspdir/configure"],
|
||||
[RTEMS_BSP_LIST="$RTEMS_BSP_LIST $_rtems_bsp"])
|
||||
])
|
||||
done
|
||||
@@ -71,7 +77,7 @@ cat >> Makefile << BSPEOF
|
||||
$bsp: src/configure
|
||||
@set fnord \$(MAKEFLAGS); amf=\[$]\[$]2; \\
|
||||
echo "Configuring RTEMS_BSP=$bsp"; \\
|
||||
\$(MKDIR_P) $bsp; \\
|
||||
\$(mkdir_p) $bsp; \\
|
||||
( cd $bsp && \\
|
||||
CONFIG_SHELL=\$(SHELL) RTEMS_BSP=$bsp \$(rtems_bsp_configure) ) \\
|
||||
|| case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;
|
||||
|
||||
14
c/src/.cvsignore
Normal file
14
c/src/.cvsignore
Normal file
@@ -0,0 +1,14 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
missing
|
||||
mkinstalldirs
|
||||
1087
c/src/ChangeLog
1087
c/src/ChangeLog
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@ clean-local:
|
||||
make/@RTEMS_BSP@.cache: make/bsp.mak @CUSTOM_CFG_FILES@
|
||||
$(RM) make/@RTEMS_BSP@.cache
|
||||
$(MAKE) -f ${srcdir}/make/bsp.mak \
|
||||
'RTEMS_BSP=@RTEMS_BSP@' 'RTEMS_ROOT=.' \
|
||||
'RTEMS_BSP=@RTEMS_BSP@' 'RTEMS_HOST=@RTEMS_HOST@' 'RTEMS_ROOT=.' 'BARE_CPU_MODEL=${BARE_CPU_MODEL}' \
|
||||
make/@RTEMS_BSP@.cache
|
||||
|
||||
noinst_DATA = make/@RTEMS_BSP@.cache
|
||||
@@ -24,6 +24,9 @@ rtems_make_customdir = $(rtems_makedir)/custom
|
||||
rtems_make_custom_DATA = @CUSTOM_CFG_FILES@
|
||||
DISTCLEANFILES += @CUSTOM_CFG_FILES@
|
||||
|
||||
make/custom/default.cfg: $(srcdir)/make/custom/default.cfg.in
|
||||
cp $< $@
|
||||
|
||||
noinst_DATA += make/custom/default.cfg
|
||||
DISTCLEANFILES += make/custom/default.cfg
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
|
||||
dnl Internal subroutine to RTEMS_BSP_ALIAS
|
||||
AC_DEFUN([_RTEMS_BSP_ALIAS],
|
||||
[# account for "aliased" bsps which share source code
|
||||
for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do
|
||||
$2=`echo "$bsp_cfgs" | sed \
|
||||
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
|
||||
-e "s,/make/custom/.*\.cfg$,,"`
|
||||
break
|
||||
done
|
||||
])
|
||||
|
||||
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
|
||||
dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
|
||||
AC_DEFUN([RTEMS_BSP_ALIAS],
|
||||
[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
|
||||
m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
|
||||
)
|
||||
@@ -1,19 +0,0 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to provide each BSPs'
|
||||
dnl configure script with the standard options supported by boot_card()
|
||||
dnl and other required parts of the BSP Framework. Currently, this is
|
||||
dnl
|
||||
dnl - Can optionally dirty memory at boot time.
|
||||
dnl
|
||||
|
||||
dnl To be used in bsp-configure scripts
|
||||
|
||||
AC_DEFUN([RTEMS_BSP_BOOTCARD_OPTIONS],[
|
||||
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
|
||||
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
|
||||
[If defined, then the BSP Framework will put a non-zero pattern into
|
||||
the RTEMS Workspace and C program heap. This should assist in finding
|
||||
code that assumes memory starts set to zero.])
|
||||
])
|
||||
@@ -1,28 +0,0 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs'
|
||||
dnl configure script with the standard options supported by the shared
|
||||
dnl implementation of bsp_cleanup().
|
||||
dnl
|
||||
dnl - Can optionally dirty memory at boot time.
|
||||
dnl
|
||||
|
||||
dnl To be used in bsp-configure scripts
|
||||
|
||||
dnl USAGE:
|
||||
dnl RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1])
|
||||
dnl WHERE:
|
||||
dnl argument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET
|
||||
dnl argument 2 indicates the default value for BSP_RESET_BOARD_AT_EXIT
|
||||
|
||||
AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[
|
||||
RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[$1])
|
||||
RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
|
||||
[If defined, print a message and wait until pressed before resetting
|
||||
board when application exits.])
|
||||
|
||||
RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[$2])
|
||||
RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
|
||||
[If defined, reset the board when the application exits.])
|
||||
])
|
||||
@@ -34,6 +34,4 @@ echo "#endif /* __BSP_OPTIONS_H */" >>$tmp/config.h
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
RTEMS_CHECK_MULTIPROCESSING
|
||||
|
||||
RTEMS_BSP_BOOTCARD_OPTIONS
|
||||
])
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
dnl $Id$
|
||||
|
||||
dnl Install a BSP's linkcmds from the source-tree into the build-tree
|
||||
AC_DEFUN([RTEMS_BSP_LINKCMDS],[
|
||||
LINKCMDS=
|
||||
for f in "${srcdir}/startup/linkcmds.${RTEMS_BSP}" \
|
||||
"${srcdir}/startup/linkcmds.${RTEMS_BSP_FAMILY}" \
|
||||
"${srcdir}/startup/linkcmds";
|
||||
do
|
||||
AS_IF([test -f "$f"],[
|
||||
LINKCMDS="$f"
|
||||
break])
|
||||
done
|
||||
|
||||
AS_IF([test -z "${LINKCMDS}"],[
|
||||
AC_MSG_ERROR([can not determine linkcmds])])
|
||||
|
||||
AC_CONFIG_LINKS([startup/linkcmds:${LINKCMDS}])
|
||||
])
|
||||
@@ -29,7 +29,7 @@ dnl appropriate /bin/sh-magic to "configure" to have VAR set up.
|
||||
AC_DEFUN([RTEMS_BSPOPTS_HELP],[
|
||||
RTEMS_ARG_VAR([$1],[$2])
|
||||
m4_ifdef([_$1],[
|
||||
case "${RTEMS_BSP}" in
|
||||
case ${RTEMS_BSP} in
|
||||
_$1[]dnl
|
||||
esac],[])
|
||||
if test -n "[$]{$1}"; then[]dnl
|
||||
|
||||
@@ -13,13 +13,37 @@ AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
||||
AC_CANONICAL_HOST
|
||||
AC_MSG_CHECKING(rtems target cpu)
|
||||
case "${host}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-*linux*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
RTEMS_HOST=Linux
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
RTEMS_HOST=FreeBSD
|
||||
;;
|
||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
RTEMS_CPU=unix
|
||||
RTEMS_HOST=Cygwin
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
RTEMS_CPU=no_cpu
|
||||
RTEMS_HOST=$host_os
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
RTEMS_HOST=Solaris
|
||||
;;
|
||||
tic4x-*rtems*) # gcc changed the name
|
||||
RTEMS_CPU=c4x
|
||||
RTEMS_HOST=$host_os
|
||||
;;
|
||||
*)
|
||||
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||
RTEMS_HOST=$host_os
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(RTEMS_CPU)
|
||||
AC_SUBST(RTEMS_HOST)
|
||||
AC_MSG_RESULT($RTEMS_CPU)
|
||||
])
|
||||
|
||||
@@ -1,20 +1,22 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
|
||||
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
|
||||
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
|
||||
$2=
|
||||
for i in \
|
||||
`ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
|
||||
for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/$1 \
|
||||
${srcdir}/${RTEMS_TOPdir}/make/custom/$1;
|
||||
do
|
||||
AC_MSG_CHECKING([for $i])
|
||||
AS_IF([test -r $i],[
|
||||
$2="$i"
|
||||
break
|
||||
AC_MSG_RESULT([yes])
|
||||
break;
|
||||
],[
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
done
|
||||
])
|
||||
|
||||
AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
|
||||
AC_REQUIRE([RTEMS_TOP])
|
||||
_RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
|
||||
AS_IF([test -z "$BSP_FOUND"],[
|
||||
AC_MSG_ERROR([missing [$]$1.cfg])
|
||||
|
||||
@@ -9,7 +9,7 @@ AC_CACHE_CHECK([whether BSP supports networking],
|
||||
rtems_cv_HAS_NETWORKING,
|
||||
[dnl
|
||||
case "$RTEMS_CPU" in
|
||||
avr*|m32c*) # do not have address space to hold BSD TCP/IP stack
|
||||
unix*)
|
||||
rtems_cv_HAS_NETWORKING="no"
|
||||
;;
|
||||
*)
|
||||
|
||||
@@ -9,6 +9,9 @@ AC_CACHE_CHECK([whether CPU supports libposix],
|
||||
rtems_cv_HAS_POSIX_API,
|
||||
[dnl
|
||||
case "$RTEMS_CPU" in
|
||||
unix*)
|
||||
rtems_cv_HAS_POSIX_API="no"
|
||||
;;
|
||||
*)
|
||||
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
|
||||
rtems_cv_HAS_POSIX_API="yes";
|
||||
|
||||
33
c/src/aclocal/check-rdbg.m4
Normal file
33
c/src/aclocal/check-rdbg.m4
Normal file
@@ -0,0 +1,33 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
AC_DEFUN([RTEMS_CHECK_RDBG],
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_TOP])dnl
|
||||
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_CHECK_NETWORKING])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl
|
||||
AC_CACHE_CHECK([whether BSP supports librdbg],
|
||||
rtems_cv_HAS_RDBG,
|
||||
[
|
||||
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}";
|
||||
then
|
||||
rtems_cv_HAS_RDBG="yes" ;
|
||||
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
|
||||
then
|
||||
rtems_cv_HAS_RDBG="yes" ;
|
||||
elif test "${RTEMS_CPU}" = "powerpc";
|
||||
then
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[],
|
||||
[#if defined(_OLD_EXCEPTIONS)
|
||||
choke me
|
||||
#endif])],
|
||||
[rtems_cv_HAS_RDBG=yes],
|
||||
[rtems_cv_HAS_RDBG=no])
|
||||
else
|
||||
rtems_cv_HAS_RDBG="no";
|
||||
fi
|
||||
])
|
||||
HAS_RDBG="$rtems_cv_HAS_RDBG"
|
||||
])
|
||||
@@ -13,9 +13,19 @@ AC_ARG_ENABLE(posix,
|
||||
esac],[RTEMS_HAS_POSIX_API=yes])
|
||||
|
||||
case "${host}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-pc-linux*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
15
c/src/aclocal/enable-rdbg.m4
Normal file
15
c/src/aclocal/enable-rdbg.m4
Normal file
@@ -0,0 +1,15 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN([RTEMS_ENABLE_RDBG],
|
||||
[
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
|
||||
|
||||
AC_ARG_ENABLE(rdbg,
|
||||
[AS_HELP_STRING(--enable-rdbg,enable remote debugger)],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_RDBG=yes ;;
|
||||
no) RTEMS_HAS_RDBG=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
|
||||
esac],[RTEMS_HAS_RDBG=no])
|
||||
AC_SUBST(RTEMS_HAS_RDBG)dnl
|
||||
])
|
||||
@@ -27,6 +27,8 @@ RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
||||
AC_MSG_RESULT(${RTEMS_BSP})
|
||||
AC_SUBST(RTEMS_BSP)
|
||||
|
||||
AM_CONDITIONAL([MULTILIB],[false])
|
||||
|
||||
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
||||
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
||||
GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"])
|
||||
AC_SUBST(GCCSPECS)
|
||||
|
||||
if test "$GCC" = yes; then
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
|
||||
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
|
||||
fi
|
||||
AC_SUBST(RTEMS_CFLAGS)
|
||||
|
||||
AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
|
||||
RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[
|
||||
RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
|
||||
@@ -42,7 +48,7 @@ AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
|
||||
AC_SUBST(RTEMS_CPPFLAGS)
|
||||
|
||||
AS_IF([test "$GCC" = yes],[
|
||||
RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -r"
|
||||
RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -Wl,-r"
|
||||
])
|
||||
AC_SUBST(RTEMS_RELLDFLAGS)
|
||||
])
|
||||
|
||||
@@ -11,19 +11,20 @@ AC_DEFUN([RTEMS_CPU_SUBDIRS],
|
||||
## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
|
||||
case $RTEMS_CPU in
|
||||
_RTEMS_CPU_SUBDIR([arm],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([bfin],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([avr],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([c4x],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([h8300],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([i386],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([lm32],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([m32c],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([m32r],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([m68k],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([mips],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([nios2],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([or32],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([sh],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([sparc],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([unix],[$1]);;
|
||||
*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
|
||||
esac
|
||||
])
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
dnl $Id$
|
||||
|
||||
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
|
||||
AC_PREREQ(2.62)
|
||||
|
||||
dnl
|
||||
dnl RTEMS_TOP($1)
|
||||
dnl
|
||||
@@ -11,15 +8,13 @@ dnl
|
||||
AC_DEFUN([RTEMS_TOP],
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_VERSIONING])
|
||||
AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])
|
||||
AC_CONFIG_AUX_DIR([$1])
|
||||
AC_CHECK_PROGS(MAKE, gmake make)
|
||||
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
|
||||
|
||||
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
|
||||
|
||||
AC_SUBST([RTEMS_TOPdir],["$1"])
|
||||
RTEMS_TOPdir="$1"
|
||||
|
||||
# HACK: The sed pattern in rtems_updir matches c/src/
|
||||
rtems_updir=m4_if([$2],[],[`echo "$1/" | sed 's,^\.\.\/\.\.\/,,'`],[$2/])
|
||||
|
||||
@@ -28,13 +28,11 @@ if test "$no_recursion" != yes; then
|
||||
-target ) ac_prev=target_alias ;;
|
||||
-build* | --build* ) ;;
|
||||
-build ) ac_prev_build_alias ;;
|
||||
CFLAGS=* );; # HACK: Strip CFLAGS
|
||||
*_alias=* ) ;; # HACK: Workaround to autoconf passing *_alias
|
||||
],
|
||||
[rtems_configure_args])
|
||||
|
||||
for rtems_config_dir in : $RTEMS_BUILD_SUBDIRS; do test "x$rtems_config_dir" = x: && continue
|
||||
|
||||
for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
if test ! -d $srcdir/$rtems_config_dir; then
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AC_DEFUN([RTEMS_VERSIONING],
|
||||
m4_define([_RTEMS_VERSION],[4.10.2]))
|
||||
m4_define([_RTEMS_VERSION],[4.7.0]))
|
||||
|
||||
m4_define([RTEMS_API],[4.10])
|
||||
m4_define([RTEMS_API],[4.7])
|
||||
|
||||
12
c/src/ada-tests/.cvsignore
Normal file
12
c/src/ada-tests/.cvsignore
Normal file
@@ -0,0 +1,12 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
aclocal*
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
autom4te.*
|
||||
autom4te.cache
|
||||
config.*
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
@@ -1,544 +1,3 @@
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/mp01_node2.adb,
|
||||
mptests/mp02/node1/mp02_node1.adb, mptests/mp02/node2/mp02_node2.adb,
|
||||
mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/mp03_node2.adb,
|
||||
mptests/mp04/node1/mp04_node1.adb, mptests/mp04/node2/mp04_node2.adb,
|
||||
mptests/mp05/mptest.adb, mptests/mp05/node1/mp05_node1.adb,
|
||||
mptests/mp05/node2/mp05_node2.adb, mptests/mp06/node1/mp06_node1.adb,
|
||||
mptests/mp06/node2/mp06_node2.adb, mptests/mp07/node1/mp07_node1.adb,
|
||||
mptests/mp07/node2/mp07_node2.adb, mptests/mp08/node1/mp08_node1.adb,
|
||||
mptests/mp08/node2/mp08_node2.adb, mptests/mp09/node1/mp09_node1.adb,
|
||||
mptests/mp09/node2/mp09_node2.adb, mptests/mp10/node1/mp10_node1.adb,
|
||||
mptests/mp10/node2/mp10_node2.adb, mptests/mp11/node1/mp11_node1.adb,
|
||||
mptests/mp11/node2/mp11_node2.adb, mptests/mp12/node1/mp12_node1.adb,
|
||||
mptests/mp12/node2/mp12_node2.adb, mptests/mp13/node1/mp13_node1.adb,
|
||||
mptests/mp13/node2/mp13_node2.adb, mptests/mp14/mptest.adb,
|
||||
mptests/mp14/node1/mp14_node1.adb, mptests/mp14/node2/mp14_node2.adb,
|
||||
sptests/sp09/sptest.adb, sptests/sp11/sptest.adb,
|
||||
sptests/sp13/sptest.adb, sptests/sp16/sptest.adb,
|
||||
support/test_support.adb: Lines are now all less than 80 columns.
|
||||
|
||||
2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* samples/base_sp/sptest.adb, samples/hello/sptest.adb,
|
||||
samples/nsecs/sptest.adb, samples/ticker/sptest.adb,
|
||||
sptests/sp01/sptest.adb, sptests/sp02/sptest.adb,
|
||||
sptests/sp03/sptest.adb, sptests/sp04/sptest.adb,
|
||||
sptests/sp05/sptest.adb, sptests/sp06/sptest.adb,
|
||||
sptests/sp07/sptest.adb, sptests/sp08/sptest.adb,
|
||||
sptests/sp09/sptest.adb, sptests/sp11/sptest.adb,
|
||||
sptests/sp12/sptest.adb, sptests/sp13/sptest.adb,
|
||||
sptests/sp14/sptest.adb, sptests/sp15/sptest.adb,
|
||||
sptests/sp16/sptest.adb, sptests/sp17/sptest.adb,
|
||||
sptests/sp19/sptest.adp, sptests/sp20/sptest.adb,
|
||||
sptests/sp22/sptest.adb, sptests/sp23/sptest.adb,
|
||||
sptests/sp24/sptest.adb, sptests/sp25/sptest.adb,
|
||||
sptests/spname01/spname01.adb, sptests/spname01/sptest.adb,
|
||||
sptests/spname01/sptest.ads, support/address_io.adb, support/init.c,
|
||||
support/test_support.adb, support/test_support.ads,
|
||||
support/time_test_support.adb, support/timer_driver.adb,
|
||||
tmtests/tm01/tmtest.adb, tmtests/tm01/tmtest.ads,
|
||||
tmtests/tm02/tmtest.adb, tmtests/tm02/tmtest.ads,
|
||||
tmtests/tm03/tmtest.adb, tmtests/tm03/tmtest.ads,
|
||||
tmtests/tm04/tmtest.adb, tmtests/tm04/tmtest.ads,
|
||||
tmtests/tm05/tmtest.adb, tmtests/tm05/tmtest.ads,
|
||||
tmtests/tm06/tmtest.adb, tmtests/tm06/tmtest.ads,
|
||||
tmtests/tm07/tmtest.adb, tmtests/tm07/tmtest.ads,
|
||||
tmtests/tm08/tmtest.adb, tmtests/tm08/tmtest.ads,
|
||||
tmtests/tm09/tmtest.adb, tmtests/tm09/tmtest.ads,
|
||||
tmtests/tm10/tmtest.adb, tmtests/tm10/tmtest.ads,
|
||||
tmtests/tm11/tmtest.adb, tmtests/tm11/tmtest.ads,
|
||||
tmtests/tm12/tmtest.adb, tmtests/tm12/tmtest.ads,
|
||||
tmtests/tm13/tmtest.adb, tmtests/tm13/tmtest.ads,
|
||||
tmtests/tm14/tmtest.adb, tmtests/tm14/tmtest.ads,
|
||||
tmtests/tm15/tmtest.adb, tmtests/tm15/tmtest.ads,
|
||||
tmtests/tm16/tmtest.adb, tmtests/tm16/tmtest.ads,
|
||||
tmtests/tm17/tmtest.adb, tmtests/tm17/tmtest.ads,
|
||||
tmtests/tm18/tmtest.adb, tmtests/tm18/tmtest.ads,
|
||||
tmtests/tm19/tmtest.adb, tmtests/tm19/tmtest.ads,
|
||||
tmtests/tm20/tmtest.adb, tmtests/tm20/tmtest.ads,
|
||||
tmtests/tm21/tmtest.adb, tmtests/tm21/tmtest.ads,
|
||||
tmtests/tm22/tmtest.adb, tmtests/tm22/tmtest.ads,
|
||||
tmtests/tm23/tmtest.adb, tmtests/tm23/tmtest.ads,
|
||||
tmtests/tm24/tmtest.adb, tmtests/tm24/tmtest.ads,
|
||||
tmtests/tm25/tmtest.adb, tmtests/tm25/tmtest.ads,
|
||||
tmtests/tm28/tmtest.adb, tmtests/tm28/tmtest.ads,
|
||||
tmtests/tm29/tmtest.adb, tmtests/tm29/tmtest.ads,
|
||||
tmtests/tmck/tmtest.adb, tmtests/tmck/tmtest.ads,
|
||||
tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/tmtest.adb,
|
||||
tmtests/tmoverhd/tmtest.ads: Remove many warnings.
|
||||
|
||||
2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
|
||||
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
|
||||
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
|
||||
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
|
||||
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
|
||||
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
|
||||
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
|
||||
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
|
||||
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
|
||||
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
|
||||
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
|
||||
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
|
||||
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
|
||||
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
|
||||
samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
|
||||
samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
|
||||
samples/hello/Makefile.am, samples/nsecs/Makefile.am,
|
||||
samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
|
||||
sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
|
||||
sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
|
||||
sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
|
||||
sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
|
||||
sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
|
||||
sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
|
||||
sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
|
||||
sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
|
||||
sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
|
||||
sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
|
||||
sptests/sp25/Makefile.am, sptests/spname01/Makefile.am,
|
||||
tmtests/tm01/Makefile.am, tmtests/tm02/Makefile.am,
|
||||
tmtests/tm03/Makefile.am, tmtests/tm04/Makefile.am,
|
||||
tmtests/tm05/Makefile.am, tmtests/tm06/Makefile.am,
|
||||
tmtests/tm07/Makefile.am, tmtests/tm08/Makefile.am,
|
||||
tmtests/tm09/Makefile.am, tmtests/tm10/Makefile.am,
|
||||
tmtests/tm11/Makefile.am, tmtests/tm12/Makefile.am,
|
||||
tmtests/tm13/Makefile.am, tmtests/tm14/Makefile.am,
|
||||
tmtests/tm15/Makefile.am, tmtests/tm16/Makefile.am,
|
||||
tmtests/tm17/Makefile.am, tmtests/tm18/Makefile.am,
|
||||
tmtests/tm19/Makefile.am, tmtests/tm20/Makefile.am,
|
||||
tmtests/tm21/Makefile.am, tmtests/tm22/Makefile.am,
|
||||
tmtests/tm23/Makefile.am, tmtests/tm24/Makefile.am,
|
||||
tmtests/tm25/Makefile.am, tmtests/tm28/Makefile.am,
|
||||
tmtests/tm29/Makefile.am, tmtests/tmck/Makefile.am,
|
||||
tmtests/tmoverhd/Makefile.am: Update so all tests build.
|
||||
|
||||
2008-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* support/timer_driver.adb, support/timer_driver.ads,
|
||||
tmtests/tm01/tmtest.adb, tmtests/tm02/tmtest.adb,
|
||||
tmtests/tm03/tmtest.adb, tmtests/tm04/tmtest.adb,
|
||||
tmtests/tm05/tmtest.adb, tmtests/tm06/tmtest.adb,
|
||||
tmtests/tm07/tmtest.adb, tmtests/tm08/tmtest.adb,
|
||||
tmtests/tm09/tmtest.adb, tmtests/tm10/tmtest.adb,
|
||||
tmtests/tm11/tmtest.adb, tmtests/tm12/tmtest.adb,
|
||||
tmtests/tm13/tmtest.adb, tmtests/tm14/tmtest.adb,
|
||||
tmtests/tm15/tmtest.adb, tmtests/tm16/tmtest.adb,
|
||||
tmtests/tm17/tmtest.adb, tmtests/tm18/tmtest.adb,
|
||||
tmtests/tm19/tmtest.adb, tmtests/tm20/config.h,
|
||||
tmtests/tm20/tmtest.adb, tmtests/tm21/tmtest.adb,
|
||||
tmtests/tm22/tmtest.adb, tmtests/tm23/tmtest.adb,
|
||||
tmtests/tm24/tmtest.adb, tmtests/tm25/tmtest.adb,
|
||||
tmtests/tm28/tmtest.adb, tmtests/tm29/tmtest.adb,
|
||||
tmtests/tmck/tmtest.adb, tmtests/tmoverhd/tmtest.adb: Clean up.
|
||||
Verified to run on psim with gcc 4.3.2.
|
||||
|
||||
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* support/timer_driver.ads: Switch to new names.
|
||||
|
||||
2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* samples/hello/config.h, sptests/spname01/config.h: These needed
|
||||
CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
|
||||
|
||||
2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* mptests/mp01/mptest.ads, mptests/mp02/mptest.ads,
|
||||
mptests/mp03/mptest.ads, mptests/mp04/mptest.ads,
|
||||
mptests/mp05/mptest.ads, mptests/mp06/mptest.ads,
|
||||
mptests/mp07/mptest.ads, mptests/mp08/mptest.ads,
|
||||
mptests/mp09/mptest.ads, mptests/mp10/mptest.ads,
|
||||
mptests/mp11/mptest.ads, mptests/mp12/mptest.ads,
|
||||
mptests/mp13/mptest.ads, mptests/mp14/mptest.ads,
|
||||
samples/base_mp/mptest.ads, samples/base_sp/sptest.ads,
|
||||
samples/hello/sptest.ads, samples/nsecs/sptest.ads,
|
||||
samples/ticker/sptest.ads, sptests/sp01/sptest.ads,
|
||||
sptests/sp02/sptest.ads, sptests/sp03/sptest.ads,
|
||||
sptests/sp04/sptest.ads, sptests/sp05/sptest.ads,
|
||||
sptests/sp06/sptest.ads, sptests/sp07/sptest.ads,
|
||||
sptests/sp08/sptest.ads, sptests/sp09/sptest.ads,
|
||||
sptests/sp11/sptest.ads, sptests/sp12/sptest.ads,
|
||||
sptests/sp13/sptest.ads, sptests/sp14/sptest.ads,
|
||||
sptests/sp15/sptest.ads, sptests/sp16/sptest.ads,
|
||||
sptests/sp17/sptest.ads, sptests/sp19/sptest.ads,
|
||||
sptests/sp20/sptest.ads, sptests/sp22/sptest.ads,
|
||||
sptests/sp23/sptest.ads, sptests/sp24/sptest.ads,
|
||||
sptests/sp25/sptest.ads, sptests/spname01/spname01.adb,
|
||||
tmtests/tm01/tmtest.ads, tmtests/tm02/tmtest.ads,
|
||||
tmtests/tm03/tmtest.ads, tmtests/tm04/tmtest.ads,
|
||||
tmtests/tm05/tmtest.ads, tmtests/tm06/tmtest.ads,
|
||||
tmtests/tm07/tmtest.ads, tmtests/tm08/tmtest.ads,
|
||||
tmtests/tm09/tmtest.ads, tmtests/tm10/tmtest.ads,
|
||||
tmtests/tm11/tmtest.ads, tmtests/tm12/tmtest.ads,
|
||||
tmtests/tm13/tmtest.ads, tmtests/tm14/tmtest.ads,
|
||||
tmtests/tm15/tmtest.ads, tmtests/tm16/tmtest.ads,
|
||||
tmtests/tm17/tmtest.ads, tmtests/tm18/tmtest.ads,
|
||||
tmtests/tm19/tmtest.ads, tmtests/tm20/tmtest.adb,
|
||||
tmtests/tm20/tmtest.ads, tmtests/tm21/tmtest.ads,
|
||||
tmtests/tm22/tmtest.ads, tmtests/tm23/tmtest.ads,
|
||||
tmtests/tm24/tmtest.ads, tmtests/tm25/tmtest.ads,
|
||||
tmtests/tm28/tmtest.ads, tmtests/tm29/tmtest.ads,
|
||||
tmtests/tmck/tmtest.ads, tmtests/tmoverhd/tmtest.ads:
|
||||
Added pragma Convention C as required by gcc > 4.3.
|
||||
|
||||
2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sptests/spname01/config.h: New file.
|
||||
|
||||
2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* configure.ac, sptests/Makefile.am: Exercise passing as object Id of
|
||||
SELF.
|
||||
* sptests/spname01/.cvsignore, sptests/spname01/Makefile.am,
|
||||
sptests/spname01/ada_spname01.scn, sptests/spname01/spname01.adb,
|
||||
sptests/spname01/sptest.adb, sptests/spname01/sptest.ads: New files.
|
||||
|
||||
2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
|
||||
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
|
||||
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
|
||||
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
|
||||
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
|
||||
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
|
||||
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
|
||||
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
|
||||
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
|
||||
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
|
||||
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
|
||||
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
|
||||
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
|
||||
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
|
||||
samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am,
|
||||
samples/base_sp/Makefile.am, samples/hello/Makefile.am,
|
||||
samples/nsecs/Makefile.am, samples/ticker/Makefile.am,
|
||||
sptests/sp01/Makefile.am, sptests/sp02/Makefile.am,
|
||||
sptests/sp03/Makefile.am, sptests/sp04/Makefile.am,
|
||||
sptests/sp05/Makefile.am, sptests/sp06/Makefile.am,
|
||||
sptests/sp07/Makefile.am, sptests/sp08/Makefile.am,
|
||||
sptests/sp09/Makefile.am, sptests/sp11/Makefile.am,
|
||||
sptests/sp12/Makefile.am, sptests/sp13/Makefile.am,
|
||||
sptests/sp14/Makefile.am, sptests/sp15/Makefile.am,
|
||||
sptests/sp16/Makefile.am, sptests/sp17/Makefile.am,
|
||||
sptests/sp19/Makefile.am, sptests/sp20/Makefile.am,
|
||||
sptests/sp22/Makefile.am, sptests/sp23/Makefile.am,
|
||||
sptests/sp24/Makefile.am, sptests/sp25/Makefile.am,
|
||||
tmtests/tm01/Makefile.am, tmtests/tm02/Makefile.am,
|
||||
tmtests/tm03/Makefile.am, tmtests/tm04/Makefile.am,
|
||||
tmtests/tm05/Makefile.am, tmtests/tm06/Makefile.am,
|
||||
tmtests/tm07/Makefile.am, tmtests/tm08/Makefile.am,
|
||||
tmtests/tm09/Makefile.am, tmtests/tm10/Makefile.am,
|
||||
tmtests/tm11/Makefile.am, tmtests/tm12/Makefile.am,
|
||||
tmtests/tm13/Makefile.am, tmtests/tm14/Makefile.am,
|
||||
tmtests/tm15/Makefile.am, tmtests/tm16/Makefile.am,
|
||||
tmtests/tm17/Makefile.am, tmtests/tm18/Makefile.am,
|
||||
tmtests/tm19/Makefile.am, tmtests/tm20/Makefile.am,
|
||||
tmtests/tm21/Makefile.am, tmtests/tm22/Makefile.am,
|
||||
tmtests/tm23/Makefile.am, tmtests/tm24/Makefile.am,
|
||||
tmtests/tm25/Makefile.am, tmtests/tm28/Makefile.am,
|
||||
tmtests/tm29/Makefile.am, tmtests/tmck/Makefile.am,
|
||||
tmtests/tmoverhd/Makefile.am: Make all test names unique. All needed
|
||||
ada_ as prefix to distinguish them from the C tests. MP tests should
|
||||
produce an executable with test name and node number in it. Screens
|
||||
renamed to follow.
|
||||
* ada_mvscn, mptests/mp01/node1/ada_mp01-node1.scn,
|
||||
mptests/mp01/node2/ada_mp01-node2.scn,
|
||||
mptests/mp02/node1/ada_mp02-node1.scn,
|
||||
mptests/mp02/node2/ada_mp02-node2.scn,
|
||||
mptests/mp03/node1/ada_mp03-node1.scn,
|
||||
mptests/mp03/node2/ada_mp03-node2.scn,
|
||||
mptests/mp04/node1/ada_mp04-node1.scn,
|
||||
mptests/mp04/node2/ada_mp04-node2.scn,
|
||||
mptests/mp05/node1/ada_mp05-node1.scn,
|
||||
mptests/mp05/node2/ada_mp05-node2.scn,
|
||||
mptests/mp06/node1/ada_mp06-node1.scn,
|
||||
mptests/mp06/node2/ada_mp06-node2.scn,
|
||||
mptests/mp07/node1/ada_mp07-node1.scn,
|
||||
mptests/mp07/node2/ada_mp07-node2.scn,
|
||||
mptests/mp08/node1/ada_mp08-node1.scn,
|
||||
mptests/mp08/node2/ada_mp08-node2.scn,
|
||||
mptests/mp09/node1/ada_mp09-node1.scn,
|
||||
mptests/mp09/node2/ada_mp09-node2.scn,
|
||||
mptests/mp10/node1/ada_mp10-node1.scn,
|
||||
mptests/mp10/node2/ada_mp10-node2.scn,
|
||||
mptests/mp11/node1/ada_mp11-node1.scn,
|
||||
mptests/mp11/node2/ada_mp11-node2.scn,
|
||||
mptests/mp12/node1/ada_mp12-node1.scn,
|
||||
mptests/mp12/node2/ada_mp12-node2.scn,
|
||||
mptests/mp13/node1/ada_mp13-node1.scn,
|
||||
mptests/mp13/node2/ada_mp13-node2.scn,
|
||||
mptests/mp14/node1/ada_mp14-node1.scn,
|
||||
mptests/mp14/node2/ada_mp14-node2.scn,
|
||||
samples/base_mp/node1/ada_base_mp-node1.scn,
|
||||
samples/base_mp/node2/ada_base_mp-node2.scn,
|
||||
samples/base_sp/ada_base_sp.scn, samples/hello/ada_hello.scn,
|
||||
samples/nsecs/ada_nsecs.scn, samples/ticker/ada_ticker.scn,
|
||||
sptests/sp01/ada_sp01.scn, sptests/sp02/ada_sp02.scn,
|
||||
sptests/sp03/ada_sp03.scn, sptests/sp04/ada_sp04.scn,
|
||||
sptests/sp05/ada_sp05.scn, sptests/sp06/ada_sp06.scn,
|
||||
sptests/sp07/ada_sp07.scn, sptests/sp08/ada_sp08.scn,
|
||||
sptests/sp09/ada_sp09.scn, sptests/sp11/ada_sp11.scn,
|
||||
sptests/sp12/ada_sp12.scn, sptests/sp13/ada_sp13.scn,
|
||||
sptests/sp14/ada_sp14.scn, sptests/sp15/ada_sp15.scn,
|
||||
sptests/sp16/ada_sp16.scn, sptests/sp17/ada_sp17.scn,
|
||||
sptests/sp19/ada_sp19.scn, sptests/sp20/ada_sp20.scn,
|
||||
sptests/sp22/ada_sp22.scn, sptests/sp23/ada_sp23.scn,
|
||||
sptests/sp24/ada_sp24.scn, sptests/sp25/ada_sp25.scn: New files.
|
||||
* mptests/mp01/node1/mp01-node1.scn, mptests/mp01/node2/mp01-node2.scn,
|
||||
mptests/mp02/node1/mp02-node1.scn, mptests/mp02/node2/mp02-node2.scn,
|
||||
mptests/mp03/node1/mp03-node1.scn, mptests/mp03/node2/mp03-node2.scn,
|
||||
mptests/mp04/node1/mp04-node1.scn, mptests/mp04/node2/mp04-node2.scn,
|
||||
mptests/mp05/node1/mp05-node1.scn, mptests/mp05/node2/mp05-node2.scn,
|
||||
mptests/mp06/node1/mp06-node1.scn, mptests/mp06/node2/mp06-node2.scn,
|
||||
mptests/mp07/node1/mp07-node1.scn, mptests/mp07/node2/mp07-node2.scn,
|
||||
mptests/mp08/node1/mp08-node1.scn, mptests/mp08/node2/mp08-node2.scn,
|
||||
mptests/mp09/node1/mp09-node1.scn, mptests/mp09/node2/mp09-node2.scn,
|
||||
mptests/mp10/node1/mp10-node1.scn, mptests/mp10/node2/mp10-node2.scn,
|
||||
mptests/mp11/node1/mp11-node1.scn, mptests/mp11/node2/mp11-node2.scn,
|
||||
mptests/mp12/node1/mp12-node1.scn, mptests/mp12/node2/mp12-node2.scn,
|
||||
mptests/mp13/node1/mp13-node1.scn, mptests/mp13/node2/mp13-node2.scn,
|
||||
mptests/mp14/node1/mp14-node1.scn, mptests/mp14/node2/mp14-node2.scn,
|
||||
samples/base_mp/node1/base_mp-node1.scn,
|
||||
samples/base_mp/node2/base_mp-node2.scn, samples/base_sp/base_sp.scn,
|
||||
samples/hello/hello.scn, samples/nsecs/nsecs.scn,
|
||||
samples/ticker/ticker.scn, sptests/sp01/sp01.scn,
|
||||
sptests/sp02/sp02.scn, sptests/sp03/sp03.scn, sptests/sp04/sp04.scn,
|
||||
sptests/sp05/sp05.scn, sptests/sp06/sp06.scn, sptests/sp07/sp07.scn,
|
||||
sptests/sp08/sp08.scn, sptests/sp09/sp09.scn, sptests/sp11/sp11.scn,
|
||||
sptests/sp12/sp12.scn, sptests/sp13/sp13.scn, sptests/sp14/sp14.scn,
|
||||
sptests/sp15/sp15.scn, sptests/sp16/sp16.scn, sptests/sp17/sp17.scn,
|
||||
sptests/sp19/sp19.scn, sptests/sp20/sp20.scn, sptests/sp22/sp22.scn,
|
||||
sptests/sp23/sp23.scn, sptests/sp24/sp24.scn, sptests/sp25/sp25.scn:
|
||||
Removed.
|
||||
|
||||
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* ada.am: Now builds cleanly with GCC trunk.
|
||||
|
||||
2007-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
|
||||
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
|
||||
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
|
||||
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
|
||||
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
|
||||
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
|
||||
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
|
||||
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
|
||||
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
|
||||
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
|
||||
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
|
||||
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
|
||||
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
|
||||
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
|
||||
samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
|
||||
samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
|
||||
samples/hello/Makefile.am, samples/nsecs/Makefile.am,
|
||||
samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
|
||||
sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
|
||||
sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
|
||||
sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
|
||||
sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
|
||||
sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
|
||||
sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
|
||||
sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
|
||||
sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
|
||||
sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
|
||||
sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
|
||||
sptests/sp25/Makefile.am, tmtests/tm01/Makefile.am,
|
||||
tmtests/tm02/Makefile.am, tmtests/tm03/Makefile.am,
|
||||
tmtests/tm04/Makefile.am, tmtests/tm05/Makefile.am,
|
||||
tmtests/tm06/Makefile.am, tmtests/tm07/Makefile.am,
|
||||
tmtests/tm08/Makefile.am, tmtests/tm09/Makefile.am,
|
||||
tmtests/tm10/Makefile.am, tmtests/tm11/Makefile.am,
|
||||
tmtests/tm12/Makefile.am, tmtests/tm13/Makefile.am,
|
||||
tmtests/tm14/Makefile.am, tmtests/tm15/Makefile.am,
|
||||
tmtests/tm16/Makefile.am, tmtests/tm17/Makefile.am,
|
||||
tmtests/tm18/Makefile.am, tmtests/tm19/Makefile.am,
|
||||
tmtests/tm20/Makefile.am, tmtests/tm21/Makefile.am,
|
||||
tmtests/tm22/Makefile.am, tmtests/tm23/Makefile.am,
|
||||
tmtests/tm24/Makefile.am, tmtests/tm25/Makefile.am,
|
||||
tmtests/tm28/Makefile.am, tmtests/tm29/Makefile.am,
|
||||
tmtests/tmck/Makefile.am, tmtests/tmoverhd/Makefile.am: Executables
|
||||
should end in .exe just like their C counterparts.
|
||||
|
||||
2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
|
||||
|
||||
* configure.ac, samples/Makefile.am: Added a test for Clock_Get_Uptime
|
||||
* samples/nsecs/.cvsignore, samples/nsecs/Makefile.am,
|
||||
samples/nsecs/config.h, samples/nsecs/nsecs.adb,
|
||||
samples/nsecs/nsecs.scn, samples/nsecs/sptest.adb,
|
||||
samples/nsecs/sptest.ads: New files.
|
||||
|
||||
2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
|
||||
|
||||
* sptests/sp16/sptest.ads, sptests/sp20/sptest.adb,
|
||||
sptests/sp20/sptest.ads: Forgot to update the copyright.
|
||||
|
||||
2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
|
||||
|
||||
* sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
|
||||
sptests/sp13/sp13.scn, sptests/sp13/sptest.adb,
|
||||
sptests/sp16/sp16.scn, sptests/sp16/sptest.adb,
|
||||
sptests/sp16/sptest.ads, sptests/sp20/sp20.scn,
|
||||
sptests/sp20/sptest.adb, sptests/sp20/sptest.ads: Updated tests to
|
||||
match the current C tests and regenerated the .scn files.
|
||||
|
||||
2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
|
||||
|
||||
* configure.ac, samples/base_sp/base_sp.scn, samples/base_sp/config.h,
|
||||
samples/base_sp/sptest.adb, samples/hello/config.h,
|
||||
samples/ticker/config.h, samples/ticker/ticker.scn,
|
||||
sptests/Makefile.am, sptests/sp01/sp01.scn, sptests/sp02/config.h,
|
||||
sptests/sp02/sp02.scn, sptests/sp03/config.h, sptests/sp03/sp03.scn,
|
||||
sptests/sp04/sp04.scn, sptests/sp04/sptest.adb,
|
||||
sptests/sp05/config.h, sptests/sp05/sp05.scn, sptests/sp06/config.h,
|
||||
sptests/sp07/config.h, sptests/sp07/sp07.scn,
|
||||
sptests/sp07/sptest.adb, sptests/sp07/sptest.ads,
|
||||
sptests/sp08/config.h, sptests/sp08/sp08.scn,
|
||||
sptests/sp09/Makefile.am, sptests/sp09/config.h,
|
||||
sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
|
||||
sptests/sp09/sptest.ads, sptests/sp11/config.h,
|
||||
sptests/sp11/sp11.scn, sptests/sp12/config.h, sptests/sp12/sp12.scn,
|
||||
sptests/sp13/config.h, sptests/sp13/sp13.scn,
|
||||
sptests/sp13/sptest.adb, sptests/sp14/config.h,
|
||||
sptests/sp14/sp14.scn, sptests/sp15/config.h, sptests/sp15/sp15.scn,
|
||||
sptests/sp16/config.h, sptests/sp16/sp16.scn,
|
||||
sptests/sp16/sptest.adb, sptests/sp17/config.h,
|
||||
sptests/sp19/config.h, sptests/sp19/sp19.scn, sptests/sp20/config.h,
|
||||
sptests/sp20/sp20.scn, sptests/sp22/config.h, sptests/sp22/sp22.scn,
|
||||
sptests/sp23/config.h, sptests/sp23/sp23.scn, sptests/sp24/config.h,
|
||||
sptests/sp24/sp24.scn, sptests/sp25/config.h, sptests/sp25/sp25.scn,
|
||||
support/init.c, support/test_support.adb, support/test_support.ads,
|
||||
tmtests/tm09/config.h, tmtests/tm20/tmtest.adb,
|
||||
tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads,
|
||||
tmtests/tmoverhd/tmtest.adb, tmtests/tmoverhd/tmtest.ads: Updated
|
||||
tests so that they would all compile and run without errors. Some
|
||||
tests that are no longer valid using the current binding were
|
||||
removed. Also updated the .scn files to reflect the current test
|
||||
output.
|
||||
* sptests/sp21/.cvsignore, sptests/sp21/Makefile.am,
|
||||
sptests/sp21/config.h, sptests/sp21/sp21.adb, sptests/sp21/sp21.scn,
|
||||
sptests/sp21/sptest.adb, sptests/sp21/sptest.ads,
|
||||
sptests/spsize/.cvsignore, sptests/spsize/Makefile.am,
|
||||
sptests/spsize/spsize.adb, sptests/spsize/sptest.adb,
|
||||
sptests/spsize/sptest.ads: Removed.
|
||||
|
||||
2007-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
|
||||
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
|
||||
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
|
||||
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
|
||||
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
|
||||
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
|
||||
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
|
||||
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
|
||||
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
|
||||
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
|
||||
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
|
||||
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
|
||||
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
|
||||
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am: Basic
|
||||
build structure should now be correct. The remaining issues should be
|
||||
test specific.
|
||||
* mptests/mp01/config_base.h, mptests/mp01/node1/config.h,
|
||||
mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/config.h,
|
||||
mptests/mp01/node2/mp01_node2.adb, mptests/mp02/config_base.h,
|
||||
mptests/mp02/node1/config.h, mptests/mp02/node1/mp02_node1.adb,
|
||||
mptests/mp02/node2/config.h, mptests/mp02/node2/mp02_node2.adb,
|
||||
mptests/mp03/config_base.h, mptests/mp03/node1/config.h,
|
||||
mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/config.h,
|
||||
mptests/mp03/node2/mp03_node2.adb, mptests/mp04/config_base.h,
|
||||
mptests/mp04/node1/config.h, mptests/mp04/node1/mp04_node1.adb,
|
||||
mptests/mp04/node2/config.h, mptests/mp04/node2/mp04_node2.adb,
|
||||
mptests/mp05/config_base.h, mptests/mp05/node1/config.h,
|
||||
mptests/mp05/node1/mp05_node1.adb, mptests/mp05/node2/config.h,
|
||||
mptests/mp05/node2/mp05_node2.adb, mptests/mp06/config_base.h,
|
||||
mptests/mp06/node1/config.h, mptests/mp06/node1/mp06_node1.adb,
|
||||
mptests/mp06/node2/config.h, mptests/mp06/node2/mp06_node2.adb,
|
||||
mptests/mp07/config_base.h, mptests/mp07/node1/config.h,
|
||||
mptests/mp07/node1/mp07_node1.adb, mptests/mp07/node2/config.h,
|
||||
mptests/mp07/node2/mp07_node2.adb, mptests/mp08/config_base.h,
|
||||
mptests/mp08/node1/config.h, mptests/mp08/node1/mp08_node1.adb,
|
||||
mptests/mp08/node2/config.h, mptests/mp08/node2/mp08_node2.adb,
|
||||
mptests/mp09/config_base.h, mptests/mp09/node1/config.h,
|
||||
mptests/mp09/node1/mp09_node1.adb, mptests/mp09/node2/config.h,
|
||||
mptests/mp09/node2/mp09_node2.adb, mptests/mp10/config_base.h,
|
||||
mptests/mp10/node1/config.h, mptests/mp10/node1/mp10_node1.adb,
|
||||
mptests/mp10/node2/config.h, mptests/mp10/node2/mp10_node2.adb,
|
||||
mptests/mp11/config_base.h, mptests/mp11/node1/config.h,
|
||||
mptests/mp11/node1/mp11_node1.adb, mptests/mp11/node2/config.h,
|
||||
mptests/mp11/node2/mp11_node2.adb, mptests/mp12/config_base.h,
|
||||
mptests/mp12/node1/config.h, mptests/mp12/node1/mp12_node1.adb,
|
||||
mptests/mp12/node2/config.h, mptests/mp12/node2/mp12_node2.adb,
|
||||
mptests/mp13/config_base.h, mptests/mp13/node1/config.h,
|
||||
mptests/mp13/node1/mp13_node1.adb, mptests/mp13/node2/config.h,
|
||||
mptests/mp13/node2/mp13_node2.adb, mptests/mp14/config_base.h,
|
||||
mptests/mp14/node1/config.h, mptests/mp14/node1/mp14_node1.adb,
|
||||
mptests/mp14/node2/config.h, mptests/mp14/node2/mp14_node2.adb:
|
||||
New files. GNATMAKE is easier to operate if the filename of the
|
||||
main package matches the executable name. In this case, we needed
|
||||
one for each node's executable.
|
||||
* mptests/mp01/config.h: Removed.
|
||||
|
||||
2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* mptests/mp01/mptest.adb, mptests/mp01/mptest.ads,
|
||||
mptests/mp01/node1/Makefile.am, mptests/mp02/mptest.adb,
|
||||
mptests/mp02/mptest.ads, mptests/mp03/mptest.adb,
|
||||
mptests/mp03/mptest.ads, mptests/mp04/mptest.adb,
|
||||
mptests/mp04/mptest.ads, mptests/mp05/mptest.adb,
|
||||
mptests/mp05/mptest.ads, mptests/mp06/mptest.adb,
|
||||
mptests/mp06/mptest.ads, mptests/mp07/mptest.adb,
|
||||
mptests/mp07/mptest.ads, mptests/mp08/mptest.adb,
|
||||
mptests/mp08/mptest.ads, mptests/mp09/mptest.adb,
|
||||
mptests/mp09/mptest.ads, mptests/mp10/mptest.adb,
|
||||
mptests/mp10/mptest.ads, mptests/mp11/mptest.adb,
|
||||
mptests/mp11/mptest.ads, mptests/mp12/mptest.adb,
|
||||
mptests/mp12/mptest.ads, mptests/mp13/mptest.adb,
|
||||
mptests/mp13/mptest.ads, mptests/mp14/mptest.adb,
|
||||
mptests/mp14/mptest.ads, support/init.c, support/test_support.adb,
|
||||
support/test_support.ads: Most of single processor Ada tests now
|
||||
build. Some run.
|
||||
|
||||
2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* support/init.c: Spacing cleanup.
|
||||
|
||||
2007-04-05 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* mptests/mp01/config.h, samples/base_sp/config.h,
|
||||
samples/hello/config.h, samples/ticker/config.h,
|
||||
sptests/sp01/config.h, sptests/sp02/config.h, sptests/sp03/config.h,
|
||||
sptests/sp04/config.h, sptests/sp05/config.h, sptests/sp06/config.h,
|
||||
sptests/sp07/config.h, sptests/sp08/config.h, sptests/sp09/config.h,
|
||||
sptests/sp11/config.h, sptests/sp12/config.h, sptests/sp13/config.h,
|
||||
sptests/sp14/config.h, sptests/sp15/config.h, sptests/sp16/config.h,
|
||||
sptests/sp17/config.h, sptests/sp19/config.h, sptests/sp20/config.h,
|
||||
sptests/sp21/config.h, sptests/sp22/config.h, sptests/sp23/config.h,
|
||||
sptests/sp24/config.h, sptests/sp25/config.h, tmtests/tm01/config.h,
|
||||
tmtests/tm02/config.h, tmtests/tm03/config.h, tmtests/tm04/config.h,
|
||||
tmtests/tm05/config.h, tmtests/tm06/config.h, tmtests/tm07/config.h,
|
||||
tmtests/tm08/config.h, tmtests/tm09/config.h, tmtests/tm10/config.h,
|
||||
tmtests/tm11/config.h, tmtests/tm12/config.h, tmtests/tm13/config.h,
|
||||
tmtests/tm14/config.h, tmtests/tm15/config.h, tmtests/tm16/config.h,
|
||||
tmtests/tm17/config.h, tmtests/tm18/config.h, tmtests/tm19/config.h,
|
||||
tmtests/tm20/config.h, tmtests/tm21/config.h, tmtests/tm22/config.h,
|
||||
tmtests/tm23/config.h, tmtests/tm24/config.h, tmtests/tm25/config.h,
|
||||
tmtests/tm28/config.h, tmtests/tm29/config.h, tmtests/tmck/config.h,
|
||||
tmtests/tmoverhd/config.h: Change all obsoleted
|
||||
CONFIGURE_TEST_NEEDS_XXX configuration constants to
|
||||
CONFIGURE_APPLICATION_NEEDS_XXX.
|
||||
|
||||
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: New BUG-REPORT address.
|
||||
|
||||
@@ -12,4 +12,4 @@ DIST_SUBDIRS = support samples sptests tmtests mptests
|
||||
EXTRA_DIST = ada.am
|
||||
|
||||
include $(top_srcdir)/../../../testsuites/automake/subdirs.am
|
||||
include $(top_srcdir)/../../../testsuites/automake/local.am
|
||||
include $(top_srcdir)/../../../testsuites//automake/local.am
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUFFIXES = .adb .ali .ads .adp
|
||||
|
||||
GNATMAKE = @GNATMAKE@
|
||||
GNATMAKE = @GNATMAKE@ -cargs $(GCCSPECS) -largs $(GCCSPECS)
|
||||
|
||||
AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \
|
||||
-I$(PROJECT_ROOT)/@RTEMS_BSP@/lib/include/adainclude \
|
||||
@@ -10,9 +10,7 @@ GNATCOMPILE = $(GNATMAKE) \
|
||||
-bargs -Mgnat_main \
|
||||
-margs $(AM_ADAFLAGS) $(ADAFLAGS) \
|
||||
-cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(GCCSPECS) \
|
||||
-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(GCCSPECS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) init.o
|
||||
|
||||
CLEANFILES = *.ali *.o b~*.adb b~*.ads
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
while read f
|
||||
do
|
||||
bname=`basename $f`
|
||||
# mv $f `dirname $f`/ada_`basename $f`
|
||||
cvs rm -f $f
|
||||
cvs add `dirname $f`/ada_`basename $f`
|
||||
done <<EOF
|
||||
./sptests/sp15/sp15.scn
|
||||
./sptests/sp24/sp24.scn
|
||||
./sptests/sp20/sp20.scn
|
||||
./sptests/sp17/sp17.scn
|
||||
./sptests/sp19/sp19.scn
|
||||
./sptests/sp09/sp09.scn
|
||||
./sptests/sp07/sp07.scn
|
||||
./sptests/sp12/sp12.scn
|
||||
./sptests/sp14/sp14.scn
|
||||
./sptests/sp03/sp03.scn
|
||||
./sptests/sp23/sp23.scn
|
||||
./sptests/sp16/sp16.scn
|
||||
./sptests/sp06/sp06.scn
|
||||
./sptests/sp04/sp04.scn
|
||||
./sptests/sp11/sp11.scn
|
||||
./sptests/sp01/sp01.scn
|
||||
./sptests/sp22/sp22.scn
|
||||
./sptests/sp05/sp05.scn
|
||||
./sptests/sp02/sp02.scn
|
||||
./sptests/sp08/sp08.scn
|
||||
./sptests/sp25/sp25.scn
|
||||
./sptests/sp13/sp13.scn
|
||||
./mptests/mp13/node2/mp13-node2.scn
|
||||
./mptests/mp13/node1/mp13-node1.scn
|
||||
./mptests/mp02/node2/mp02-node2.scn
|
||||
./mptests/mp02/node1/mp02-node1.scn
|
||||
./mptests/mp01/node2/mp01-node2.scn
|
||||
./mptests/mp01/node1/mp01-node1.scn
|
||||
./mptests/mp10/node2/mp10-node2.scn
|
||||
./mptests/mp10/node1/mp10-node1.scn
|
||||
./mptests/mp11/node2/mp11-node2.scn
|
||||
./mptests/mp11/node1/mp11-node1.scn
|
||||
./mptests/mp03/node2/mp03-node2.scn
|
||||
./mptests/mp03/node1/mp03-node1.scn
|
||||
./mptests/mp05/node2/mp05-node2.scn
|
||||
./mptests/mp05/node1/mp05-node1.scn
|
||||
./mptests/mp12/node2/mp12-node2.scn
|
||||
./mptests/mp12/node1/mp12-node1.scn
|
||||
./mptests/mp14/node2/mp14-node2.scn
|
||||
./mptests/mp14/node1/mp14-node1.scn
|
||||
./mptests/mp04/node2/mp04-node2.scn
|
||||
./mptests/mp04/node1/mp04-node1.scn
|
||||
./mptests/mp08/node2/mp08-node2.scn
|
||||
./mptests/mp08/node1/mp08-node1.scn
|
||||
./mptests/mp07/node2/mp07-node2.scn
|
||||
./mptests/mp07/node1/mp07-node1.scn
|
||||
./mptests/mp06/node2/mp06-node2.scn
|
||||
./mptests/mp06/node1/mp06-node1.scn
|
||||
./mptests/mp09/node2/mp09-node2.scn
|
||||
./mptests/mp09/node1/mp09-node1.scn
|
||||
./mvscn
|
||||
./samples/base_mp/node2/base_mp-node2.scn
|
||||
./samples/base_mp/node1/base_mp-node1.scn
|
||||
./samples/hello/hello.scn
|
||||
./samples/base_sp/base_sp.scn
|
||||
./samples/nsecs/nsecs.scn
|
||||
./samples/ticker/ticker.scn
|
||||
EOF
|
||||
@@ -1,18 +1,18 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ([2.68])
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
|
||||
AC_CONFIG_SRCDIR([support])
|
||||
RTEMS_TOP([../../..],[])
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.11.1])
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.9])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AC_CHECK_PROGS([M4],[gm4 m4])
|
||||
AC_CHECK_PROGS([M4],[gm4 m4])
|
||||
RTEMS_PROG_GNAT
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
@@ -48,7 +48,6 @@ samples/Makefile
|
||||
samples/base_sp/Makefile
|
||||
samples/hello/Makefile
|
||||
samples/ticker/Makefile
|
||||
samples/nsecs/Makefile
|
||||
samples/base_mp/Makefile
|
||||
samples/base_mp/node1/Makefile
|
||||
samples/base_mp/node2/Makefile
|
||||
@@ -74,11 +73,12 @@ sptests/sp16/Makefile
|
||||
sptests/sp17/Makefile
|
||||
sptests/sp19/Makefile
|
||||
sptests/sp20/Makefile
|
||||
sptests/sp21/Makefile
|
||||
sptests/sp22/Makefile
|
||||
sptests/sp23/Makefile
|
||||
sptests/sp24/Makefile
|
||||
sptests/sp25/Makefile
|
||||
sptests/spname01/Makefile
|
||||
sptests/spsize/Makefile
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
|
||||
2
c/src/ada-tests/mptests/.cvsignore
Normal file
2
c/src/ada-tests/mptests/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
2
c/src/ada-tests/mptests/mp01/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp01/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
32
c/src/ada-tests/mptests/mp01/config.h
Normal file
32
c/src/ada-tests/mptests/mp01/config.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/* config.h
|
||||
*
|
||||
* This include file defines the Configuration Table for this test.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1997.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_MPTEST
|
||||
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
|
||||
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,32 +0,0 @@
|
||||
/* config_base.h
|
||||
*
|
||||
* This include file defines all of the Configuration Table for this test
|
||||
* EXCEPT the NODE NUMBER.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
||||
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
|
||||
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
/* end of include file */
|
||||
@@ -28,6 +28,8 @@ with UNSIGNED32_IO;
|
||||
|
||||
package body MPTEST is
|
||||
|
||||
package body PER_NODE_CONFIGURATION is separate;
|
||||
|
||||
--PAGE
|
||||
--
|
||||
-- INIT
|
||||
@@ -36,7 +38,7 @@ package body MPTEST is
|
||||
procedure INIT (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
) is
|
||||
C : CHARACTER;
|
||||
C : RTEMS.CHARACTER;
|
||||
TIME : RTEMS.TIME_OF_DAY;
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
@@ -44,12 +46,12 @@ package body MPTEST is
|
||||
TEXT_IO.NEW_LINE( 2 );
|
||||
TEXT_IO.PUT( "*** TEST 1 -- NODE " );
|
||||
UNSIGNED32_IO.PUT(
|
||||
TEST_SUPPORT.NODE,
|
||||
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
|
||||
WIDTH => 1
|
||||
);
|
||||
TEXT_IO.PUT_LINE( " ***" );
|
||||
|
||||
if TEST_SUPPORT.NODE /= 1 then
|
||||
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE /= 1 then
|
||||
C := 'S';
|
||||
else
|
||||
C := 'M';
|
||||
|
||||
@@ -43,7 +43,6 @@ package MPTEST is
|
||||
procedure INIT (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
);
|
||||
pragma Convention (C, INIT);
|
||||
|
||||
--
|
||||
-- TEST_TASK
|
||||
@@ -56,6 +55,108 @@ package MPTEST is
|
||||
procedure TEST_TASK (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
);
|
||||
pragma Convention (C, TEST_TASK);
|
||||
|
||||
--
|
||||
-- This is the Driver Address Table for this test.
|
||||
--
|
||||
|
||||
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
|
||||
(1=>
|
||||
(
|
||||
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Open
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Close
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Read
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Write
|
||||
RTEMS.NO_DRIVER_ENTRY -- Control
|
||||
)
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Initialization Tasks Table for this test.
|
||||
--
|
||||
|
||||
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
|
||||
(1=>
|
||||
(
|
||||
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
|
||||
2048, -- stack size
|
||||
1, -- priority
|
||||
RTEMS.GLOBAL, -- attributes
|
||||
MPTEST.INIT'ACCESS, -- entry point
|
||||
RTEMS.NO_PREEMPT, -- initial mode
|
||||
0 -- argument list
|
||||
)
|
||||
);
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
-- BEGIN SUBPACKAGE --
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This package is the specification for the subpackage
|
||||
-- which will define the per node configuration parameters.
|
||||
--
|
||||
|
||||
package PER_NODE_CONFIGURATION is
|
||||
|
||||
--
|
||||
-- LOCAL_NODE_NUMBER
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This function returns the node number for this node.
|
||||
--
|
||||
|
||||
function LOCAL_NODE_NUMBER
|
||||
return RTEMS.UNSIGNED32;
|
||||
|
||||
pragma INLINE ( LOCAL_NODE_NUMBER );
|
||||
|
||||
end PER_NODE_CONFIGURATION;
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
-- END SUBPACKAGE --
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- This is the Multiprocessor Configuration Table for this test.
|
||||
--
|
||||
|
||||
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
|
||||
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
|
||||
2, -- maximum # nodes in system
|
||||
33, -- maximum # global objects
|
||||
33 -- maximum # proxies
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Configuration Table for this test.
|
||||
--
|
||||
|
||||
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
|
||||
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
|
||||
64 * 1024, -- executive RAM size
|
||||
10, -- maximum # tasks
|
||||
0, -- maximum # timers
|
||||
0, -- maximum # semaphores
|
||||
0, -- maximum # message queues
|
||||
0, -- maximum # messages
|
||||
0, -- maximum # partitions
|
||||
0, -- maximum # regions
|
||||
0, -- maximum # dp memory areas
|
||||
0, -- maximum # periods
|
||||
0, -- maximum # user extensions
|
||||
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
|
||||
50 -- # ticks in a timeslice
|
||||
);
|
||||
|
||||
end MPTEST;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp01/node1/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp01/node1/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -7,15 +7,16 @@ include $(top_srcdir)/ada.am
|
||||
|
||||
AM_ADAFLAGS += -I$(srcdir)/..
|
||||
|
||||
noinst_PROGRAMS = mp01_ada_mp01_node1
|
||||
mp01_ada_mp01_node1_SOURCES = mp01_node1.adb ../mptest.adb config.h
|
||||
mp01_ada_mp01_node1_SOURCES += ../mptest.ads
|
||||
mp01_ada_mp01_node1_SOURCES += ../../../support/init.c
|
||||
|
||||
mp01_ada_mp01_node1$(EXEEXT): mp01_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
node1$(EXEEXT): ../mptest.adb
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
if EXPADA
|
||||
noinst_PROGRAMS = node1
|
||||
endif
|
||||
|
||||
node1_SOURCES = mptest-per_node_configuration.adb
|
||||
|
||||
scndir = $(rtems_ada_testsdir)
|
||||
dist_scn_DATA = ada_mp01-node1.scn
|
||||
dist_scn_DATA = mp01-node1.scn
|
||||
|
||||
include $(top_srcdir)/../../../testsuites/automake/local.am
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/* config.h
|
||||
*
|
||||
* This include file defines the Configuration Table for this test.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_MP_APPLICATION
|
||||
#define CONFIGURE_MP_NODE_NUMBER 1
|
||||
|
||||
#include "../config_base.h"
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,57 +0,0 @@
|
||||
--
|
||||
-- MAIN / BODY
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This is the entry point for Test MP01_NODE1 of the Multiprocessor
|
||||
-- Test Suite.
|
||||
--
|
||||
-- DEPENDENCIES:
|
||||
--
|
||||
--
|
||||
--
|
||||
-- COPYRIGHT (c) 1989-2007.
|
||||
-- On-Line Applications Research Corporation (OAR).
|
||||
--
|
||||
-- The license and distribution terms for this file may in
|
||||
-- the file LICENSE in this distribution or at
|
||||
-- http://www.rtems.com/license/LICENSE.
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
|
||||
with RTEMS;
|
||||
with MPTEST;
|
||||
with TEST_SUPPORT;
|
||||
|
||||
procedure MP01_NODE1 is
|
||||
INIT_ID : RTEMS.ID;
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
|
||||
RTEMS.TASK_CREATE(
|
||||
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
|
||||
1,
|
||||
RTEMS.MINIMUM_STACK_SIZE,
|
||||
RTEMS.NO_PREEMPT,
|
||||
RTEMS.DEFAULT_ATTRIBUTES,
|
||||
INIT_ID,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
|
||||
|
||||
|
||||
RTEMS.TASK_START(
|
||||
INIT_ID,
|
||||
MPTEST.INIT'ACCESS,
|
||||
0,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
|
||||
|
||||
loop
|
||||
delay 120.0;
|
||||
end loop;
|
||||
|
||||
end MP01_NODE1;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp01/node2/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp01/node2/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -7,15 +7,16 @@ include $(top_srcdir)/ada.am
|
||||
|
||||
AM_ADAFLAGS += -I$(srcdir)/..
|
||||
|
||||
noinst_PROGRAMS = mp01_ada_mp01_node2
|
||||
mp01_ada_mp01_node2_SOURCES = mp01_node2.adb ../mptest.adb config.h
|
||||
mp01_ada_mp01_node2_SOURCES += ../mptest.ads
|
||||
mp01_ada_mp01_node2_SOURCES += ../../../support/init.c
|
||||
|
||||
mp01_ada_mp01_node2$(EXEEXT): mp01_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
node2$(EXEEXT): ../mptest.adb
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
if EXPADA
|
||||
noinst_PROGRAMS = node2
|
||||
endif
|
||||
|
||||
node2_SOURCES = mptest-per_node_configuration.adb
|
||||
|
||||
scndir = $(rtems_ada_testsdir)
|
||||
dist_scn_DATA = ada_mp01-node2.scn
|
||||
dist_scn_DATA = mp01-node2.scn
|
||||
|
||||
include $(top_srcdir)/../../../testsuites/automake/local.am
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/* config.h
|
||||
*
|
||||
* This include file defines the Configuration Table for this test.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_MP_APPLICATION
|
||||
#define CONFIGURE_MP_NODE_NUMBER 2
|
||||
|
||||
#include "../config_base.h"
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,57 +0,0 @@
|
||||
--
|
||||
-- MAIN / BODY
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This is the entry point for Test MP01_NODE2 of the Multiprocessor
|
||||
-- Test Suite.
|
||||
--
|
||||
-- DEPENDENCIES:
|
||||
--
|
||||
--
|
||||
--
|
||||
-- COPYRIGHT (c) 1989-2007.
|
||||
-- On-Line Applications Research Corporation (OAR).
|
||||
--
|
||||
-- The license and distribution terms for this file may in
|
||||
-- the file LICENSE in this distribution or at
|
||||
-- http://www.rtems.com/license/LICENSE.
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
|
||||
with RTEMS;
|
||||
with MPTEST;
|
||||
with TEST_SUPPORT;
|
||||
|
||||
procedure MP01_NODE2 is
|
||||
INIT_ID : RTEMS.ID;
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
|
||||
RTEMS.TASK_CREATE(
|
||||
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
|
||||
1,
|
||||
RTEMS.MINIMUM_STACK_SIZE,
|
||||
RTEMS.NO_PREEMPT,
|
||||
RTEMS.DEFAULT_ATTRIBUTES,
|
||||
INIT_ID,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
|
||||
|
||||
|
||||
RTEMS.TASK_START(
|
||||
INIT_ID,
|
||||
MPTEST.INIT'ACCESS,
|
||||
0,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
|
||||
|
||||
loop
|
||||
delay 120.0;
|
||||
end loop;
|
||||
|
||||
end MP01_NODE2;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp02/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp02/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -1,32 +0,0 @@
|
||||
/* config_base.h
|
||||
*
|
||||
* This include file defines all of the Configuration Table for this test
|
||||
* EXCEPT the NODE NUMBER.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
||||
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
|
||||
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
/* end of include file */
|
||||
@@ -28,6 +28,8 @@ with UNSIGNED32_IO;
|
||||
|
||||
package body MPTEST is
|
||||
|
||||
package body PER_NODE_CONFIGURATION is separate;
|
||||
|
||||
--PAGE
|
||||
--
|
||||
-- INIT
|
||||
@@ -42,7 +44,7 @@ package body MPTEST is
|
||||
TEXT_IO.NEW_LINE( 2 );
|
||||
TEXT_IO.PUT( "*** TEST 2 -- NODE " );
|
||||
UNSIGNED32_IO.PUT(
|
||||
TEST_SUPPORT.NODE,
|
||||
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
|
||||
WIDTH => 1
|
||||
);
|
||||
TEXT_IO.PUT_LINE( " ***" );
|
||||
@@ -53,7 +55,7 @@ package body MPTEST is
|
||||
TEXT_IO.PUT_LINE( "Creating test task (Global)" );
|
||||
|
||||
RTEMS.TASK_CREATE(
|
||||
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
|
||||
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
|
||||
1,
|
||||
2048,
|
||||
RTEMS.NO_PREEMPT,
|
||||
@@ -95,7 +97,7 @@ package body MPTEST is
|
||||
RTEMS.TASK_IDENT( RTEMS.SELF, RTEMS.SEARCH_ALL_NODES, TID, STATUS );
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_IDENT OF SELF" );
|
||||
|
||||
if TEST_SUPPORT.NODE = 1 then
|
||||
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
|
||||
REMOTE_NODE := 2;
|
||||
else
|
||||
REMOTE_NODE := 1;
|
||||
|
||||
@@ -43,7 +43,6 @@ package MPTEST is
|
||||
procedure INIT (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
);
|
||||
pragma Convention (C, INIT);
|
||||
|
||||
--
|
||||
-- TEST_TASK
|
||||
@@ -56,6 +55,108 @@ package MPTEST is
|
||||
procedure TEST_TASK (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
);
|
||||
pragma Convention (C, TEST_TASK);
|
||||
|
||||
--
|
||||
-- This is the Driver Address Table for this test.
|
||||
--
|
||||
|
||||
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
|
||||
(1=>
|
||||
(
|
||||
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Open
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Close
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Read
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Write
|
||||
RTEMS.NO_DRIVER_ENTRY -- Control
|
||||
)
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Initialization Tasks Table for this test.
|
||||
--
|
||||
|
||||
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
|
||||
(1=>
|
||||
(
|
||||
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
|
||||
2048, -- stack size
|
||||
1, -- priority
|
||||
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
|
||||
MPTEST.INIT'ACCESS, -- entry point
|
||||
RTEMS.NO_PREEMPT, -- initial mode
|
||||
0 -- argument list
|
||||
)
|
||||
);
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
-- BEGIN SUBPACKAGE --
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This package is the specification for the subpackage
|
||||
-- which will define the per node configuration parameters.
|
||||
--
|
||||
|
||||
package PER_NODE_CONFIGURATION is
|
||||
|
||||
--
|
||||
-- LOCAL_NODE_NUMBER
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This function returns the node number for this node.
|
||||
--
|
||||
|
||||
function LOCAL_NODE_NUMBER
|
||||
return RTEMS.UNSIGNED32;
|
||||
|
||||
pragma INLINE ( LOCAL_NODE_NUMBER );
|
||||
|
||||
end PER_NODE_CONFIGURATION;
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
-- END SUBPACKAGE --
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- This is the Multiprocessor Configuration Table for this test.
|
||||
--
|
||||
|
||||
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
|
||||
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
|
||||
2, -- maximum # nodes in system
|
||||
32, -- maximum # global objects
|
||||
32 -- maximum # proxies
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Configuration Table for this test.
|
||||
--
|
||||
|
||||
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
|
||||
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
|
||||
64 * 1024, -- executive RAM size
|
||||
10, -- maximum # tasks
|
||||
0, -- maximum # timers
|
||||
0, -- maximum # semaphores
|
||||
0, -- maximum # message queues
|
||||
0, -- maximum # messages
|
||||
0, -- maximum # partitions
|
||||
0, -- maximum # regions
|
||||
0, -- maximum # dp memory areas
|
||||
0, -- maximum # periods
|
||||
0, -- maximum # user extensions
|
||||
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
|
||||
50 -- # ticks in a timeslice
|
||||
);
|
||||
|
||||
end MPTEST;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp02/node1/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp02/node1/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -7,15 +7,16 @@ include $(top_srcdir)/ada.am
|
||||
|
||||
AM_ADAFLAGS += -I$(srcdir)/..
|
||||
|
||||
noinst_PROGRAMS = mp02_ada_mp02_node1
|
||||
mp02_ada_mp02_node1_SOURCES = mp02_node1.adb ../mptest.adb config.h
|
||||
mp02_ada_mp02_node1_SOURCES += ../mptest.ads
|
||||
mp02_ada_mp02_node1_SOURCES += ../../../support/init.c
|
||||
|
||||
mp02_ada_mp02_node1$(EXEEXT): mp02_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
node1$(EXEEXT): ../mptest.adb
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
if EXPADA
|
||||
noinst_PROGRAMS = node1
|
||||
endif
|
||||
|
||||
node1_SOURCES = mptest-per_node_configuration.adb
|
||||
|
||||
scndir = $(rtems_ada_testsdir)
|
||||
dist_scn_DATA = ada_mp02-node1.scn
|
||||
dist_scn_DATA = mp02-node1.scn
|
||||
|
||||
include $(top_srcdir)/../../../testsuites/automake/local.am
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/* config.h
|
||||
*
|
||||
* This include file defines the Configuration Table for this test.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_MP_APPLICATION
|
||||
#define CONFIGURE_MP_NODE_NUMBER 1
|
||||
|
||||
#include "../config_base.h"
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,57 +0,0 @@
|
||||
--
|
||||
-- MAIN / BODY
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This is the entry point for Test MP02_NODE1 of the Multiprocessor
|
||||
-- Test Suite.
|
||||
--
|
||||
-- DEPENDENCIES:
|
||||
--
|
||||
--
|
||||
--
|
||||
-- COPYRIGHT (c) 1989-2007.
|
||||
-- On-Line Applications Research Corporation (OAR).
|
||||
--
|
||||
-- The license and distribution terms for this file may in
|
||||
-- the file LICENSE in this distribution or at
|
||||
-- http://www.rtems.com/license/LICENSE.
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
|
||||
with RTEMS;
|
||||
with MPTEST;
|
||||
with TEST_SUPPORT;
|
||||
|
||||
procedure MP02_NODE1 is
|
||||
INIT_ID : RTEMS.ID;
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
|
||||
RTEMS.TASK_CREATE(
|
||||
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
|
||||
1,
|
||||
RTEMS.MINIMUM_STACK_SIZE,
|
||||
RTEMS.NO_PREEMPT,
|
||||
RTEMS.DEFAULT_ATTRIBUTES,
|
||||
INIT_ID,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
|
||||
|
||||
|
||||
RTEMS.TASK_START(
|
||||
INIT_ID,
|
||||
MPTEST.INIT'ACCESS,
|
||||
0,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
|
||||
|
||||
loop
|
||||
delay 120.0;
|
||||
end loop;
|
||||
|
||||
end MP02_NODE1;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp02/node2/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp02/node2/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -7,15 +7,16 @@ include $(top_srcdir)/ada.am
|
||||
|
||||
AM_ADAFLAGS += -I$(srcdir)/..
|
||||
|
||||
noinst_PROGRAMS = mp02_ada_mp02_node2
|
||||
mp02_ada_mp02_node2_SOURCES = mp02_node2.adb ../mptest.adb config.h
|
||||
mp02_ada_mp02_node2_SOURCES += ../mptest.ads
|
||||
mp02_ada_mp02_node2_SOURCES += ../../../support/init.c
|
||||
|
||||
mp02_ada_mp02_node2$(EXEEXT): mp02_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
node2$(EXEEXT): ../mptest.adb
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
if EXPADA
|
||||
noinst_PROGRAMS = node2
|
||||
endif
|
||||
|
||||
node2_SOURCES = mptest-per_node_configuration.adb
|
||||
|
||||
scndir = $(rtems_ada_testsdir)
|
||||
dist_scn_DATA = ada_mp02-node2.scn
|
||||
dist_scn_DATA = mp02-node2.scn
|
||||
|
||||
include $(top_srcdir)/../../../testsuites/automake/local.am
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/* config.h
|
||||
*
|
||||
* This include file defines the Configuration Table for this test.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_MP_APPLICATION
|
||||
#define CONFIGURE_MP_NODE_NUMBER 2
|
||||
|
||||
#include "../config_base.h"
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,57 +0,0 @@
|
||||
--
|
||||
-- MAIN / BODY
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This is the entry point for Test MP02_NODE2 of the Multiprocessor
|
||||
-- Test Suite.
|
||||
--
|
||||
-- DEPENDENCIES:
|
||||
--
|
||||
--
|
||||
--
|
||||
-- COPYRIGHT (c) 1989-2007.
|
||||
-- On-Line Applications Research Corporation (OAR).
|
||||
--
|
||||
-- The license and distribution terms for this file may in
|
||||
-- the file LICENSE in this distribution or at
|
||||
-- http://www.rtems.com/license/LICENSE.
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
|
||||
with RTEMS;
|
||||
with MPTEST;
|
||||
with TEST_SUPPORT;
|
||||
|
||||
procedure MP02_NODE2 is
|
||||
INIT_ID : RTEMS.ID;
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
|
||||
RTEMS.TASK_CREATE(
|
||||
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
|
||||
1,
|
||||
RTEMS.MINIMUM_STACK_SIZE,
|
||||
RTEMS.NO_PREEMPT,
|
||||
RTEMS.DEFAULT_ATTRIBUTES,
|
||||
INIT_ID,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
|
||||
|
||||
|
||||
RTEMS.TASK_START(
|
||||
INIT_ID,
|
||||
MPTEST.INIT'ACCESS,
|
||||
0,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
|
||||
|
||||
loop
|
||||
delay 120.0;
|
||||
end loop;
|
||||
|
||||
end MP02_NODE2;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp03/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp03/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -1,32 +0,0 @@
|
||||
/* config_base.h
|
||||
*
|
||||
* This include file defines all of the Configuration Table for this test
|
||||
* EXCEPT the NODE NUMBER.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
||||
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
|
||||
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,4 +1,8 @@
|
||||
--
|
||||
-- MPTEST / BODY
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This package is the implementation for Test 3 of the RTEMS
|
||||
-- Multiprocessor Test Suite.
|
||||
--
|
||||
@@ -24,6 +28,8 @@ with UNSIGNED32_IO;
|
||||
|
||||
package body MPTEST is
|
||||
|
||||
package body PER_NODE_CONFIGURATION is separate;
|
||||
|
||||
--PAGE
|
||||
--
|
||||
-- INIT
|
||||
@@ -38,7 +44,7 @@ package body MPTEST is
|
||||
TEXT_IO.NEW_LINE( 2 );
|
||||
TEXT_IO.PUT( "*** TEST 3 -- NODE " );
|
||||
UNSIGNED32_IO.PUT(
|
||||
TEST_SUPPORT.NODE,
|
||||
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
|
||||
WIDTH => 1
|
||||
);
|
||||
TEXT_IO.PUT_LINE( " ***" );
|
||||
@@ -48,7 +54,7 @@ package body MPTEST is
|
||||
|
||||
TEXT_IO.PUT_LINE( "Creating Test_task (Global)" );
|
||||
RTEMS.TASK_CREATE(
|
||||
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
|
||||
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
|
||||
1,
|
||||
2048,
|
||||
RTEMS.NO_PREEMPT,
|
||||
@@ -115,7 +121,7 @@ package body MPTEST is
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_IDENT OF SELF" );
|
||||
|
||||
TEXT_IO.PUT_LINE( "Getting TID of remote task" );
|
||||
if TEST_SUPPORT.NODE = 1 then
|
||||
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
|
||||
MPTEST.REMOTE_NODE := 2;
|
||||
else
|
||||
MPTEST.REMOTE_NODE := 1;
|
||||
@@ -157,7 +163,7 @@ package body MPTEST is
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TIMER_FIRE_AFTER" );
|
||||
|
||||
if TEST_SUPPORT.NODE = 2 then
|
||||
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 2 then
|
||||
|
||||
RTEMS.TASK_WAKE_AFTER(
|
||||
2 * TEST_SUPPORT.TICKS_PER_SECOND,
|
||||
@@ -188,7 +194,7 @@ package body MPTEST is
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
|
||||
if TEST_SUPPORT.NODE = NODE then
|
||||
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = NODE then
|
||||
|
||||
loop
|
||||
|
||||
|
||||
@@ -65,7 +65,6 @@ package MPTEST is
|
||||
procedure INIT (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
);
|
||||
pragma Convention (C, INIT);
|
||||
|
||||
--
|
||||
-- DELAYED_SEND_EVENT
|
||||
@@ -80,7 +79,6 @@ package MPTEST is
|
||||
IGNORED_ID : in RTEMS.ID;
|
||||
IGNORED_ADDRESS : in RTEMS.ADDRESS
|
||||
);
|
||||
pragma Convention (C, DELAYED_SEND_EVENT);
|
||||
|
||||
--
|
||||
-- TEST_TASK
|
||||
@@ -93,7 +91,6 @@ package MPTEST is
|
||||
procedure TEST_TASK (
|
||||
ARGUMENT : in RTEMS.TASK_ARGUMENT
|
||||
);
|
||||
pragma Convention (C, TEST_TASK);
|
||||
|
||||
--
|
||||
-- TEST_TASK_SUPPORT
|
||||
@@ -109,4 +106,107 @@ package MPTEST is
|
||||
NODE : in RTEMS.UNSIGNED32
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Driver Address Table for this test.
|
||||
--
|
||||
|
||||
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
|
||||
(1=>
|
||||
(
|
||||
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Open
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Close
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Read
|
||||
RTEMS.NO_DRIVER_ENTRY, -- Write
|
||||
RTEMS.NO_DRIVER_ENTRY -- Control
|
||||
)
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Initialization Tasks Table for this test.
|
||||
--
|
||||
|
||||
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
|
||||
(1=>
|
||||
(
|
||||
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
|
||||
2048, -- stack size
|
||||
1, -- priority
|
||||
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
|
||||
MPTEST.INIT'ACCESS, -- entry point
|
||||
RTEMS.NO_PREEMPT, -- initial mode
|
||||
0 -- argument list
|
||||
)
|
||||
);
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
-- BEGIN SUBPACKAGE --
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This package is the specification for the subpackage
|
||||
-- which will define the per node configuration parameters.
|
||||
--
|
||||
|
||||
package PER_NODE_CONFIGURATION is
|
||||
|
||||
--
|
||||
-- LOCAL_NODE_NUMBER
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This function returns the node number for this node.
|
||||
--
|
||||
|
||||
function LOCAL_NODE_NUMBER
|
||||
return RTEMS.UNSIGNED32;
|
||||
|
||||
pragma INLINE ( LOCAL_NODE_NUMBER );
|
||||
|
||||
end PER_NODE_CONFIGURATION;
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
-- END SUBPACKAGE --
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- This is the Multiprocessor Configuration Table for this test.
|
||||
--
|
||||
|
||||
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
|
||||
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
|
||||
2, -- maximum # nodes in system
|
||||
32, -- maximum # global objects
|
||||
32 -- maximum # proxies
|
||||
);
|
||||
|
||||
--
|
||||
-- This is the Configuration Table for this test.
|
||||
--
|
||||
|
||||
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
|
||||
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
|
||||
64 * 1024, -- executive RAM size
|
||||
10, -- maximum # tasks
|
||||
1, -- maximum # timers
|
||||
0, -- maximum # semaphores
|
||||
0, -- maximum # message queues
|
||||
0, -- maximum # messages
|
||||
0, -- maximum # partitions
|
||||
0, -- maximum # regions
|
||||
0, -- maximum # dp memory areas
|
||||
0, -- maximum # periods
|
||||
0, -- maximum # user extensions
|
||||
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
|
||||
50 -- # ticks in a timeslice
|
||||
);
|
||||
|
||||
end MPTEST;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp03/node1/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp03/node1/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -7,15 +7,16 @@ include $(top_srcdir)/ada.am
|
||||
|
||||
AM_ADAFLAGS += -I$(srcdir)/..
|
||||
|
||||
noinst_PROGRAMS = mp03_ada_mp03_node1
|
||||
mp03_ada_mp03_node1_SOURCES = mp03_node1.adb ../mptest.adb config.h
|
||||
mp03_ada_mp03_node1_SOURCES += ../mptest.ads
|
||||
mp03_ada_mp03_node1_SOURCES += ../../../support/init.c
|
||||
|
||||
mp03_ada_mp03_node1$(EXEEXT): mp03_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
node1$(EXEEXT): ../mptest.adb
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
if EXPADA
|
||||
noinst_PROGRAMS = node1
|
||||
endif
|
||||
|
||||
node1_SOURCES = mptest-per_node_configuration.adb
|
||||
|
||||
scndir = $(rtems_ada_testsdir)
|
||||
dist_scn_DATA = ada_mp03-node1.scn
|
||||
dist_scn_DATA = mp03-node1.scn
|
||||
|
||||
include $(top_srcdir)/../../../testsuites/automake/local.am
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/* config.h
|
||||
*
|
||||
* This include file defines the Configuration Table for this test.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_MP_APPLICATION
|
||||
#define CONFIGURE_MP_NODE_NUMBER 1
|
||||
|
||||
#include "../config_base.h"
|
||||
|
||||
/* end of include file */
|
||||
@@ -1,57 +0,0 @@
|
||||
--
|
||||
-- MAIN / BODY
|
||||
--
|
||||
-- DESCRIPTION:
|
||||
--
|
||||
-- This is the entry point for Test MP03_NODE1 of the Multiprocessor
|
||||
-- Test Suite.
|
||||
--
|
||||
-- DEPENDENCIES:
|
||||
--
|
||||
--
|
||||
--
|
||||
-- COPYRIGHT (c) 1989-2007.
|
||||
-- On-Line Applications Research Corporation (OAR).
|
||||
--
|
||||
-- The license and distribution terms for this file may in
|
||||
-- the file LICENSE in this distribution or at
|
||||
-- http://www.rtems.com/license/LICENSE.
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
|
||||
with RTEMS;
|
||||
with MPTEST;
|
||||
with TEST_SUPPORT;
|
||||
|
||||
procedure MP03_NODE1 is
|
||||
INIT_ID : RTEMS.ID;
|
||||
STATUS : RTEMS.STATUS_CODES;
|
||||
begin
|
||||
|
||||
RTEMS.TASK_CREATE(
|
||||
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
|
||||
1,
|
||||
RTEMS.MINIMUM_STACK_SIZE,
|
||||
RTEMS.NO_PREEMPT,
|
||||
RTEMS.DEFAULT_ATTRIBUTES,
|
||||
INIT_ID,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
|
||||
|
||||
|
||||
RTEMS.TASK_START(
|
||||
INIT_ID,
|
||||
MPTEST.INIT'ACCESS,
|
||||
0,
|
||||
STATUS
|
||||
);
|
||||
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
|
||||
|
||||
loop
|
||||
delay 120.0;
|
||||
end loop;
|
||||
|
||||
end MP03_NODE1;
|
||||
|
||||
2
c/src/ada-tests/mptests/mp03/node2/.cvsignore
Normal file
2
c/src/ada-tests/mptests/mp03/node2/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user