forked from Imagelibrary/rtems
Compare commits
227 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0436cfb8c7 | ||
|
|
262ce0812c | ||
|
|
c51fd29987 | ||
|
|
ec25c62143 | ||
|
|
d4311908c8 | ||
|
|
ed7383d2c7 | ||
|
|
b38d27a939 | ||
|
|
0ef82c8cfe | ||
|
|
92ce6ac76d | ||
|
|
952d8f718a | ||
|
|
1a813d50f5 | ||
|
|
0d00cd53e1 | ||
|
|
46b86ddd5e | ||
|
|
30a4480fa5 | ||
|
|
f6a237b1ec | ||
|
|
9cb3851b7d | ||
|
|
199db78eed | ||
|
|
a816fcf174 | ||
|
|
64504e971d | ||
|
|
c933a3d6b9 | ||
|
|
8cb4b08aea | ||
|
|
dec6367305 | ||
|
|
f1f7563ae8 | ||
|
|
cb54e10686 | ||
|
|
73d1f0799f | ||
|
|
beda88f83c | ||
|
|
66c25d4e07 | ||
|
|
15fa865c29 | ||
|
|
fe91be3678 | ||
|
|
dc5da2289c | ||
|
|
108a2e7421 | ||
|
|
432ddefbcd | ||
|
|
06ff7d223c | ||
|
|
3017689211 | ||
|
|
c8dcab1e75 | ||
|
|
35c7648e9d | ||
|
|
5e1fd51c99 | ||
|
|
89e2082c24 | ||
|
|
07d8cc542f | ||
|
|
9c266d2d82 | ||
|
|
00ac31c43c | ||
|
|
6cd53b29ea | ||
|
|
bdf53bd4c8 | ||
|
|
c8d8a706dd | ||
|
|
8ec3c96cf9 | ||
|
|
58a6716bd4 | ||
|
|
deb0a5a365 | ||
|
|
5e7c1849be | ||
|
|
8ffe14563e | ||
|
|
a039f846db | ||
|
|
3ee0c3646b | ||
|
|
7d365f6f5c | ||
|
|
9ae7cd5237 | ||
|
|
16bb8afbb1 | ||
|
|
1813d94c7a | ||
|
|
897a86c454 | ||
|
|
0e2f369c0e | ||
|
|
10fca441e0 | ||
|
|
3a7df182ef | ||
|
|
06c12dd640 | ||
|
|
8594dc78d4 | ||
|
|
a7a8491dc0 | ||
|
|
91a3c19bae | ||
|
|
7ad3289ab9 | ||
|
|
4196eb67d8 | ||
|
|
de0575287e | ||
|
|
b7a265496f | ||
|
|
8b6a056056 | ||
|
|
eb63fa523d | ||
|
|
08fb27cc41 | ||
|
|
44cec3c504 | ||
|
|
d65c2b19ec | ||
|
|
757e3465a2 | ||
|
|
26dd59099b | ||
|
|
09a43cb2ea | ||
|
|
7f93a2a271 | ||
|
|
5068408333 | ||
|
|
40e91555b4 | ||
|
|
112b0108c9 | ||
|
|
25f00a9a1f | ||
|
|
b86eb32e1a | ||
|
|
f4b6dc0373 | ||
|
|
47eab0ac22 | ||
|
|
24df6ddfb4 | ||
|
|
71ae507b76 | ||
|
|
3f6ffa3788 | ||
|
|
2212e3f145 | ||
|
|
c608efb2dc | ||
|
|
4f511b8c4d | ||
|
|
aaf9273810 | ||
|
|
a1abe18a5a | ||
|
|
538c88e5be | ||
|
|
c27b30db86 | ||
|
|
9d146ecc36 | ||
|
|
b72be3b16f | ||
|
|
deed2a08f6 | ||
|
|
b6e3a7e26d | ||
|
|
b48cfa94ae | ||
|
|
912488de67 | ||
|
|
d377e68648 | ||
|
|
7dbdb91172 | ||
|
|
37ac61f03a | ||
|
|
58b727f6b0 | ||
|
|
22629eeaa6 | ||
|
|
c6016f15d6 | ||
|
|
dcbc0a89c2 | ||
|
|
5fe1335662 | ||
|
|
15d26f98e6 | ||
|
|
dedb922940 | ||
|
|
02ac910cfc | ||
|
|
cb6c660501 | ||
|
|
f82452b0ee | ||
|
|
cc107c9cb2 | ||
|
|
74e8ad7cb5 | ||
|
|
0061512710 | ||
|
|
21b1d51d58 | ||
|
|
f040148763 | ||
|
|
73b019a066 | ||
|
|
eb32e3a386 | ||
|
|
d65b2da6cf | ||
|
|
2fafea29f9 | ||
|
|
906dd572fb | ||
|
|
b8b0920874 | ||
|
|
ea4cf27769 | ||
|
|
d414399d87 | ||
|
|
430c0f6d9b | ||
|
|
55666f5458 | ||
|
|
11c9109d80 | ||
|
|
e5c9d674d0 | ||
|
|
a76b99ebb0 | ||
|
|
7f843f201a | ||
|
|
eaa5811507 | ||
|
|
d3ae4470ac | ||
|
|
6fd1e6920a | ||
|
|
7d3548a154 | ||
|
|
e4bfb0b8e8 | ||
|
|
353014adff | ||
|
|
fadb4a76b9 | ||
|
|
160e8fb59a | ||
|
|
8667514854 | ||
|
|
3d15f1b209 | ||
|
|
d12091dc9d | ||
|
|
421d76d763 | ||
|
|
2733f94506 | ||
|
|
349ca0c56f | ||
|
|
83e392b463 | ||
|
|
daad59a453 | ||
|
|
1424cc452d | ||
|
|
404e331f96 | ||
|
|
283a60d0e9 | ||
|
|
9811aabe56 | ||
|
|
c08349a85a | ||
|
|
127d0a448f | ||
|
|
91a1e2ee83 | ||
|
|
53fec8538d | ||
|
|
9b643f71cb | ||
|
|
b9ae23a01f | ||
|
|
4d6ad9e2ad | ||
|
|
224a429bcb | ||
|
|
e1efd54506 | ||
|
|
4566e9c1e6 | ||
|
|
978eba36bf | ||
|
|
db6e1f55b0 | ||
|
|
67c191b268 | ||
|
|
fcb90b6381 | ||
|
|
46d17c9114 | ||
|
|
5526734916 | ||
|
|
04b38ae038 | ||
|
|
3b1a322ee1 | ||
|
|
e606ce0d44 | ||
|
|
366c2b650f | ||
|
|
8d9c428ce1 | ||
|
|
25c0236eb5 | ||
|
|
7be8d6b95c | ||
|
|
53fe0ffe4b | ||
|
|
87b88cefa2 | ||
|
|
879e252a07 | ||
|
|
e011297968 | ||
|
|
7cb4ce5e53 | ||
|
|
564dfa32bd | ||
|
|
8c8146e3a3 | ||
|
|
a9546aaf52 | ||
|
|
8f60862612 | ||
|
|
734e6f6fb3 | ||
|
|
bfcefdd435 | ||
|
|
27af75498f | ||
|
|
35b692611f | ||
|
|
00f0563ea0 | ||
|
|
13c4012f4d | ||
|
|
27ccae87c2 | ||
|
|
5edccc1bcf | ||
|
|
6067359a14 | ||
|
|
93f8efa7c6 | ||
|
|
112490e44e | ||
|
|
1e3c7f856c | ||
|
|
bd331c83c6 | ||
|
|
c07a9c00c5 | ||
|
|
977b1736a6 | ||
|
|
e91c4bc8e9 | ||
|
|
be8f45b014 | ||
|
|
0a37142076 | ||
|
|
d0279f6e3a | ||
|
|
100198929c | ||
|
|
a36866199e | ||
|
|
d3320bb7cf | ||
|
|
5782420994 | ||
|
|
ee70857610 | ||
|
|
913ece4074 | ||
|
|
4e3037b258 | ||
|
|
e00572f616 | ||
|
|
b4ff9f0b67 | ||
|
|
98520091ea | ||
|
|
bc26929055 | ||
|
|
2344aa7405 | ||
|
|
9652395558 | ||
|
|
8b66beb2e5 | ||
|
|
92f3264acf | ||
|
|
c7df255f99 | ||
|
|
74c15b62ea | ||
|
|
abe94a6a83 | ||
|
|
a5e7b3ca94 | ||
|
|
3757d4e1a0 | ||
|
|
5463b374ac | ||
|
|
f1990656e8 | ||
|
|
4f20b858ea | ||
|
|
26c4cb4811 | ||
|
|
59ccbe2f34 |
20
ChangeLog
20
ChangeLog
@@ -1,3 +1,23 @@
|
||||
2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1324/bsps
|
||||
* aclocal/check-bsps.m4: Adopt icecube changes from CVS-HEAD.
|
||||
|
||||
2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.maint: Bump rtems_api to 4.9.
|
||||
|
||||
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1324/bsps
|
||||
* aclocal/check-bsps.m4: Add missing icecube.
|
||||
|
||||
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* MAINTAINERS, README.configure, aclocal/bsp-alias.m4,
|
||||
aclocal/canonical-target-name.m4, aclocal/check-bsps.m4: Remove TI
|
||||
C4x and NIOS2 ports from 4.9 branch.
|
||||
|
||||
2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* README.configure: Updated list of BSPs.
|
||||
|
||||
@@ -35,7 +35,6 @@ Networking NAME-TBD EMAIL-TBD
|
||||
|
||||
arm Jay Monkman jtm@lopingdog.com
|
||||
avr Ralf Corsepius ralf.corsepius@rtems.org
|
||||
c4x Joel Sherrill joel.sherrill@OARcorp.com
|
||||
h8300 NAME-TBD EMAIL-TBD
|
||||
i386 NAME-TBD EMAIL-TBD
|
||||
m68k NAME-TBD EMAIL-TBD
|
||||
|
||||
@@ -31,7 +31,7 @@ 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.8
|
||||
rtems_api := 4.9
|
||||
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
|
||||
|
||||
# -----------------
|
||||
|
||||
@@ -91,7 +91,6 @@ The following targets are supported:
|
||||
(none) will build the host-based version on Linux, Solaris and HPUX.
|
||||
|
||||
arm-rtems4.9
|
||||
tic4x-rtems4.9
|
||||
h8300-rtems4.9
|
||||
i386-rtems4.9
|
||||
m68k-rtems4.9
|
||||
@@ -173,8 +172,6 @@ avr: : none
|
||||
|
||||
bfin : eZKit533 bf537Stamp
|
||||
|
||||
c4x : c3xsim c4xsim
|
||||
|
||||
h8300 : h8sim
|
||||
|
||||
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
|
||||
@@ -242,22 +239,12 @@ Please refer to the BSP and Device Driver Guide.
|
||||
7. Tested configurations
|
||||
========================
|
||||
|
||||
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)
|
||||
All BSPs have been built on GNU/Linux if the target architecture
|
||||
is supported in the FSF tools distribution.
|
||||
|
||||
8. Prerequisites
|
||||
================
|
||||
|
||||
Gawk version 2 or higher.
|
||||
GNU make version 3.72 or higher.
|
||||
GNU make
|
||||
Bash.
|
||||
gcc version > 2.8
|
||||
|
||||
NOTE: These prerequisites are probably out of date but autoconf should detect
|
||||
any problems.
|
||||
binutils, gcc, newlib and gdb versions matching those in the RPMs.
|
||||
|
||||
@@ -9,7 +9,6 @@ AC_DEFUN([_RTEMS_BSP_ALIAS],
|
||||
case $1 in
|
||||
bare*) $2=bare ;; # EXP: bare-aliases
|
||||
|
||||
c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
|
||||
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
|
||||
pghplus) $2=tqm8xx ;; # powerpc - mpc8xx custom board
|
||||
tqm8xx_stk8xx) $2=tqm8xx ;; # powerpc - tqm8xx on starter kit
|
||||
|
||||
@@ -29,9 +29,6 @@ case "${target}" in
|
||||
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%'`
|
||||
;;
|
||||
|
||||
@@ -16,7 +16,6 @@ AC_MSG_CHECKING([for available BSPs])
|
||||
-e "s,/bsp_specs$,,"`
|
||||
case $bsp_family in
|
||||
# Now account for BSPs with build variants
|
||||
c4xsim) bsps="c4xsim c3xsim";;
|
||||
gen68360) bsps="gen68360 gen68360_040 pgh360";;
|
||||
tqm8xx) bsps="pghplus tqm8xx_stk8xx";;
|
||||
genmcf548x) bsps="m5484FireEngine";;
|
||||
@@ -27,7 +26,7 @@ AC_MSG_CHECKING([for available BSPs])
|
||||
bsps="$bsps mbx860_002"
|
||||
bsps="$bsps mbx860_005b"
|
||||
;;
|
||||
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";;
|
||||
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l icecube";;
|
||||
mpc55xxevb) bsps="mpc5566evb";;
|
||||
gen83xx) bsps="mpc8349eamds hsc_cm01 mpc8313erdb";;
|
||||
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AC_DEFUN([RTEMS_VERSIONING],
|
||||
m4_define([_RTEMS_VERSION],[4.8.99.0]))
|
||||
m4_define([_RTEMS_VERSION],[4.9.2]))
|
||||
|
||||
m4_define([RTEMS_API],[4.9])
|
||||
|
||||
@@ -153,7 +153,7 @@ The following persons/organizations have made contributions:
|
||||
interrupt management API that reduces interrupt latency while making
|
||||
it easier to support external interrupt controllers.
|
||||
|
||||
+ Joel Sherrill <joel@OARcorp.com> for the BSPs that work with
|
||||
+ Joel Sherrill <joel.sherrill@OARcorp.com> for the BSPs that work with
|
||||
numerous simulators including psim, c4xsim, h8sim, armulator,
|
||||
sim68000, and simcpu32. Most of these BSPs work with instruction
|
||||
set simulators in gdb.
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* ACKNOWLEDGEMENTS, TOOL_TARGETS: Remove TI C4x and NIOS2 ports from
|
||||
4.9 branch.
|
||||
|
||||
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Use MKDIR_P instead of mkdir_p.
|
||||
|
||||
@@ -5,48 +5,32 @@
|
||||
The following are targets for the GNU tools (gcc, binutils, newlib, and gdb)
|
||||
that are for RTEMS, their object format, and status notes
|
||||
|
||||
arm:
|
||||
arm-rtems ELF
|
||||
arm: arm-rtems ELF
|
||||
|
||||
c4x:
|
||||
c4x-rtems COFF Requires patches
|
||||
h8300: h8300-rtems COFF
|
||||
|
||||
h8300:
|
||||
h8300-rtems COFF
|
||||
i386: i386-rtems ELF
|
||||
|
||||
i386:
|
||||
i386-rtems ELF
|
||||
m68k: m68k-rtems ELF
|
||||
|
||||
m68k:
|
||||
m68k-rtems ELF
|
||||
|
||||
|
||||
mips:
|
||||
mips*-rtems ELF Big endian
|
||||
mips*el-rtems ELF Little endian
|
||||
mips: mips*-rtems ELF Big endian
|
||||
mips*el-rtems ELF Little endian
|
||||
|
||||
NOTE: Little endian configuration is not in all tools and
|
||||
is untested for RTEMS itself.
|
||||
|
||||
nios2:
|
||||
nios2-elf ELF Little endian
|
||||
nios2: nios2-elf ELF Little endian
|
||||
|
||||
NOTE: Currently there is no native nios2-rtems toolchain;
|
||||
Altera's nios2-elf-tools can be used with wrapper scripts.
|
||||
|
||||
powerpc:
|
||||
powerpc-rtems ELF
|
||||
powerpcle-rtems ELF Little endian
|
||||
powerpc: powerpc-rtems ELF
|
||||
powerpcle-rtems ELF Little endian
|
||||
|
||||
NOTE: Little endian configuration is not in all tools and
|
||||
is untested for RTEMS itself.
|
||||
|
||||
sh:
|
||||
sh-rtems COFF
|
||||
sh-rtemscoff COFF
|
||||
sh-rtemself ELF
|
||||
|
||||
NOTE: ELF is not completely stable for SH yet.
|
||||
sh: sh-rtems ELF
|
||||
|
||||
sparc:
|
||||
sparc-rtems ELF
|
||||
|
||||
@@ -1,3 +1,28 @@
|
||||
2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
|
||||
|
||||
PR 1392/bsps
|
||||
* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
|
||||
over multiple pages results in extra data being written.
|
||||
|
||||
2009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libchip/i2c/spi-sd-card.c: Fixed RTEMS_BLKDEV_CAPABILITIES ioctl
|
||||
which caused invalid multiple block writes.
|
||||
|
||||
2008-11-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libchip/serial/ns16550.c: Transmit the character in the polled write
|
||||
function within a critical section for printk() compatibility.
|
||||
|
||||
2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/prog-cc.m4: Remove pre-production testing CFLAGS.
|
||||
|
||||
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* aclocal/canonical-target-name.m4, aclocal/rtems-cpu-subdirs.m4:
|
||||
Remove TI C4x and NIOS2 ports from 4.9 branch.
|
||||
|
||||
2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libchip/ide/ata.h: Convert to Unix file format.
|
||||
|
||||
@@ -34,10 +34,6 @@ case "${host}" in
|
||||
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
|
||||
|
||||
@@ -37,8 +37,6 @@ AC_SUBST(GCCSPECS)
|
||||
|
||||
AS_IF([test "$GCC" = yes],[
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
|
||||
# FIXME: This should be removed in production releases
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"
|
||||
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
|
||||
])
|
||||
AC_SUBST(RTEMS_CFLAGS)
|
||||
|
||||
@@ -13,13 +13,11 @@ 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([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]);;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AC_DEFUN([RTEMS_VERSIONING],
|
||||
m4_define([_RTEMS_VERSION],[4.8.99.0]))
|
||||
m4_define([_RTEMS_VERSION],[4.9.2]))
|
||||
|
||||
m4_define([RTEMS_API],[4.9])
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
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-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* samples/hello/config.h, sptests/spname01/config.h: These needed
|
||||
|
||||
@@ -20,9 +20,21 @@
|
||||
--
|
||||
|
||||
with RTEMS;
|
||||
with Interfaces.C;
|
||||
|
||||
package body Timer_Driver is
|
||||
|
||||
--PAGE
|
||||
--
|
||||
-- Empty_function
|
||||
--
|
||||
--
|
||||
procedure Empty_Function
|
||||
is
|
||||
begin
|
||||
Null;
|
||||
end Empty_Function;
|
||||
|
||||
--PAGE
|
||||
--
|
||||
-- Set_Find_Average_Overhead
|
||||
@@ -33,12 +45,18 @@ package body Timer_Driver is
|
||||
Find_Flag : in Standard.Boolean
|
||||
) is
|
||||
procedure Set_Find_Average_Overhead_base (
|
||||
Find_Flag : in RTEMS.Boolean
|
||||
Find_Flag : in Interfaces.Unsigned_8
|
||||
);
|
||||
pragma Import (C, Set_Find_Average_Overhead_base,
|
||||
"Set_find_average_overhead");
|
||||
"benchmark_timer_disable_subtracting_average_overhead");
|
||||
c: Interfaces.Unsigned_8;
|
||||
begin
|
||||
Set_Find_Average_Overhead_base (RTEMS.From_Ada_Boolean (Find_Flag));
|
||||
if Find_Flag then
|
||||
c := 1;
|
||||
else
|
||||
c := 0;
|
||||
end if;
|
||||
Set_Find_Average_Overhead_base (c);
|
||||
end Set_Find_Average_Overhead;
|
||||
|
||||
end Timer_Driver;
|
||||
|
||||
@@ -32,7 +32,7 @@ package Timer_Driver is
|
||||
--
|
||||
|
||||
procedure Initialize;
|
||||
pragma Import (C, Initialize, "Timer_initialize");
|
||||
pragma Import (C, Initialize, "benchmark_timer_initialize");
|
||||
|
||||
--
|
||||
-- Read_Timer
|
||||
@@ -46,7 +46,7 @@ package Timer_Driver is
|
||||
|
||||
function Read_Timer
|
||||
return RTEMS.Unsigned32;
|
||||
pragma Import (C, Read_Timer, "Read_timer");
|
||||
pragma Import (C, Read_Timer, "benchmark_timer_read");
|
||||
|
||||
--
|
||||
-- Empty_Function
|
||||
@@ -60,7 +60,6 @@ package Timer_Driver is
|
||||
--
|
||||
|
||||
procedure Empty_Function;
|
||||
pragma Import (C, Empty_Function, "Empty_function");
|
||||
|
||||
--
|
||||
-- Set_Find_Average_Overhead
|
||||
|
||||
@@ -266,6 +266,8 @@ package body TMTEST is
|
||||
SEMAPHORE_RELEASE_LOOP_TIME * 2,
|
||||
RTEMS_CALLING_OVERHEAD.SEMAPHORE_RELEASE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 1 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_1;
|
||||
|
||||
@@ -199,6 +199,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.SEMAPHORE_OBTAIN
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 2 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -179,6 +179,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.SEMAPHORE_RELEASE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 3 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -399,6 +399,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_DELETE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 4 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -119,6 +119,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_RESUME
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 5 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -185,6 +185,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_DELETE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 6 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_1;
|
||||
|
||||
@@ -120,6 +120,7 @@ package body TMTEST is
|
||||
RTEMS.TASK_SUSPEND( RTEMS.SELF, STATUS );
|
||||
end if;
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 07 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -307,6 +307,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.CLOCK_GET
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 8 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TEST_TASK;
|
||||
|
||||
@@ -109,6 +109,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_DELETE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 9 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TEST_TASK;
|
||||
|
||||
@@ -215,6 +215,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_RECEIVE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 10 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -175,6 +175,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_SEND
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 11 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -174,6 +174,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_SEND
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 12 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -173,6 +173,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_URGENT
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 13 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -180,6 +180,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_URGENT
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 14 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -237,6 +237,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.EVENT_SEND
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 15 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -188,6 +188,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.EVENT_SEND
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 16 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end HIGH_TASK;
|
||||
|
||||
@@ -151,6 +151,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_SET_PRIORITY
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 17 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LAST_TASK;
|
||||
|
||||
@@ -145,6 +145,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_DELETE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 18 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LAST_TASK;
|
||||
|
||||
@@ -277,6 +277,7 @@ package body TMTEST is
|
||||
0
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 19 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_3;
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 1
|
||||
#define CONFIGURE_MAXIMUM_REGIONS 1
|
||||
#define CONFIGURE_MAXIMUM_TASKS 3
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 0
|
||||
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
@@ -393,6 +393,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.REGION_DELETE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 20 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_1;
|
||||
|
||||
@@ -293,6 +293,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.RATE_MONOTONIC_IDENT
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 21 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_1;
|
||||
|
||||
@@ -218,6 +218,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.MESSAGE_QUEUE_BROADCAST
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 22 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -389,6 +389,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_WAKE_WHEN
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 23 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -151,6 +151,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.TASK_WAKE_AFTER
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 24 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end if;
|
||||
|
||||
@@ -148,6 +148,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.CLOCK_TICK
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 25 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -167,6 +167,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.PORT_DELETE
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 28 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TEST_TASK;
|
||||
|
||||
@@ -224,6 +224,7 @@ package body TMTEST is
|
||||
RTEMS_CALLING_OVERHEAD.RATE_MONOTONIC_PERIOD
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST 29 ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end LOW_TASK;
|
||||
|
||||
@@ -152,6 +152,7 @@ TEST_SUPPORT.PAUSE;
|
||||
0
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST CHECK ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_1;
|
||||
|
||||
@@ -1396,6 +1396,7 @@ TEST_SUPPORT.PAUSE;
|
||||
0
|
||||
);
|
||||
|
||||
TEXT_IO.PUT_LINE( "*** END OF TIME TEST OVERHEAD ***" );
|
||||
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
|
||||
|
||||
end TASK_1;
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1345/Ada
|
||||
* rtems.ads: RTEMS boolean type is now C99 bool which is not an
|
||||
unsigned32.
|
||||
|
||||
2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1339/Ada
|
||||
* rtems.adb, rtems.ads: Re-add IO Manager to Ada binding.
|
||||
|
||||
2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* rtems.adb, rtems.ads: Fix prototype.
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
with Ada;
|
||||
with Ada.Unchecked_Conversion;
|
||||
with System;
|
||||
with Interfaces; use Interfaces;
|
||||
with Interfaces.C; use Interfaces.C;
|
||||
with Interfaces.C.Strings; use Interfaces.C.Strings;
|
||||
@@ -38,7 +37,7 @@ package body RTEMS is
|
||||
) return RTEMS.Boolean is
|
||||
begin
|
||||
|
||||
if Ada_Boolean = Standard.True then
|
||||
if Ada_Boolean then
|
||||
return RTEMS.True;
|
||||
end if;
|
||||
|
||||
@@ -1734,6 +1733,145 @@ package body RTEMS is
|
||||
|
||||
end Port_Internal_To_External;
|
||||
|
||||
--
|
||||
-- Input/Output Manager
|
||||
--
|
||||
|
||||
procedure IO_Register_Name (
|
||||
Name : in String;
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Register_Name_Base (
|
||||
Name : Interfaces.C.Char_Array;
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Register_Name_Base, "rtems_io_register_name");
|
||||
begin
|
||||
|
||||
Result :=
|
||||
IO_Register_Name_Base ( Interfaces.C.To_C (Name), Major, Minor );
|
||||
|
||||
end IO_Register_Name;
|
||||
|
||||
procedure IO_Lookup_Name (
|
||||
Name : in String;
|
||||
Device_Info : out RTEMS.Driver_Name_t;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Lookup_Name_Base (
|
||||
Name : Interfaces.C.Char_Array;
|
||||
Device_Info : access RTEMS.Driver_Name_t
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Lookup_Name_Base, "rtems_io_lookup_name");
|
||||
Device_Info_Base : aliased RTEMS.Driver_Name_t;
|
||||
begin
|
||||
|
||||
Result := IO_Lookup_Name_Base (
|
||||
Interfaces.C.To_C (Name),
|
||||
Device_Info_Base'Unchecked_Access
|
||||
);
|
||||
Device_Info := Device_Info_Base;
|
||||
|
||||
end IO_Lookup_Name;
|
||||
|
||||
procedure IO_Open (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Open_Base (
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number;
|
||||
Argument : RTEMS.Address
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Open_Base, "rtems_io_open");
|
||||
begin
|
||||
|
||||
Result := IO_Open_Base (Major, Minor, Argument);
|
||||
|
||||
end IO_Open;
|
||||
pragma Inline (IO_Open);
|
||||
|
||||
procedure IO_Close (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Close_Base (
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number;
|
||||
Argument : RTEMS.Address
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Close_Base, "rtems_io_close");
|
||||
begin
|
||||
|
||||
Result := IO_Close_Base (Major, Minor, Argument);
|
||||
|
||||
end IO_Close;
|
||||
pragma Inline (IO_Close);
|
||||
|
||||
procedure IO_Read (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Read_Base (
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number;
|
||||
Argument : RTEMS.Address
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Read_Base, "rtems_io_read");
|
||||
begin
|
||||
|
||||
Result := IO_Read_Base (Major, Minor, Argument);
|
||||
|
||||
end IO_Read;
|
||||
pragma Inline (IO_Read);
|
||||
|
||||
procedure IO_Write (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Write_Base (
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number;
|
||||
Argument : RTEMS.Address
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Write_Base, "rtems_io_write");
|
||||
begin
|
||||
|
||||
Result := IO_Write_Base (Major, Minor, Argument);
|
||||
|
||||
end IO_Write;
|
||||
pragma Inline (IO_Write);
|
||||
|
||||
procedure IO_Control (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
) is
|
||||
function IO_Control_Base (
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number;
|
||||
Argument : RTEMS.Address
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, IO_Control_Base, "rtems_io_control");
|
||||
begin
|
||||
|
||||
Result := IO_Control_Base (Major, Minor, Argument);
|
||||
|
||||
end IO_Control;
|
||||
pragma Inline (IO_Control);
|
||||
|
||||
|
||||
--
|
||||
-- Fatal Error Manager
|
||||
@@ -2099,7 +2237,7 @@ package body RTEMS is
|
||||
Name : chars_ptr
|
||||
) return RTEMS.Status_Codes;
|
||||
pragma Import (C, Object_Set_Name_Base, "rtems_object_set_name");
|
||||
NameAsCString : chars_ptr := New_String(Name);
|
||||
NameAsCString : constant chars_ptr := New_String(Name);
|
||||
begin
|
||||
Result := Object_Set_Name_Base (ID, NameAsCString);
|
||||
end Object_Set_Name;
|
||||
@@ -2232,8 +2370,8 @@ package body RTEMS is
|
||||
API : RTEMS.Unsigned32
|
||||
) return chars_ptr;
|
||||
pragma Import (C, Object_Get_API_Name_Base, "rtems_object_get_api_name");
|
||||
Result : chars_ptr := Object_Get_API_Name_Base (API);
|
||||
APIName : String := Value_Without_Exception (Result);
|
||||
Result : constant chars_ptr := Object_Get_API_Name_Base (API);
|
||||
APIName : constant String := Value_Without_Exception (Result);
|
||||
begin
|
||||
Name := APIName;
|
||||
end Object_Get_API_Name;
|
||||
@@ -2249,8 +2387,9 @@ package body RTEMS is
|
||||
) return chars_ptr;
|
||||
pragma Import
|
||||
(C, Object_Get_API_Class_Name_Base, "rtems_object_get_api_class_name");
|
||||
Result : chars_ptr := Object_Get_API_Class_Name_Base (The_API, The_Class);
|
||||
ClassName : String := Value_Without_Exception (Result);
|
||||
Result : constant
|
||||
chars_ptr := Object_Get_API_Class_Name_Base (The_API, The_Class);
|
||||
ClassName : constant String := Value_Without_Exception (Result);
|
||||
begin
|
||||
Name := ClassName;
|
||||
end Object_Get_API_Class_Name;
|
||||
|
||||
@@ -45,7 +45,7 @@ pragma Elaborate_Body (RTEMS);
|
||||
type Unsigned8_Pointer is access all RTEMS.Unsigned8;
|
||||
type Signed32_Pointer is access all RTEMS.Signed32;
|
||||
|
||||
subtype Boolean is RTEMS.Unsigned32;
|
||||
subtype Boolean is RTEMS.Unsigned8;
|
||||
subtype Address is System.Address;
|
||||
subtype Single is Interfaces.C.C_float;
|
||||
subtype Double is Interfaces.C.Double;
|
||||
@@ -58,7 +58,7 @@ pragma Elaborate_Body (RTEMS);
|
||||
Unsigned8_Bits : constant := 7;
|
||||
Unsigned16_Bits : constant := 15;
|
||||
Unsigned32_Bits : constant := 31;
|
||||
Boolean_Bits : constant := 31;
|
||||
Boolean_Bits : constant := 7;
|
||||
Address_Bits : constant := 31;
|
||||
Single_Bits : constant := 31;
|
||||
Double_Bits : constant := 63;
|
||||
@@ -66,7 +66,7 @@ pragma Elaborate_Body (RTEMS);
|
||||
Unsigned8_Units : constant := 1;
|
||||
Unsigned16_Units : constant := 2;
|
||||
Unsigned32_Units : constant := 4;
|
||||
Boolean_Units : constant := 4;
|
||||
Boolean_Units : constant := 1;
|
||||
Address_Units : constant := 4;
|
||||
Single_Units : constant := 4;
|
||||
Double_Units : constant := 8;
|
||||
@@ -99,6 +99,16 @@ pragma Elaborate_Body (RTEMS);
|
||||
|
||||
subtype Node is RTEMS.Unsigned32;
|
||||
|
||||
type Driver_Name_t is
|
||||
record
|
||||
Device_Name : RTEMS.Address;
|
||||
Device_Name_Length : RTEMS.Unsigned32;
|
||||
Major : RTEMS.Device_Major_Number;
|
||||
Minor : RTEMS.Device_Minor_Number;
|
||||
|
||||
end record;
|
||||
|
||||
|
||||
--
|
||||
-- Task Related Types
|
||||
--
|
||||
@@ -1161,6 +1171,63 @@ pragma Elaborate_Body (RTEMS);
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
|
||||
--
|
||||
-- Input/Output Manager
|
||||
--
|
||||
|
||||
procedure IO_Register_Name (
|
||||
Name : in String;
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
|
||||
procedure IO_Lookup_Name (
|
||||
Name : in String;
|
||||
Device_Info : out RTEMS.Driver_Name_t;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
|
||||
procedure IO_Open (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
pragma Inline (IO_Open);
|
||||
|
||||
procedure IO_Close (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
pragma Inline (IO_Close);
|
||||
|
||||
procedure IO_Read (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
pragma Inline (IO_Read);
|
||||
|
||||
procedure IO_Write (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
pragma Inline (IO_Write);
|
||||
|
||||
procedure IO_Control (
|
||||
Major : in RTEMS.Device_Major_Number;
|
||||
Minor : in RTEMS.Device_Minor_Number;
|
||||
Argument : in RTEMS.Address;
|
||||
Result : out RTEMS.Status_Codes
|
||||
);
|
||||
pragma Inline (IO_Control);
|
||||
|
||||
--
|
||||
-- Fatal Error Manager
|
||||
--
|
||||
|
||||
@@ -1,3 +1,38 @@
|
||||
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* c4x/.cvsignore, c4x/ChangeLog, c4x/Makefile.am, c4x/acinclude.m4,
|
||||
c4x/configure.ac, c4x/c4xsim/.cvsignore, c4x/c4xsim/ChangeLog,
|
||||
c4x/c4xsim/Makefile.am, c4x/c4xsim/README, c4x/c4xsim/bsp_specs,
|
||||
c4x/c4xsim/configure.ac, c4x/c4xsim/preinstall.am,
|
||||
c4x/c4xsim/clock/clock.c, c4x/c4xsim/console/console.c,
|
||||
c4x/c4xsim/console/consolereserveresources.c,
|
||||
c4x/c4xsim/console/debugio.c, c4x/c4xsim/console/simio.c,
|
||||
c4x/c4xsim/include/.cvsignore, c4x/c4xsim/include/bsp.h,
|
||||
c4x/c4xsim/include/simio.h, c4x/c4xsim/include/tm27.h,
|
||||
c4x/c4xsim/start/start.S, c4x/c4xsim/startup/bspstart.c,
|
||||
c4x/c4xsim/startup/linkcmds, c4x/c4xsim/startup/spurious.c,
|
||||
c4x/c4xsim/timer/timer.c, c4x/c4xsim/tools/.cvsignore,
|
||||
c4x/c4xsim/tools/ChangeLog, c4x/c4xsim/tools/Makefile.am,
|
||||
c4x/c4xsim/tools/configure.ac, c4x/c4xsim/tools/runtest.in,
|
||||
c4x/shared/bspspuriousinit.c, c4x/shared/c3xspurious.c,
|
||||
c4x/shared/c4xspurious.c, nios2/.cvsignore, nios2/ChangeLog,
|
||||
nios2/Makefile.am, nios2/README, nios2/acinclude.m4,
|
||||
nios2/configure.ac, nios2/nios2_iss/.cvsignore,
|
||||
nios2/nios2_iss/ChangeLog, nios2/nios2_iss/Makefile.am,
|
||||
nios2/nios2_iss/bsp_specs, nios2/nios2_iss/configure.ac,
|
||||
nios2/nios2_iss/nios2_iss.ptf, nios2/nios2_iss/nios2_iss.sh,
|
||||
nios2/nios2_iss/preinstall.am, nios2/nios2_iss/times,
|
||||
nios2/nios2_iss/clock/clock.c, nios2/nios2_iss/console/console.c,
|
||||
nios2/nios2_iss/include/.cvsignore, nios2/nios2_iss/include/bsp.h,
|
||||
nios2/nios2_iss/include/coverhd.h, nios2/nios2_iss/include/tm27.h,
|
||||
nios2/nios2_iss/shmsupp/addrconv.c, nios2/nios2_iss/shmsupp/getcfg.c,
|
||||
nios2/nios2_iss/shmsupp/lock.c, nios2/nios2_iss/shmsupp/mpisr.c,
|
||||
nios2/nios2_iss/start/crtnn.s, nios2/nios2_iss/start/start.S,
|
||||
nios2/nios2_iss/startup/bspclean.c,
|
||||
nios2/nios2_iss/startup/bspstart.c, nios2/nios2_iss/startup/linkcmds,
|
||||
nios2/nios2_iss/startup/main.c, nios2/nios2_iss/startup/setvec.c,
|
||||
nios2/nios2_iss/timer/timer.c: Removed.
|
||||
|
||||
2008-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* preinstall.am: New file.
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1385/cpukit
|
||||
* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
|
||||
C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
|
||||
dispatching code accesses two boolean variables for scheduling
|
||||
purposes and the assembly implementations of this code did not get
|
||||
updated.
|
||||
|
||||
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/irq/irq_init.c: Add missing prototypes.
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1350/bsps
|
||||
* network/lan91c11x.c: Do not write 65th element into 64 element array.
|
||||
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -224,9 +224,6 @@ void lan91c11x_write_phy_reg(int reg, uint16_t phydata)
|
||||
mask >>= 1;
|
||||
}
|
||||
|
||||
/* Final clock bit */
|
||||
bits[clk_idx++] = 0;
|
||||
|
||||
/* Turn off all MII Interface bits */
|
||||
lan91c11x_write_reg(LAN91C11X_MGMT,
|
||||
lan91c11x_read_reg(LAN91C11X_MGMT) & 0xfff0);
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-09-05 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* timer/timer.c: Use "true" instead of "1" for "bool"s.
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -1,3 +1,26 @@
|
||||
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1385/cpukit
|
||||
* irq/irq_asm.S: When the type rtems_boolean was switched to the C99
|
||||
bool, the size changed from 4 bytes to 1 byte. The interrupt
|
||||
dispatching code accesses two boolean variables for scheduling
|
||||
purposes and the assembly implementations of this code did not get
|
||||
updated.
|
||||
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console/defaultfont.c: Remove (Renamed into console/defaultfont.h).
|
||||
* console/defaultfont.h: New (Renamed from console/defaultfont.c).
|
||||
* Makefile.am, console/conio.c: Reflect renamer.
|
||||
|
||||
2008-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Remove empty HAS_NETWORKING conditional.
|
||||
|
||||
2008-09-06 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* irq/irq.c: Minor "bool" fixes.
|
||||
|
||||
@@ -43,7 +43,7 @@ startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||
../../shared/gnatinstallhandler.c
|
||||
clock_SOURCES = clock/clockdrv.c
|
||||
console_SOURCES = console/conio.c console/console.c \
|
||||
console/defaultfont.c
|
||||
console/defaultfont.h
|
||||
timer_SOURCES = timer/timer.c
|
||||
|
||||
include_HEADERS += irq/irq.h
|
||||
@@ -55,9 +55,6 @@ libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
|
||||
$(timer_SOURCES) $(irq_SOURCES)
|
||||
|
||||
libbsp_a_LIBADD = gbaoverrides.rel
|
||||
if HAS_NETWORKING
|
||||
##
|
||||
endif
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -Qy -dc -dp -Bstatic -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -Bstatic -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -92,7 +92,7 @@ int _textattr; /**< Text attribute */
|
||||
/*---------------------------------------------------------------------------*
|
||||
* Defaultfont *
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include "defaultfont.c"
|
||||
#include "defaultfont.h"
|
||||
|
||||
/**
|
||||
* @brief gba_gotoxy function set screeen xy-coordinates
|
||||
|
||||
@@ -83,13 +83,13 @@ PUBLIC_ARM_FUNCTION(_ISR_Handler)
|
||||
|
||||
/* If a task switch is necessary, call scheduler */
|
||||
ldr r0, =_Context_Switch_necessary
|
||||
ldr r1, [r0]
|
||||
ldrb r1, [r0]
|
||||
cmp r1, #0
|
||||
|
||||
/* since bframe is going to clear _ISR_Signals_to_thread_executing, */
|
||||
/* we need to load it here */
|
||||
ldr r0, =_ISR_Signals_to_thread_executing
|
||||
ldr r1, [r0]
|
||||
ldrb r1, [r0]
|
||||
bne bframe
|
||||
|
||||
/* If a signals to be sent (_ISR_Signals_to_thread_executing != 0), */
|
||||
@@ -99,7 +99,7 @@ PUBLIC_ARM_FUNCTION(_ISR_Handler)
|
||||
|
||||
/* _ISR_Signals_to_thread_executing = FALSE */
|
||||
mov r1, #0
|
||||
str r1, [r0]
|
||||
strb r1, [r0]
|
||||
|
||||
bframe:
|
||||
/* Now we need to set up the return from this ISR to be _ISR_Dispatch */
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Remove noinst_PROGRAMS (Unused).
|
||||
|
||||
2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
|
||||
|
||||
@@ -15,7 +15,6 @@ include_HEADERS += include/tm27.h
|
||||
|
||||
nodist_include_HEADERS = include/bspopts.h
|
||||
DISTCLEANFILES = include/bspopts.h
|
||||
noinst_PROGRAMS =
|
||||
|
||||
nodist_include_HEADERS += ../../shared/include/coverhd.h
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-09-05 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* block/block.c, rtc/rtc.c: Convert to "bool".
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -Qy -dc -dp -Bstatic -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -Bstatic -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
2009-03-02 Ray Xu <rayx.cn@gmail.com>
|
||||
|
||||
PR 1380/bsps
|
||||
* include/bsp.h: Switch to English comments.
|
||||
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am: Rework to avoid .rel files.
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -30,12 +30,15 @@ extern "C" {
|
||||
/* cclk=cco/(2*P) */
|
||||
/* cco = cclk*2*P */
|
||||
|
||||
#define LPC22xx_Fcclk CONFIG_ARM_CLK /* system clk frequecy,<=60Mhz, defined in system configuration */
|
||||
/* system clk frequecy,<=60Mhz, defined in system configuration */
|
||||
#define LPC22xx_Fcclk CONFIG_ARM_CLK
|
||||
|
||||
/* Fcco 156M~320Mhz*/
|
||||
#define LPC22xx_Fcclk CONFIG_ARM_CLK /* system clk frequecy,<=60Mhz, defined in system configuration */
|
||||
/* system clk frequecy,<=60Mhz, defined in system configuration */
|
||||
#define LPC22xx_Fcclk CONFIG_ARM_CLK
|
||||
#define LPC22xx_Fcco LPC22xx_Fcclk * 4
|
||||
#define LPC22xx_Fpclk (LPC22xx_Fcclk /4) *1 /*VPB clk frequency,1,1/2,1/4 times of Fcclk */
|
||||
/*VPB clk frequency,1,1/2,1/4 times of Fcclk */
|
||||
#define LPC22xx_Fpclk (LPC22xx_Fcclk /4) *1
|
||||
|
||||
|
||||
|
||||
@@ -76,14 +79,15 @@ extern "C" {
|
||||
/**
|
||||
* help file
|
||||
*/
|
||||
/* ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>, Fosc<EFBFBD><EFBFBD>Fcclk<EFBFBD><EFBFBD>Fcco<EFBFBD><EFBFBD>Fpclk<EFBFBD><EFBFBD><EFBFBD>붨<EFBFBD><EFBFBD>*/
|
||||
#define Fosc 11059200 //<2F><><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>,10MHz~25MHz<48><7A>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>һ<EFBFBD><D2BB>
|
||||
#define Fcclk (Fosc << 2) //ϵͳƵ<EFBFBD>ʣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪFosc<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(1~32)<29><><EFBFBD><EFBFBD><=60MHZ
|
||||
#define Fcco (Fcclk <<2) //CCOƵ<4F>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD>ΪFcclk<6C><6B>2<EFBFBD><32>4<EFBFBD><34>8<EFBFBD><38>16<31><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΧΪ156MHz~320MHz
|
||||
#define Fpclk (Fcclk >>2) * 1 //VPBʱ<42><CAB1>Ƶ<EFBFBD>ʣ<EFBFBD>ֻ<EFBFBD><D6BB>Ϊ(Fcclk / 4)<29><>1 ~ 4<><34>
|
||||
#define M Fcclk / Fosc;
|
||||
#define P_min Fcco_MIN / (2*Fcclk) + 1;
|
||||
#define P_max Fcco_MAX / (2*Fcclk);
|
||||
/* System configure, Fosc Fcclk Fcco Fpclk must be defined*/
|
||||
#define Fosc 11059200 // osc freq,10MHz~25MHz,
|
||||
// change to real one if needed
|
||||
#define Fcclk (Fosc << 2) //system freq 2^n time of Fosc(1~32) <=60MHZ
|
||||
#define Fcco (Fcclk <<2) //CCO freq 2,4,8,16 time of Fcclk 156MHz~320MHz
|
||||
#define Fpclk (Fcclk >>2) * 1 //VPB freq only(Fcclk / 4) 1~4
|
||||
#define M Fcclk / Fosc
|
||||
#define P_min Fcco_MIN / (2*Fcclk) + 1;
|
||||
#define P_max Fcco_MAX / (2*Fcclk);
|
||||
|
||||
|
||||
|
||||
@@ -106,20 +110,20 @@ extern "C" {
|
||||
#define SPI_CS_PIN_FUNC PINSEL0_bit.SPI_CS_PIN
|
||||
|
||||
// Flash definition
|
||||
//#define FLASH_SIZE (0x200000-FLASH_BOOT) // Total area of Flash region in words 8 bit
|
||||
#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
|
||||
//#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
|
||||
#define FLASH_BEGIN 0x80000000
|
||||
#define FLASH_BASE (FLASH_BEGIN+FLASH_BOOT) //First 0x8000 bytes reserved for boot loader etc.
|
||||
//#define FLASH_SIZE (0x200000-FLASH_BOOT) // Total area of Flash region in words 8 bit
|
||||
#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
|
||||
//#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
|
||||
#define FLASH_BEGIN 0x80000000
|
||||
#define FLASH_BASE (FLASH_BEGIN+FLASH_BOOT) //First 0x8000 bytes reserved for boot loader etc.
|
||||
|
||||
// SRAM definition
|
||||
#define SRAM_SIZE 0x100000 // Total area of Flash region in words 8 bit
|
||||
#define SRAM_BASE 0x81000000 //First 0x8000 bytes reserved for boot loader etc.
|
||||
#define SRAM_SIZE 0x100000 // Total area of Flash region in words 8 bit
|
||||
#define SRAM_BASE 0x81000000 //First 0x8000 bytes reserved for boot loader etc.
|
||||
|
||||
// CS8900A definition
|
||||
#define CS8900A_BASE 0x82000000 //
|
||||
#define CS8900A_BASE 0x82000000
|
||||
// RTL8019AS definition
|
||||
#define RTL8019AS_BASE 0x82000000 //
|
||||
#define RTL8019AS_BASE 0x82000000
|
||||
|
||||
struct rtems_bsdnet_ifconfig;
|
||||
int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
|
||||
|
||||
@@ -79,13 +79,13 @@ _ISR_Handler:
|
||||
|
||||
/* If a task switch is necessary, call scheduler */
|
||||
ldr r0, =_Context_Switch_necessary
|
||||
ldr r1, [r0]
|
||||
ldrb r1, [r0]
|
||||
cmp r1, #0
|
||||
|
||||
/* since bframe is going to clear _ISR_Signals_to_thread_executing, */
|
||||
/* we need to load it here */
|
||||
ldr r0, =_ISR_Signals_to_thread_executing
|
||||
ldr r1, [r0]
|
||||
ldrb r1, [r0]
|
||||
bne bframe
|
||||
|
||||
/* If a signals to be sent (_ISR_Signals_to_thread_executing != 0), */
|
||||
@@ -95,7 +95,7 @@ _ISR_Handler:
|
||||
|
||||
/* _ISR_Signals_to_thread_executing = FALSE */
|
||||
mov r1, #0
|
||||
str r1, [r0]
|
||||
strb r1, [r0]
|
||||
|
||||
bframe:
|
||||
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Remove noinst_PROGRAMS (Unused).
|
||||
|
||||
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1322/bsps
|
||||
* include/bspopts.h.in: Remove.
|
||||
|
||||
2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
|
||||
|
||||
@@ -15,7 +15,6 @@ include_HEADERS += ../../shared/include/tm27.h
|
||||
|
||||
nodist_include_HEADERS = include/bspopts.h
|
||||
DISTCLEANFILES = include/bspopts.h
|
||||
noinst_PROGRAMS =
|
||||
nodist_include_HEADERS += ../../shared/include/coverhd.h
|
||||
|
||||
EXTRA_DIST = ../gp32/start/start.S
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
/* include/bspopts.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
@@ -1,3 +1,7 @@
|
||||
2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Cleanup.
|
||||
|
||||
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Eliminate copies of the Configuration Table. Use the
|
||||
|
||||
@@ -14,46 +14,9 @@ include_HEADERS += include/tm27.h
|
||||
nodist_include_HEADERS = include/bspopts.h
|
||||
DISTCLEANFILES = include/bspopts.h
|
||||
|
||||
nodist_include_HEADERS += $(top_srcdir)/../shared/include/coverhd.h
|
||||
|
||||
all-local: $(PREINSTALL_FILES)
|
||||
nodist_include_HEADERS += ../shared/include/coverhd.h
|
||||
|
||||
EXTRA_DIST = build-tools do-bare-bsp-build
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
|
||||
$(PROJECT_INCLUDE)/$(dirstamp):
|
||||
@$(MKDIR_P) $(PROJECT_INCLUDE)
|
||||
@: > $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
|
||||
$(PROJECT_LIB)/$(dirstamp):
|
||||
@$(MKDIR_P) $(PROJECT_LIB)
|
||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
|
||||
|
||||
$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
|
||||
|
||||
$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
|
||||
|
||||
$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
|
||||
|
||||
$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
|
||||
|
||||
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES += $(PREINSTALL_DIRS)
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
|
||||
@@ -8,15 +8,10 @@ endif
|
||||
PREINSTALL_DIRS =
|
||||
DISTCLEANFILES += $(PREINSTALL_DIRS)
|
||||
|
||||
all-local: $(TMPINSTALL_FILES)
|
||||
|
||||
TMPINSTALL_FILES =
|
||||
CLEANFILES = $(TMPINSTALL_FILES)
|
||||
|
||||
all-am: $(PREINSTALL_FILES)
|
||||
|
||||
PREINSTALL_FILES =
|
||||
CLEANFILES += $(PREINSTALL_FILES)
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
|
||||
$(PROJECT_LIB)/$(dirstamp):
|
||||
@$(MKDIR_P) $(PROJECT_LIB)
|
||||
@@ -44,19 +39,7 @@ $(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
|
||||
|
||||
$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(PROJECT_INCLUDE)/coverhd.h: ../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||
|
||||
$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
|
||||
|
||||
$(PROJECT_LIB)/crtnn.$(OBJEXT): crtnn.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/crtnn.$(OBJEXT)
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/crtnn.$(OBJEXT)
|
||||
|
||||
$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-08-15 Allan Hessenflow <allanh@kallisti.com>
|
||||
|
||||
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s -e __start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e __start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Backport from CVS-HEAD.
|
||||
|
||||
2008-08-18 Allan Hessenflow <allanh@kallisti.com>
|
||||
|
||||
* Makefile.am, console/console-io.c, startup/bspstart.c: Update to use
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s -e __start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e __start}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -1,128 +0,0 @@
|
||||
2007-04-17 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* c4xsim/tools/runtest.in: Do not run pppd.exe from batch mode script.
|
||||
|
||||
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>
|
||||
|
||||
* configure.ac: Require autoconf-2.60. Require automake-1.10.
|
||||
|
||||
2005-10-16 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Merge-in shared/Makefile.am.
|
||||
* ChangeLog: Merge-in shared/ChangeLog.
|
||||
* configure.ac: Remove shared/Makefile.am.
|
||||
|
||||
2004-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require automake > 1.9.
|
||||
|
||||
2004-03-31 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* shared/bspspuriousinit.c: Convert to using c99 fixed size types.
|
||||
|
||||
2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: RTEMS_CHECK_BSPDIR([$RTEMS_BSP_FAMILY]).
|
||||
* acinclude.m4: Regenerate.
|
||||
|
||||
2004-01-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use @RTEMS_BSP_FAMILY@ instead of
|
||||
$(RTEMS_BSP_FAMILY).
|
||||
|
||||
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
|
||||
|
||||
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* shared/Makefile.am: Remove C_FILES (Unused).
|
||||
|
||||
2003-10-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* acinclude.m4: Reflect changes to bootstrap.
|
||||
* configure.ac: Remove RTEMS_CHECK_CUSTON_BSP.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* shared/bspspuriousinit.c, shared/c3xspurious.c,
|
||||
shared/c4xspurious.c: URL for license changed.
|
||||
|
||||
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect having moved aclocal/.
|
||||
|
||||
2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am, shared/Makefile.am: Reflect having moved automake/.
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email
|
||||
address.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
||||
* configure.ac: AC_PREREQ(2.57).
|
||||
|
||||
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_CHECK_BSP_CACHE.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache.
|
||||
|
||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am, shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
||||
|
||||
2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* shared/bspspuriousinit.c, shared/c3xspurious.c,
|
||||
shared/c4xspurious.c: Include rtems/bspIo.h instead of bspIo.h.
|
||||
|
||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
||||
* configure.in: Remove.
|
||||
|
||||
2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* acinclude.m4: New file.
|
||||
* configure.in: Use RTEMS_BSP_SUBDIR.
|
||||
|
||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||
|
||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I
|
||||
$(RTEMS_TOPdir)/aclocal.
|
||||
|
||||
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to
|
||||
GNU canonicalization.
|
||||
|
||||
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Formatting.
|
||||
|
||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* ChangeLog, shared/ChangeLog: New file.
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../../../aclocal
|
||||
|
||||
## Descend into the @RTEMS_BSP_FAMILY@ directory
|
||||
SUBDIRS = @RTEMS_BSP_FAMILY@
|
||||
|
||||
EXTRA_DIST =
|
||||
EXTRA_DIST += shared/bspspuriousinit.c
|
||||
EXTRA_DIST += shared/c3xspurious.c
|
||||
EXTRA_DIST += shared/c4xspurious.c
|
||||
|
||||
include $(top_srcdir)/../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
@@ -1,10 +0,0 @@
|
||||
# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY)
|
||||
AC_DEFUN([RTEMS_CHECK_BSPDIR],
|
||||
[
|
||||
case "$1" in
|
||||
c4xsim )
|
||||
AC_CONFIG_SUBDIRS([c4xsim]);;
|
||||
*)
|
||||
AC_MSG_ERROR([Invalid BSP]);;
|
||||
esac
|
||||
])
|
||||
@@ -1,8 +0,0 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -1,474 +0,0 @@
|
||||
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* timer/timer.c: Convert to "bool".
|
||||
|
||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* timer/timer.c: Eliminate empty function from every benchmark timer
|
||||
driver. Fix spelling.
|
||||
|
||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* timer/timer.c: Rename timer driver methods to follow RTEMS
|
||||
programming conventions.
|
||||
|
||||
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization
|
||||
Framework to ask the BSP where it has memory for the RTEMS Workspace
|
||||
and C Program Heap. These collectively are referred to as work area.
|
||||
If the BSP supports this, then it does not have to include code to
|
||||
split the available memory between the two areas. This reduces the
|
||||
amount of code in the BSP specific bspstart.c file. Additionally, the
|
||||
shared framework can initialize the C Library, call
|
||||
rtems_debug_enable(), and dirty the work area memory. Until most/all
|
||||
BSPs support this new capability, if the BSP supports this, it should
|
||||
call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
|
||||
When the transition is complete, this autoconf macro can be removed.
|
||||
|
||||
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am: Rework to avoid .rel files.
|
||||
|
||||
2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* startup/bspstart.c: Refactored and renamed initialization routines to
|
||||
rtems_initialize_data_structures, rtems_initialize_before_drivers,
|
||||
rtems_initialize_device_drivers, and
|
||||
rtems_initialize_start_multitasking. This opened the sequence up so
|
||||
that bootcard() could provide a more robust and flexible framework
|
||||
which is easier to explain and understand. This also lays the
|
||||
groundwork for sharing the division of available memory between the
|
||||
RTEMS workspace and heap and the C library initialization across all
|
||||
BSPs.
|
||||
|
||||
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* clock/clock.c, include/bsp.h, startup/bspstart.c: Eliminate copies of
|
||||
the Configuration Table. Use the RTEMS provided accessor macros to
|
||||
obtain configuration fields.
|
||||
|
||||
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
|
||||
from CPU Table to Configuration Table. Eliminate CPU Table from all
|
||||
ports. Delete references to CPU Table in all forms.
|
||||
|
||||
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||
Table fields to the Configuration Table. This included
|
||||
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||
effort some multiprocessing code was made conditional and some style
|
||||
clean up occurred.
|
||||
|
||||
2007-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* clock/clock.c: include <tic4x/c4xio.h>.
|
||||
|
||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* bsp_specs: Remove qrtems_debug.
|
||||
|
||||
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: New BUG-REPORT address.
|
||||
|
||||
2006-11-15 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Makefile.am: Merge c_rtems_main() into boot_card(). This eliminated a
|
||||
file and simplified initialization.
|
||||
|
||||
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Remove superfluous -DASM.
|
||||
|
||||
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.60. Require automake-1.10.
|
||||
|
||||
2006-05-31 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* clock/clock.c: Switch to using shared clock driver shell.
|
||||
|
||||
2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Add preinstall.am.
|
||||
|
||||
2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h: New header guard.
|
||||
|
||||
2005-02-02 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* include/tm27.h, timer/timer.c: #include <rtems/tic4x/c4xio.h>
|
||||
instead of <rtems/tic4x/c4xio.h>.
|
||||
|
||||
2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
||||
|
||||
2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Remove build-variant support.
|
||||
|
||||
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require automake > 1.9.
|
||||
|
||||
2004-04-23 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
PR 610/bsps
|
||||
* Makefile.am: Add include/tm27.h, Cosmetics.
|
||||
* include/tm27.h: Final cosmetics.
|
||||
|
||||
2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h: Split out tmtest27 support.
|
||||
* include/tm27.h: New.
|
||||
|
||||
2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
PR 613/bsps
|
||||
* include/bsp.h: Remove MAX_LONG_TEST_DURATION.
|
||||
|
||||
2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
PR 614/bsps
|
||||
* include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
|
||||
|
||||
2004-04-02 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* clock/clock.c, include/bsp.h, timer/timer.c: Include
|
||||
<rtems/c4x/c4xio.h> instead of <c4xio.h>.
|
||||
|
||||
2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
|
||||
* include/bsp.h: Include <rtems/console.h> instead of <console.h>.
|
||||
* include/bsp.h: Include <rtems/iosupp.h> instead of <iosupp.h>.
|
||||
|
||||
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* clock/clock.c, include/bsp.h, startup/bspstart.c, timer/timer.c:
|
||||
Convert to using c99 fixed size types.
|
||||
|
||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
Preinstall dist_project_lib*.
|
||||
|
||||
2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
|
||||
2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
|
||||
2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use CPPASCOMPILE instead of CCASCOMPILE.
|
||||
|
||||
2004-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Pickup files from ../../c4x/shared instead of
|
||||
../shared. Reformat.
|
||||
|
||||
2004-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am,
|
||||
start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
|
||||
wrapup/Makefile.am.
|
||||
Use automake compilation rules.
|
||||
* clock/Makefile.am, console/Makefile.am, start/Makefile.am,
|
||||
startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am:
|
||||
Remove.
|
||||
* configure.ac: Reflect changes above.
|
||||
|
||||
2004-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add nostdinc to AUTOMAKE_OPTIONS.
|
||||
Add RTEMS_PROG_CCAS.
|
||||
|
||||
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Add PREINSTALL_DIRS.
|
||||
|
||||
2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
|
||||
Add PRE/TMPINSTALL_FILES to CLEANFILES.
|
||||
* start/Makefile.am: Ditto.
|
||||
* startup/Makefile.am: Ditto.
|
||||
|
||||
2004-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Eliminate $(LIB).
|
||||
Use noinst_DATA to trigger building libbsp.a.
|
||||
|
||||
2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
||||
* startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
||||
|
||||
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* start/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
||||
* startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
||||
|
||||
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
|
||||
|
||||
2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* start/Makefile.am: Misc cleanups and fixes.
|
||||
* startup/Makefile.am: Misc cleanups and fixes.
|
||||
* wrapup/Makefile.am: Misc cleanups and fixes.
|
||||
|
||||
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Add preinstallation dirstamp support.
|
||||
* clock/Makefile.am: Cosmetics.
|
||||
* console/Makefile.am: Cosmetics.
|
||||
* startup/Makefile.am: Cosmetics.
|
||||
* timer/Makefile.am: Cosmetics.
|
||||
* wrapup/Makefile.am: Cosmetics.
|
||||
|
||||
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* clock/Makefile.am: Remove all-local: $(ARCH).
|
||||
* console/Makefile.am: Remove all-local: $(ARCH).
|
||||
* start/Makefile.am: Remove all-local: $(ARCH).
|
||||
* startup/Makefile.am: Remove all-local: $(ARCH).
|
||||
* timer/Makefile.am: Remove all-local: $(ARCH).
|
||||
* wrapup/Makefile.am: Remove all-local: $(ARCH).
|
||||
|
||||
2003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Merge-in include/Makefile.am.
|
||||
Reflect changes to bsp.am.
|
||||
* include/Makefile.am: Remove.
|
||||
* configure.ac: Reflect changes above.
|
||||
|
||||
2003-09-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* bsp_specs: Remove *lib:.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* clock/clock.c, console/console.c, console/consolereserveresources.c,
|
||||
console/debugio.c, include/bsp.h, startup/bspstart.c,
|
||||
startup/spurious.c, timer/timer.c: URL for license changed.
|
||||
|
||||
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect having moved aclocal/.
|
||||
|
||||
2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect having moved automake/.
|
||||
* clock/Makefile.am: Reflect having moved automake/.
|
||||
* console/Makefile.am: Reflect having moved automake/.
|
||||
* include/Makefile.am: Reflect having moved automake/.
|
||||
* start/Makefile.am: Reflect having moved automake/.
|
||||
* startup/Makefile.am: Reflect having moved automake/.
|
||||
* timer/Makefile.am: Reflect having moved automake/.
|
||||
* wrapup/Makefile.am: Reflect having moved automake/.
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
PR 452/bsps
|
||||
* startup/Makefile.am: Remove USE_INIT_FINI.
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||
|
||||
2003-08-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
PR 445/bsps
|
||||
* bsp_specs: Remove -D__embedded__ -Asystem(embedded) from cpp.
|
||||
Remove cpp, old_cpp (now unused).
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AC_PREREQ(2.57).
|
||||
|
||||
2003-01-20 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/linkcmds: Add FreeBSD SYSCTL() sections for networking.
|
||||
|
||||
2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
|
||||
2002-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
|
||||
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* start/Makefile.am: Use install-data-local to install startfile.
|
||||
|
||||
2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
|
||||
2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_OUTPUT_BUILD_SUBDIRS. Cosmetical
|
||||
changes.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
Add autom4te*cache.
|
||||
Remove autom4te.cache.
|
||||
|
||||
2002-09-14 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* clock/clock.c: Per PR257, remove reference to c3x_set_ie.
|
||||
c4x variant should use c4x_set_iie().
|
||||
|
||||
2002-08-21 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* bsp_specs: Added support for -nostdlibs.
|
||||
|
||||
2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
|
||||
2002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* start/Makefile.am: Eliminate PGM.
|
||||
Add bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o.
|
||||
|
||||
2002-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* startup/Makefile.am: Add bsplib_DATA = linkcmds.
|
||||
|
||||
2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Eliminate TMPINSTALL_FILES.
|
||||
Remove $(OBJS) from all-local.
|
||||
|
||||
2002-06-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Remove preinstallation of libbsp.a,
|
||||
|
||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac:
|
||||
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
||||
* clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* console/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* start/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
|
||||
2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* startup/bspstart.c: Include rtems/bspIo.h instead of bspIo.h.
|
||||
* startup/spurious.c: Include rtems/bspIo.h instead of bspIo.h.
|
||||
|
||||
2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* bsp_specs: Replace -lrtemsall with -lrtemsbsp -lrtemscpu,
|
||||
replace -lrtemsall_g with -lrtemsbsp_g -lrtemscpu_g.
|
||||
|
||||
2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.
|
||||
|
||||
2001-10-12 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* console/console.c: Fixed typo.
|
||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||
* configure.in: Remove.
|
||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
||||
|
||||
2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/Makefile.am: Use 'CLEANFILES ='.
|
||||
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
|
||||
|
||||
2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Add bspopts.h, fix PACKAGE.
|
||||
* include/.cvsignore: Add bspopts.h*, stamp-h*.
|
||||
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
|
||||
* include/bsp.h: Include bspopts.h.
|
||||
|
||||
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
||||
|
||||
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* console/consolereserveresources.c: Removed code NOT file (YET).
|
||||
|
||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||
|
||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
||||
|
||||
2000-11-01 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
|
||||
and libcsupport.h moved from libc to lib/include/rtems and
|
||||
now must be referenced as <rtems/XXX.h>. Header file order
|
||||
was cleaned up while doing this.
|
||||
|
||||
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in, Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
|
||||
Switch to GNU canonicalization.
|
||||
|
||||
2000-09-22 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/linkcmds: Use default object format to avoid name
|
||||
changes in object format due to tool version changes.
|
||||
|
||||
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* clock/Makefile.am, console/Makefile.am, start/Makefile.am,
|
||||
startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am:
|
||||
Include compile.am
|
||||
|
||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* ChangeLog: New file.
|
||||
@@ -1,53 +0,0 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../../../../aclocal
|
||||
|
||||
# wrapup is the one that actually builds and installs the library
|
||||
# from the individual .rel files built in other directories
|
||||
SUBDIRS = . tools
|
||||
|
||||
include $(top_srcdir)/../../../../automake/compile.am
|
||||
include $(top_srcdir)/../../bsp.am
|
||||
|
||||
dist_project_lib_DATA = bsp_specs
|
||||
|
||||
include_HEADERS = include/bsp.h
|
||||
include_HEADERS += include/tm27.h
|
||||
|
||||
nodist_include_HEADERS = include/bspopts.h
|
||||
DISTCLEANFILES = include/bspopts.h
|
||||
|
||||
noinst_PROGRAMS =
|
||||
|
||||
include_HEADERS += include/simio.h
|
||||
nodist_include_HEADERS += ../../shared/include/coverhd.h
|
||||
|
||||
EXTRA_DIST = start/start.S
|
||||
start.$(OBJEXT): start/start.S
|
||||
$(CPPASCOMPILE) -o $@ -c $<
|
||||
project_lib_DATA = start.$(OBJEXT)
|
||||
|
||||
dist_project_lib_DATA += startup/linkcmds
|
||||
|
||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||
../../shared/bsppredriverhook.c \
|
||||
../../shared/bsppost.c startup/bspstart.c \
|
||||
../../shared/bootcard.c ../../shared/sbrk.c ../../shared/setvec.c \
|
||||
../../c4x/shared/c3xspurious.c ../../c4x/shared/c4xspurious.c \
|
||||
../../c4x/shared/bspspuriousinit.c startup/spurious.c \
|
||||
../../shared/gnatinstallhandler.c
|
||||
clock_SOURCES = clock/clock.c
|
||||
console_SOURCES = console/consolereserveresources.c console/debugio.c \
|
||||
console/simio.c ../../shared/console.c
|
||||
timer_SOURCES = timer/timer.c
|
||||
|
||||
noinst_LIBRARIES = libbsp.a
|
||||
libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
|
||||
$(timer_SOURCES)
|
||||
|
||||
EXTRA_DIST += times
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
@@ -1,46 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
BSP NAME: c4xsim
|
||||
BOARD: Simulator in GDB
|
||||
BUS: N/A
|
||||
CPU FAMILY: C3X/C4X
|
||||
CPU: C32 and others
|
||||
COPROCESSORS: N/A
|
||||
MODE: 32 bit mode
|
||||
|
||||
DEBUG MONITOR: gdb simulator
|
||||
|
||||
PERIPHERALS
|
||||
===========
|
||||
TIMERS: Internal Timer
|
||||
RESOLUTION: ???
|
||||
SERIAL PORTS: simulated via
|
||||
REAL-TIME CLOCK: ???
|
||||
DMA: none
|
||||
VIDEO: none
|
||||
SCSI: none
|
||||
NETWORKING: none
|
||||
|
||||
DRIVER INFORMATION
|
||||
==================
|
||||
CLOCK DRIVER: ???
|
||||
IOSUPP DRIVER: N/A
|
||||
SHMSUPP: N/A
|
||||
TIMER DRIVER: ???
|
||||
TTY DRIVER: ???
|
||||
|
||||
STDIO
|
||||
=====
|
||||
PORT: Console port 0
|
||||
ELECTRICAL: na
|
||||
BAUD: na
|
||||
BITS PER CHARACTER: na
|
||||
PARITY: na
|
||||
STOP BITS: na
|
||||
|
||||
Notes
|
||||
=====
|
||||
|
||||
NONE
|
||||
@@ -1,11 +0,0 @@
|
||||
%rename endfile old_endfile
|
||||
%rename startfile old_startfile
|
||||
%rename link old_link
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/* ckinit.c
|
||||
*
|
||||
* This file provides a template for the clock device driver initialization.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/tic4x/c4xio.h>
|
||||
|
||||
|
||||
#define CLOCK_VECTOR 9
|
||||
|
||||
#define Clock_driver_support_at_tick()
|
||||
|
||||
#define Clock_driver_support_install_isr( _new, _old ) \
|
||||
do { _old = 0; } while(0)
|
||||
|
||||
void Clock_driver_support_initialize_hardware()
|
||||
{
|
||||
extern int _ClockFrequency;
|
||||
uint32_t Clock_counter_register_value;
|
||||
float tmp;
|
||||
int tmpi;
|
||||
|
||||
tmpi = ((int) &_ClockFrequency) * 1000000; /* ClockFrequency is in Mhz */
|
||||
tmp = (float) tmpi / 2.0;
|
||||
tmp = ((float) rtems_configuration_get_microseconds_per_tick() / 1000000.0) * (tmp);
|
||||
|
||||
Clock_counter_register_value = (unsigned int) tmp;
|
||||
#if 0
|
||||
Clock_counter_register_value =
|
||||
(uint32_t) ((float) rtems_configuration_get_microseconds_per_tick() /
|
||||
((float)_ClockFrequency / 2.0)));
|
||||
#endif
|
||||
c4x_timer_stop( C4X_TIMER_0 );
|
||||
c4x_timer_set_counter( C4X_TIMER_0, 0 );
|
||||
c4x_timer_set_period( C4X_TIMER_0, Clock_counter_register_value );
|
||||
c4x_timer_start( C4X_TIMER_0 );
|
||||
|
||||
#if defined(_C4x)
|
||||
c4x_set_iee( c4x_get_iie() | 0x1 ); /* should be ETINT0 */
|
||||
#else
|
||||
c3x_set_ie( c3x_get_ie() | 0x100 );
|
||||
#endif
|
||||
|
||||
Old_ticker = (rtems_isr_entry) set_vector( clock_isr, CLOCK_VECTOR, 1 );
|
||||
}
|
||||
|
||||
#define Clock_driver_support_shutdown_hardware()
|
||||
|
||||
#include "../../../shared/clockdrv_shell.c"
|
||||
@@ -1,22 +0,0 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ(2.60)
|
||||
AC_INIT([rtems-c-src-lib-libbsp-c4x-c4xsim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
|
||||
AC_CONFIG_SRCDIR([bsp_specs])
|
||||
RTEMS_TOP(../../../../../..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
|
||||
RTEMS_BSP_CONFIGURE
|
||||
|
||||
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
RTEMS_PROG_CCAS
|
||||
|
||||
RTEMS_CONFIG_BUILD_SUBDIRS(tools)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user