Thomas Doerfler
55a685bddc
added SPI support to libi2c
...
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
2007-10-25 16:17:56 +00:00
Glenn Humphrey
29948d482f
2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
...
* rtems.adb, rtems.ads: Added a missing binding.
2007-10-18 21:26:23 +00:00
Glenn Humphrey
4fcb3fc310
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 20:58:51 +00:00
Glenn Humphrey
3d2bf71da0
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-18 19:36:29 +00:00
Joel Sherrill
d83028566d
2007-10-14 Eric Norum <norume@aps.anl.gov>
...
* clock/clock.c: Add nanoseconds since tick support.
2007-10-16 17:14:24 +00:00
Joel Sherrill
0743eaed1c
2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
...
* Makefile.am, shared/can/occan.c, shared/include/ambapp.h: Add initial
i2c and update OC-CAN support.
* shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
2007-10-11 12:56:09 +00:00
Joel Sherrill
8a781ad7ee
2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
...
* Makefile.am, preinstall.am: Add initial i2c and update OC-CAN
support.
2007-10-11 12:56:03 +00:00
Joel Sherrill
dd7f59172c
2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
...
* Makefile.am, preinstall.am: Fixes bug in OC-CAN baud rate calculator.
The BTR1 8-bit value was swapped.
2007-10-11 12:54:50 +00:00
Glenn Humphrey
ba3e1a4faf
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-10 20:58:48 +00:00
Glenn Humphrey
d14963bf94
2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
...
* rtems.adb, rtems.ads: Cleaned up binding and removed bindings for
things that are not reasonable to do in Ada.
2007-10-10 20:46:33 +00:00
Joel Sherrill
c9274ae19a
2007-10-05 Ray Xu <xr@trasin.net>
...
* lpc22xx/clock/clockdrv.c, lpc22xx/irq/irq.c, lpc22xx/irq/irq.h: Now
runs in Skyeye.
2007-10-05 18:57:52 +00:00
Joel Sherrill
8da756e889
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-03 20:12:15 +00:00
Joel Sherrill
c309c6f158
2007-10-02 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
...
* startup/linkcmds: Move definition of _end so memory is not corrupted.
2007-10-02 13:54:03 +00:00
Joel Sherrill
23848bbd80
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-10-01 22:58:09 +00:00
Joel Sherrill
f10fe70731
2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems.adb, rtems.ads: Most of single processor Ada tests now build.
Some run.
2007-10-01 22:57:52 +00:00
Joel Sherrill
a29bf16b56
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libchip/shmdr/dump.c, libchip/shmdr/shm_driver.h: Fix warnings.
2007-09-25 21:34:43 +00:00
Joel Sherrill
21961089eb
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* nfsclient/Makefile.am: Fix errors.
2007-09-25 21:13:27 +00:00
Joel Sherrill
96eadec43e
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* nfsclient/Makefile.am, nfsclient/preinstall.am: Install libnfs.a.
2007-09-25 16:56:48 +00:00
Joel Sherrill
41783ffe2f
2007-09-24 Chris Johns <chrisj@rtems.org>
...
* include/bsp.h: Do not use C++ comments.
2007-09-24 21:40:54 +00:00
Chris Johns
263d3fc734
Remove C++ comment.
2007-09-24 02:35:07 +00:00
Joel Sherrill
2b985e795f
2007-09-21 Daniel Hellstrom <daniel@gaisler.com>
...
* shared/can/occan.c: Fix warning on Diab compiler.
2007-09-21 15:48:12 +00:00
Joel Sherrill
fe5ecbb692
2007-09-21 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* network_5200/network.c: Add multicast support.
2007-09-21 15:45:20 +00:00
Ralf Corsepius
90a51d8a49
2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* aclocal/version.m4: Bump RTEMS_API to 4.9.
Bump RTEMS_VERSION to 4.8.99.0.
2007-09-21 08:50:19 +00:00
Joel Sherrill
47ef320b5d
2007-09-20 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* preinstall.am: Add cplb.h.
* startup/bspstart.c: Add cast of constant.
2007-09-20 21:44:24 +00:00
Joel Sherrill
1966665da3
2007-09-20 Kate Feng <feng1@bnl.gov>
...
* network/if_100MHz/GT64260eth.c: Add else.
2007-09-20 16:34:42 +00:00
Joel Sherrill
b151f5bd50
2007-09-19 Daniel Hellstrom <daniel@gaisler.com>
...
* shared/can/occan.c: Fix Reenable command and fix typo.
2007-09-19 15:15:15 +00:00
Joel Sherrill
74a65e47ce
2007-09-19 Kate Feng <feng1@bnl.gov>
...
* README: Update.
2007-09-19 14:47:02 +00:00
Ralf Corsepius
dfa06c7f74
Regenerate.
2007-09-19 06:34:25 +00:00
Joel Sherrill
a3ae7d7a5f
2007-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* shared/1553/b1553brm.c, shared/can/grcan.c: Remove include of sched.h
2007-09-18 20:59:57 +00:00
Joel Sherrill
5ac8f13977
2007-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.inc.in: Add CXX and CXX_FOR_TARGET.
2007-09-18 17:55:35 +00:00
Joel Sherrill
52e4f35608
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* console/console.c, irq/irq_init.c: Eliminate warnings.
2007-09-17 14:15:14 +00:00
Joel Sherrill
b00e693a19
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libchip/network/smc91111.h: Eliminate DEBUG_puts.
2007-09-17 14:10:57 +00:00
Joel Sherrill
50f93fbbcb
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* PCI_bus/universe.c, console/console.c, include/bsp.h, irq/FPGA.c,
startup/bspstart.c, startup/genpvec.c, startup/spurious.c: Eliminate
DEBUG_puts.
2007-09-17 14:09:43 +00:00
Joel Sherrill
76e552d39b
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* console/console.c: Eliminate DEBUG_puts.
2007-09-17 14:09:32 +00:00
Ralf Corsepius
e7ef4c34ae
2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: Remove AC_PROG_AWK (Unused).
2007-09-16 05:55:40 +00:00
Joel Sherrill
28e56edebe
2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* network/GT64260eth.c, network/GT64260eth.h, network/GT64260ethreg.h: Removed.
2007-09-14 18:56:13 +00:00
Joel Sherrill
07e76b9b9e
2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* network/if_1GHz/if_wm.c, network/if_1GHz/pci_map.c: Remove a few
warnings.
2007-09-14 15:14:36 +00:00
Joel Sherrill
24af51c5e9
2007-09-14 Daron Chabot <djc915@mail.usask.ca>
...
* libchip/network/if_dc.c: Changed type of ISR argument to void* from
rtems_interrupt_vector, to permit passing arbitrary arguments to the
ISR. Clean up of variables to silence compiler warnings.
2007-09-14 14:58:23 +00:00
Joel Sherrill
324e311f85
2007-09-13 Daniel Hellstrom <daniel@gaisler.com>
...
* libchip/network/smc91111.c: Eliminate a stray DEBUG_puts().
2007-09-13 19:29:13 +00:00
Joel Sherrill
761449076d
2007-09-13 Daniel Hellstrom <daniel@gaisler.com>
...
* Makefile.am: Add smc91111.rel to libbsp.a
2007-09-13 19:26:24 +00:00
Joel Sherrill
21ca21996d
2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* configure.ac, startup/bspstart.c: Add BSP_DIRTY_MEMORY option.
2007-09-13 15:01:25 +00:00
Joel Sherrill
ee732739bf
2007-09-07 Kate Feng <feng1@bnl.gov>
...
* ChangeLog, Makefile.am, README, README.booting, README.irq,
preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c,
irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c,
pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S,
startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c,
startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c:
Merge my improvements in this BSP including a new network
driver for the 1GHz NIC.
* network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h,
network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am,
network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG,
network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h,
network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
2007-09-13 14:26:24 +00:00
Joel Sherrill
c85cf8ec38
2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* shared/spw/grspw.c: Remove include of sched.h. It does not appear to
be needed and is unavailable when POSIX is disabled.
2007-09-13 13:08:55 +00:00
Joel Sherrill
2a2b206ba3
2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
...
* libchip/network/smc91111.c, libchip/network/smc91111.h: Multiple fixes.
- Odd bit bug in some chips taken care of.
- Buggy ASSERT removed, it seem to be inserted to detect if MBUF data
alignment but failing to do so must have made the driver writer to make
some incorrect assumptions about MBUFs.
- Fixed MBUF handling to handle mbuf chains better. The Data length of
MBUFs in middle of the mbuf chain are now checked for odd number of bytes.
- Made while loop responsible for copying data to fifo port copy 16 shorts
per loop instead of 1 short, increasing the copying process.
2007-09-12 15:41:43 +00:00
Joel Sherrill
47b29ac00e
2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
...
* leon_smc91111/leon_smc91111.c: LEON2 SMC91111 initialization: PIO
Interrupt initialization fix and speed rate defaulted to 100Mbit/s
for boards with 50MHz system clock or greater now all defaults to
100Mbit/s
2007-09-12 15:39:42 +00:00
Joel Sherrill
7459fbf9f5
2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
...
* shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c:
Remove use of DEBUG_printf.
2007-09-12 15:38:57 +00:00
Joel Sherrill
3d7fa72bc2
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
...
PR 1257/bsps
* sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/score/cpu_asm.c,
sh7045/timer/timer.c, sh7750/score/cpu_asm.c, sh7750/timer/timer.c:
Code outside of cpukit should use the public API for
rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
2007-09-12 15:23:49 +00:00
Joel Sherrill
f93630db63
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
...
PR 1257/bsps
* mpc5xx/exceptions/raw_exception.c, mpc5xx/irq/irq.c,
mpc6xx/exceptions/raw_exception.c,
mpc8260/exceptions/raw_exception.c,
mpc8xx/exceptions/raw_exception.c, new-exceptions/raw_exception.c,
ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c: Code outside of cpukit
should use the public API for
rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
2007-09-12 15:23:44 +00:00
Joel Sherrill
23f19746d4
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
...
PR 1257/bsps
* at91rm9200/irq/irq.c, lpc22xx/irq/irq.c, mc9328mxl/irq/irq.c,
s3c2400/irq/irq.c: Code outside of cpukit should use the public API
for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
2007-09-12 15:23:30 +00:00
Joel Sherrill
802316852f
Fix entry.
2007-09-12 15:22:23 +00:00