Compare commits

...

335 Commits

Author SHA1 Message Date
Joel Sherrill
c29dc1f758 Upgrade to 4.9.3 2009-11-13 16:21:53 +00:00
Joel Sherrill
e9e5234b92 2009-11-11 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1471/cpukit
	* libmisc/cpuuse/cpuusagereport.c: Rework statement to ensure 64-bit
	multiplication is used to avoid overflow with intermediate value.
2009-11-11 16:27:56 +00:00
Ralf Corsepius
e067753e6d Regenerate. 2009-11-11 15:16:46 +00:00
Ralf Corsepius
c1a7a9e444 Bump GDB_RPMREL. 2009-11-11 15:16:08 +00:00
Ralf Corsepius
ed71047f5e gdb-6.8-rtems4.9-20091111.diff 2009-11-11 15:14:45 +00:00
Ralf Corsepius
3ba8469f7b New. 2009-11-11 15:13:58 +00:00
Ralf Corsepius
001b4e5a53 Rework system_readline hacks 2009-11-11 15:11:23 +00:00
Joel Sherrill
c73cab2813 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1468/cpukit
	* score/src/timespecdividebyinteger.c: Rework statement to ensure
	64-bit multiplication is used.
2009-11-10 23:29:55 +00:00
Joel Sherrill
bdf5417eaa 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c: Fine
	tune previous patch after analysis in application.
2009-11-10 23:27:01 +00:00
Till Straumann
9fb27e38c2 2009-11-09 Till Straumann <strauman@slac.stanford.edu>
PR 1469/cpukit
	* cpu.c: Add dummy entry for (non-existing) exception #15.
	Otherwise all slots for vectors >= 16 are one element off.
2009-11-10 04:03:39 +00:00
Joel Sherrill
f7c285e6ca 2009-10-30 Glenn Humphrey <glenn.humphrey@oarcorp.com>
PR pr1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
	rtems/src/ratemontimeout.c: Fix bugs in rate monotonic statistics.
2009-10-30 17:54:15 +00:00
Till Straumann
1c2ea24536 2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Bugfix. Broadcast address was declared
	uint8_t instead of uint8_t [8].
2009-10-20 17:13:54 +00:00
Joel Sherrill
fb557a90c7 2009-10-16 Jennifer Averett <jennifer@OARcorp.com>
* Makefile.am, configure.ac, preinstall.am, console/alloc360.c,
	console/config.c, console/console.c, console/m68360.h,
	console/mc68360_scc.c, console/rsPMCQ1.c, console/rsPMCQ1.h,
	include/bsp.h, irq/irq_init.c, irq/openpic_xxx_irq.c, start/start.S,
	startup/bspstart.c, startup/linkcmds, vme/VMEConfig.h:
        Updated and tested against RTEMS 4.9. Updated README file to latest
        source status. Modified to use the shared irq source code. Turned off
	debugging, cleaned up warnings, removed unused code. Tested with two
	PMCQ1 serial cards. Tested MC68360 serial ports and VME using
	external tests.
	* README, irq/irq.h, vme/vmeconfig.c: New files.
2009-10-16 16:42:03 +00:00
Joel Sherrill
af46ad9bde 2009-10-16 Jennifer Averett <jennifer@OARcorp.com>
* configure.ac: Default to having PSC8 mezzanine so code builds
	all the time.
	* startup/bspstart.c: Calibrated clock using an VMEBus controlled
	discrete pulsed at a 20ms rate.
2009-10-16 16:22:26 +00:00
Joel Sherrill
79df9d0473 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* mpc6xx/mmu/bat.c: Resolved bug: It is not an overlap if the batindex
	being set is the batindex of the overlap.
2009-10-16 16:12:42 +00:00
Joel Sherrill
17d5afe1c8 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* shared/include/io.h: Backport change from extern inline to static
	inline from head to avoid multiple definitions.
2009-10-16 16:11:31 +00:00
Joel Sherrill
77c103d606 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* startup/bspstart.c: Add bsp_clicks_per_usec.
2009-10-16 16:09:09 +00:00
Joel Sherrill
774aade601 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Correct type of rtems_malloc_dirty_helper so
	usable.
2009-10-15 18:56:17 +00:00
Joel Sherrill
9943fac266 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/malloc.h: Correct type of
	rtems_malloc_dirty_helper so usable.
2009-10-15 18:55:51 +00:00
Till Straumann
b7a6078a99 2009-10-13 Till Straumann <strauman@slac.stanford.edu>
PR 1451/bsps
	* network/tsec.c: Fix mbuf leak when watchdog expires. The
	re-initialization algorithm failed to release mbuf chains
	held in the TX ring.
	Also, during initialization the initial link status is determined
	and IFF_OACTIVE set if no active link was detected.
2009-10-14 00:14:08 +00:00
Ralf Corsepius
c4ad6185c6 Regenerate. 2009-09-23 16:41:27 +00:00
Ralf Corsepius
79c05a8cee New. 2009-09-23 16:38:51 +00:00
Ralf Corsepius
1afc7e05c2 Bump GDB_RPMREL. 2009-09-23 16:38:07 +00:00
Ralf Corsepius
81ddf5938d gdb-6.8-rtems4.9-20090923.diff 2009-09-23 16:37:46 +00:00
Ralf Corsepius
48569c7464 Regenerate. 2009-09-23 11:13:58 +00:00
Ralf Corsepius
002e4a4b34 Bump GDB_RPMREL. 2009-09-23 11:11:30 +00:00
Ralf Corsepius
a87e94df90 Sync with rtems-4.10. 2009-09-23 11:11:04 +00:00
Ralf Corsepius
209fadeaa5 Bump version. 2009-09-23 03:29:58 +00:00
Ralf Corsepius
6e81371002 Sync with rtems-4.10. 2009-09-23 03:29:15 +00:00
Ralf Corsepius
62af225355 Sync with rtems-4.10. 2009-09-23 03:27:24 +00:00
Till Straumann
51022e34d7 2009-09-15 Till Straumann <strauman@slac.stanford.edu>
PR 1344/bsps:
	* clock/ckinit.c: Fix more bugs (applied PR1344/attachment 702):
	TSC handler was used when 8254 was requested and vice versa.
	Also, nanosecond handler was never installed to RTEMS clock.
2009-09-16 00:03:35 +00:00
Ralf Corsepius
986f353e4a 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1441/cpukit
	* libcsupport/src/tcgetprgrp.c: Remove.
	* libcsupport/src/tcgetpgrp.c: New (Renamed from
	  libcsupport/src/tcgetprgrp.c).
	* libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c.
	  Remove libcsupport/src/tcgetprgrp.c.
2009-09-15 06:01:12 +00:00
cvs2git
ab514445be This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.
Cherrypick from master 2009-09-15 05:32:49 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2009-09-15	Ralf Corsépius <ralf.corsepius@rtems.org>':
    c/src/lib/libbsp/arm/gba/console/defaultfont.h
    c/src/lib/libbsp/arm/smdk2410/include/.cvsignore
    c/src/lib/libbsp/m68k/genmcf548x/include/.cvsignore
    c/src/lib/libbsp/m68k/mcf52235/include/.cvsignore
    c/src/lib/libbsp/m68k/mcf5329/include/.cvsignore
    c/src/lib/libbsp/mips/csb350/start/regs.h
    c/src/lib/libbsp/mips/genmongoosev/start/regs.h
    c/src/lib/libbsp/mips/hurricane/liblnk/regs.h
    c/src/lib/libbsp/mips/jmr3904/start/regs.h
    c/src/lib/libbsp/mips/rbtx4925/liblnk/regs.h
    c/src/lib/libbsp/mips/rbtx4938/liblnk/regs.h
    c/src/lib/libbsp/powerpc/mvme3100/include/.cvsignore
    c/src/lib/libbsp/powerpc/virtex/include/.cvsignore
    contrib/crossrpms/autotools/autoconf-sources.add
    contrib/crossrpms/autotools/automake-sources.add
    contrib/crossrpms/patches/gdb-6.5-bfinrtems-20090122.diff
    cpukit/libcsupport/src/tcgetpgrp.c
Cherrypick from master 2008-09-28 16:36:13 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New.':
    c/src/lib/libbsp/bare/preinstall.am
2009-09-15 05:32:51 +00:00
Till Straumann
689140e885 *** empty log message *** 2009-09-10 21:39:45 +00:00
Till Straumann
048459aeac 2009-09-10 Till Straumann <strauman@slac.stanford.edu>
* shared/misc/m68kidle.c: added "cc" clobber to inline
	asm; STOP instruction modifies CCR!
2009-09-10 21:20:22 +00:00
Joel Sherrill
ff79baf05f 2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/init.c, sp46/sp46.scn: Fix numbering.
2009-09-09 18:28:00 +00:00
Till Straumann
6597e5839f 2009-09-09 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Added dummy implementation of firmware
	syscalls for use with QEMU. Dummy handler is installed if no
	pre-existing firmware handler is found.
2009-09-09 14:17:10 +00:00
Ralf Corsepius
32b09a90f4 Regenerate. 2009-08-25 05:10:22 +00:00
Ralf Corsepius
038b1fe297 gcc-core-4.3.2-rtems4.9-20090825.diff 2009-08-25 05:09:13 +00:00
Ralf Corsepius
8f0d728900 Bump GCC_RPMREL. 2009-08-25 05:09:00 +00:00
Ralf Corsepius
c64da0b58a avr: Use _exit from newlib 2009-08-25 05:07:55 +00:00
Till Straumann
e8ac5d470e 2009-08-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	Fixed bugs in multicast support; added reference-count
	for hash-table entries which allows for the implementation
	of a 'deletion' routine.
	NOTE: mcast support largely untested.
2009-08-17 14:27:55 +00:00
Ralf Corsepius
8131a3d808 Remove centos-4, tighten up suse, move fedora-9 to centos-5. 2009-08-13 03:29:53 +00:00
Eric Norum
ac1d1bc44d Try enabling the data cache. 2009-07-30 15:48:52 +00:00
Eric Norum
9bfb3c61aa PR 1420/bsps
Turn on buffered writes to DRAM. As Device Errata SECF124 notes this may cause
double writes, but that's not really a big problem and benchmarking tests have
shown that buffered writes do gain some performance.
2009-07-28 19:29:44 +00:00
Ralf Corsepius
80e932432b Regenerate. 2009-07-26 05:56:46 +00:00
Ralf Corsepius
2dcd85d439 Set amvers to 1.10. 2009-07-26 05:56:34 +00:00
Ralf Corsepius
65db3bf822 Sync with rtems-4.10. 2009-07-26 05:11:31 +00:00
Ralf Corsepius
a42ad6379c Don't pass %{?dist} to *_RPM_REL 2009-07-26 05:07:00 +00:00
Ralf Corsepius
118d237d1b Remove. 2009-07-23 09:04:58 +00:00
Ralf Corsepius
80f2a8bca4 Abandon cpukit. 2009-07-23 09:03:07 +00:00
Ralf Corsepius
e808cbd2fc Abandon mingw32. 2009-07-23 09:02:30 +00:00
Ralf Corsepius
38433f53f1 Abandon cygwin, mingw. 2009-07-23 09:01:39 +00:00
Ralf Corsepius
feb6eb60fd Abandon cygwin. 2009-07-23 09:00:39 +00:00
Ralf Corsepius
41d5d5f84b Regenerate. 2009-07-23 08:59:22 +00:00
Ralf Corsepius
a227867dcf Update to newlib-1.16.0-rtems4.9-20090324.diff. 2009-07-23 08:58:59 +00:00
Ralf Corsepius
7f43bed02b Regenerate. 2009-07-23 08:52:26 +00:00
Ralf Corsepius
794e505157 Bump GCC_RPMREL. 2009-07-23 08:51:30 +00:00
Ralf Corsepius
a6a241ecf8 Sync. with rtems-4.10. 2009-07-23 08:45:20 +00:00
Ralf Corsepius
b1f73665d9 Regenerate. 2009-07-21 06:11:40 +00:00
Ralf Corsepius
4a5abe718b Sync with rtems-4.10. 2009-07-21 06:10:41 +00:00
Ralf Corsepius
e71a70665a Bump GDB_RPMREL. 2009-07-21 06:10:18 +00:00
Ralf Corsepius
64181ed2f2 New (Backport from rtems-4.10). 2009-07-21 06:00:05 +00:00
Ralf Corsepius
fb7962d741 Regenerate. 2009-07-21 03:24:18 +00:00
Ralf Corsepius
a9efdc6fde Sync with rtems-4.10. 2009-07-21 03:23:49 +00:00
Ralf Corsepius
cda3317f2b Remove. 2009-07-21 03:22:11 +00:00
Ralf Corsepius
0e7cd63c56 Bump GCC_RPMREL. 2009-07-20 07:49:38 +00:00
Ralf Corsepius
a9c3667f84 Regenerate. 2009-07-20 07:44:48 +00:00
Ralf Corsepius
3985708ff2 Sync with rtems-4.10. 2009-07-20 07:40:32 +00:00
Ralf Corsepius
a7fb589b96 Remove %{?dist} from BINUTILS_RPMREL. 2009-07-20 07:40:01 +00:00
Ralf Corsepius
52dfb3483c Update to gdb-6.8-rtems4.9-20090312.diff. 2009-07-20 07:38:35 +00:00
Ralf Corsepius
eceb1588dd Bump GDB_RPMREL. 2009-07-20 07:38:00 +00:00
Ralf Corsepius
1c6fd3a622 Sync with rtems-4.10 2009-07-20 07:37:06 +00:00
Ralf Corsepius
a181ab011d Regenerate. 2009-07-19 15:20:27 +00:00
Ralf Corsepius
1edb562d79 Bump BINUTILS_RPMREL. 2009-07-19 15:18:25 +00:00
Ralf Corsepius
98311ac7d5 Sync with CVS-HEAD. 2009-07-18 04:44:26 +00:00
Joel Sherrill
bfa85f9bb1 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Fix typos where semaphore referenced instead of region
	or segment.
2009-07-02 16:22:20 +00:00
Joel Sherrill
91c679226b 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/preface.texi: Correct list of supported CPU architectures.
2009-07-02 16:12:06 +00:00
Till Straumann
d267f07c14 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: silenced compiler warning.
2009-06-06 00:46:55 +00:00
Till Straumann
4488b88530 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	added multicast support.
2009-06-06 00:45:57 +00:00
Joel Sherrill
29e867d473 Add PR 1420. 2009-06-03 14:14:25 +00:00
Ralf Corsepius
05b388029f 2009-06-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/assoc.h,
	libcsupport/include/rtems/malloc.h: Add extern "C" {} guards.
	* libcsupport/include/rtems/libio_.h: Move extern "C" {} guards.
2009-06-03 03:40:16 +00:00
Ralf Corsepius
feefa108a4 Move extern "C" {} guards. 2009-06-03 03:40:06 +00:00
Ralf Corsepius
dda372da19 Add extern "C" {} guards. 2009-06-03 03:39:59 +00:00
Eric Norum
7920d156e0 As per Freescale chip errata, disable buffered writes. 2009-06-02 21:13:23 +00:00
Joel Sherrill
ee2e3a1038 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1415/cpukit
	* rtems/src/semcreate.c, rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl, score/src/coremutex.c:
	Address two paths where a task with a priority above the ceiling
	could obtain a priority ceiling mutex.
2009-05-28 20:38:22 +00:00
Joel Sherrill
ff6b3fe781 2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1413/cpukit
	* rtems/src/timerserver.c: Fix bug where server based timers which
	reinitiated themselves did not get reinserted onto timer chain.
2009-05-21 15:40:00 +00:00
Joel Sherrill
ecf2e42310 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S: Add shared
	interrupt support to i386.
2009-05-18 17:45:21 +00:00
Joel Sherrill
120f283805 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1412/cpukit
	* score/src/coremutex.c: Add missing braces. Broken with strict mutex
	code added.
2009-05-18 14:47:11 +00:00
Joel Sherrill
f7e4067f3c 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1411/cpukit
	* rtems/src/workspace.c, score/include/rtems/score/protectedheap.h,
	score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c: Improve
	workspace wrapper methods.
2009-05-13 16:48:22 +00:00
Joel Sherrill
b86d38e4e0 2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c, network/if_1GHz/POSSIBLEBUG: Removed.
2009-05-08 18:38:30 +00:00
Joel Sherrill
82948ea1b5 2009-05-08 Kate Feng <feng1@bnl.gov>
PR1395/bsps
	* Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
	* network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
	* pci/pci_interface.c:
	  + Enabled PCI "Read", "Read Line", and "Read Multiple"
	  +  Agressive Prefetch to improve the performance of the PCI based
	     applications (e.g. 1GHz NIC).
	* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
	register to monitor the cause of the level sensitive interrupts.
	This unique solution solves various bugs in the 1GHz network drivers
	Fixed bugs in compute_pic_masks_from_prio()
	* pci/pci.c : Updated it to be consistent with the original pci.c
	* written by Eric Valette.  There is no change in its function.
	* irq/irq_init.c : set defaultIrq->next_handler to be 0
	* for BSP_SHARED_HANDLER_SUPPORT.
2009-05-08 18:37:08 +00:00
Joel Sherrill
cf599996ba 2009-05-08 Kate Feng <feng1@bnl.gov>
PR1395/bsps
	* Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
	* network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
	* pci/pci_interface.c:
	  + Enabled PCI "Read", "Read Line", and "Read Multiple"
	  +  Agressive Prefetch to improve the performance of the PCI based
	     applications (e.g. 1GHz NIC).
	* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
	register to monitor the cause of the level sensitive interrupts.
	This unique solution solves various bugs in the 1GHz network drivers
	Fixed bugs in compute_pic_masks_from_prio()
	* pci/pci.c : Updated it to be consistent with the original pci.c
	* written by Eric Valette.  There is no change in its function.
	* irq/irq_init.c : set defaultIrq->next_handler to be 0
	* for BSP_SHARED_HANDLER_SUPPORT.
2009-05-08 18:22:51 +00:00
Joel Sherrill
ef3a82f655 2009-05-06 Michael Walle <michael@walle.cc>
PR 1409/bsps
	* gdbstub/rtems-stub-glue.c: Print object names correctly.
2009-05-06 14:16:20 +00:00
Jennifer Averett
8e230e6cba 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* new-exceptions/bspsupport/irq_supp.h: Split routine to allow bsps
	with nonstandard/non-existant pics to call with interrupts off.
2009-05-05 16:20:51 +00:00
Jennifer Averett
31a5ec8cb0 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, README, configure.ac, preinstall.am, PCI_bus/PCI.c,
	PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c,
	console/85c30.h, console/console.c, console/consolebsp.h,
	console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen2.h,
	include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h,
	irq/irq_init.c, start/start.S, startup/Hwr_init.c,
	startup/bspstart.c, timer/timer.c, tod/tod.c: Updated and tested with
	the latest powerpc isr source
	* irq/no_pic.c: New file.
	* irq/irq.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c: Removed.
2009-05-05 16:18:06 +00:00
Ralf Corsepius
56e12a173e Merge changes from CVS-HEAD addressing Fedora 11 rpm regressions. 2009-04-30 05:08:12 +00:00
Ralf Corsepius
58b52adbd1 Bump version. 2009-04-08 16:13:28 +00:00
Ralf Corsepius
26961759f1 Use mirrorlists. 2009-04-08 16:13:15 +00:00
Ralf Corsepius
b88d42431b Add rtems.eu 2009-04-07 09:25:21 +00:00
Ralf Corsepius
a81f210736 2009-04-02 Ralf Corsépius <ralfcorsepius@rtems.org>
* aclocal/check-rtems-debug.m4: Add missing ','.
2009-04-02 11:50:31 +00:00
Ralf Corsepius
df2afaee80 Backport from CVS-HEAD. 2009-03-30 05:53:04 +00:00
Ralf Corsepius
6be9bc0f28 Regenerate. 2009-03-24 05:15:07 +00:00
Ralf Corsepius
7b32a78efe Remove libc/machine/powerpc/times.c. 2009-03-24 05:14:33 +00:00
Ralf Corsepius
a70ea8027e newlib-1.16.0-rtems4.9-20090324.diff 2009-03-24 05:12:50 +00:00
Ralf Corsepius
6f0ad35745 Bump GCC_RPMREL. 2009-03-24 05:12:30 +00:00
Thomas Doerfler
596bcb6f10 * start/start.S, include/hwreg_vals.h, startup/cpuinit.c:
correct some init values for HSC_CM01 boards
2009-03-19 10:41:46 +00:00
Thomas Doerfler
273003877a * libblock/src/ide_part_table.c: Fixed NULL pointer access. 2009-03-19 10:20:10 +00:00
Joel Sherrill
4cbb5bf902 2009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>
PR 1378/filesystem
	* libfs/src/imfs/deviceio.c: IMFS device lseek should return the
	current offset.
2009-03-12 21:13:25 +00:00
Joel Sherrill
262ce0812c Upgrade to 4.9.2 2009-03-12 17:03:39 +00:00
Joel Sherrill
c51fd29987 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-03-12 15:43:15 +00:00
Joel Sherrill
ec25c62143 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
2009-03-12 15:34:38 +00:00
Joel Sherrill
d4311908c8 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1393/cpukit
	* posix/src/mutextranslatereturncode.c: Add entry to table for
	CORE_MUTEX_RELEASE_NOT_ORDER.
2009-03-12 15:32:09 +00:00
Joel Sherrill
ed7383d2c7 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* cpu_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.
2009-03-12 14:19:45 +00:00
Joel Sherrill
b38d27a939 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* mpc5xx/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.
2009-03-12 14:19:28 +00:00
Joel Sherrill
0ef82c8cfe 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.
2009-03-12 14:19:11 +00:00
Joel Sherrill
92ce6ac76d 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.
2009-03-12 14:17:29 +00:00
Joel Sherrill
952d8f718a 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* startup/exception.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.
2009-03-12 14:17:21 +00:00
Ralf Corsepius
1a813d50f5 Regenerate. 2009-03-12 09:48:47 +00:00
Ralf Corsepius
0d00cd53e1 Bump GDB_RPMREL. 2009-03-12 09:48:35 +00:00
Ralf Corsepius
46b86ddd5e gdb-6.8-rtems4.9-20090312.diff 2009-03-12 09:48:17 +00:00
Ralf Corsepius
30a4480fa5 Add psim/configure. 2009-03-12 09:47:45 +00:00
Ralf Corsepius
f6a237b1ec Sync w/ cvs-head. 2009-03-12 09:45:33 +00:00
Joel Sherrill
9cb3851b7d 2009-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Added missing include.
2009-03-09 17:00:40 +00:00
Joel Sherrill
199db78eed 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>
PR 1391/bsps
	* startup/spurious.c: Format was %d but had leading 0x.
2009-03-09 16:53:45 +00:00
Joel Sherrill
a816fcf174 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/tm27.h: Add include rtems/powerpc/powerpc.h
2009-03-09 16:26:55 +00:00
Joel Sherrill
64504e971d 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1376/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/dosfs/fat_file.c,
	libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/imfs/deviceio.c,
	libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c,
	libfs/src/imfs/memfile.c, libfs/src/nfsclient/src/nfs.c: lseek
	handlers should return off_t.
2009-03-09 14:12:58 +00:00
Eric Norum
c933a3d6b9 Clean up mishaps arising from multiple folks trying to fix the same problem.
This version matches the trunk.
2009-03-05 22:43:24 +00:00
Till Straumann
8cb4b08aea 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed legacy code (inherited
	from old mvme2307 BSP) -- for testing trapping into
	PPCBug -- which is irrelevant on this BSP.
	Removed warning about SPRG0 having been reassigned
	-- this BSP is OK.
2009-03-05 21:20:59 +00:00
Till Straumann
dec6367305 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* bootcard.c: use aligned heap_start (instead of
	original heap_start) when calculating default heap
	size (to take into account loss due to alignment).
2009-03-05 21:11:36 +00:00
Thomas Doerfler
f1f7563ae8 * shared/clock/clock.c: Standard decrementer exception is now more
robust against erroneous external exception disable times.
2009-03-05 13:45:57 +00:00
Joel Sherrill
cb54e10686 2009-03-02 Till Straumann <strauman@slac.stanford.edu>
PR 1375/bsps
	* clock/clock.c: Correct implementation of nanoseconds since last tick
	handler.
2009-03-02 18:57:20 +00:00
Joel Sherrill
73d1f0799f 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>
PR 1390/bsps
	* startup/linkcmds: Fix sections so C++ global constructors and
	destructors work with late model (>= 4.3) gcc versions.
2009-03-02 17:28:45 +00:00
Joel Sherrill
beda88f83c 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* cdtest/main.cc: Use printk() in global destructors since printf() no
	longer works.
2009-03-02 17:28:35 +00:00
Joel Sherrill
66c25d4e07 2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
	* include/bsp.h: Switch to English comments.
2009-03-02 17:03:05 +00:00
Joel Sherrill
15fa865c29 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* sp09/screen05.c, sp09/screen09.c, sp09/sp09.scn: Classic Semaphores
	allow both priority inherit and ceiling attributes to be set on
	semaphore create. These attributes are mutually exclusive and this
	should be an error.
2009-03-02 16:13:08 +00:00
Joel Sherrill
fe91be3678 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
	and ceiling attributes to be set on semaphore create. These
	attributes are mutually exclusive and this should be an error.
2009-03-02 16:13:00 +00:00
Joel Sherrill
dc5da2289c 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove unnecessary copy of cpu_asm.S
	* console/Modif_cpu_asm.S: Removed.
2009-02-27 19:20:41 +00:00
Joel Sherrill
108a2e7421 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1387/doc
	* user/intr.t: Add Interrupt Manager services to list of services
	callable from ISR.
2009-02-27 16:02:34 +00:00
Joel Sherrill
432ddefbcd 2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps
	* shared/start.S: Stack space not correctly initialized. Causes
	failures on unoptimized applications.
2009-02-27 15:33:16 +00:00
Joel Sherrill
06ff7d223c 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* network/network.c: mvme167 network driver buggy.
2009-02-17 18:37:14 +00:00
Joel Sherrill
3017689211 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* custom/mvme167.cfg: mvme167 needs to convert ELF -> pure binary RALF.
2009-02-17 18:35:15 +00:00
Joel Sherrill
c8dcab1e75 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1370/bsps
	* console/console.c: mvme167 console driver BSP_output_char fails to
	convert \n -> \n\r
2009-02-17 18:32:44 +00:00
Joel Sherrill
35c7648e9d 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1377/shell
	* libmisc/shell/main_netstats.c: Remove #if 0 which should not have
	been there anyway.
2009-02-17 15:09:50 +00:00
Joel Sherrill
5e1fd51c99 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/uC5282.cfg: Add cvs Id.
2009-02-17 14:37:23 +00:00
Joel Sherrill
89e2082c24 2009-02-11 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1374/misc
	* libmisc/stackchk/check.c: Fix printk formatting string.
2009-02-11 19:34:27 +00:00
Joel Sherrill
07d8cc542f 2009-02-11 Matt Rippa <mrippa@gemini.edu>
PR 1352/bsps
	* shared/console/reboot.c, shared/motorola/motorola.c: Include support
	for mvme2600/mvme2700.
2009-02-11 16:37:14 +00:00
Joel Sherrill
9c266d2d82 2009-02-11 Till Straumann <strauman@slac.stanford.edu>
PR 1369/bsps
	* Makefile.am, configure.ac: Fix name clashes when using MC68040 fpsp
	floating-point emulation.
2009-02-11 16:20:10 +00:00
Ralf Corsepius
00ac31c43c 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove stray % from '*startfile:' having crept in
	previous patch.
2009-02-11 07:25:48 +00:00
Ralf Corsepius
6cd53b29ea Sync with CVS-HEAD. 2009-02-07 09:26:19 +00:00
Ralf Corsepius
bdf53bd4c8 Regenerate. 2009-02-07 09:22:02 +00:00
Ralf Corsepius
c8d8a706dd Add NEWLIB_PKGVERS, NEWLIB_RPMREL. 2009-02-07 09:16:48 +00:00
Ralf Corsepius
8ec3c96cf9 Bump GCC_RPMREL.
Add NEWLIB_PKGVERS, NEWLIB_RPMREL.
2009-02-07 09:16:16 +00:00
Ralf Corsepius
58a6716bd4 newlib-1.16.0-rtems4.9-20090207.diff 2009-02-07 09:15:24 +00:00
Ralf Corsepius
deb0a5a365 Remove newlib/libc/include/sched.h. 2009-02-07 08:56:59 +00:00
Ralf Corsepius
5e7c1849be 2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Change SIX_MONTHS to time_t.
2009-02-05 05:22:38 +00:00
Thomas Doerfler
8ffe14563e * libnetworking/lib/ftpfs.c: Enable write and mount filesystem
with read-write access.
2009-02-04 17:14:06 +00:00
Ralf Corsepius
a039f846db 2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_ppp.h: Eliminate pppattach,  pppintr
	  (Unused).
	* libnetworking/net/if_ppp.c: Eliminate pppintr (Unused).
2009-02-04 15:53:04 +00:00
Ralf Corsepius
3ee0c3646b Eliminate pppintr (Unused). 2009-02-04 15:52:55 +00:00
Ralf Corsepius
7d365f6f5c Eliminate pppattach, pppintr (Unused). 2009-02-04 15:52:41 +00:00
Joel Sherrill
9ae7cd5237 2009-01-29 Nickolay Semyonov-Kolchin <nbkolchin@gmail.com>
PR 1359/cpukit
	* libcsupport/src/libio.c: rtems_libio_allocate:
	rtems_libio_iop_freelist incorrectly zeroed on semaphore error. Now
	checks error and does not modify anything until sure it has created
	semaphore.
2009-01-29 17:18:50 +00:00
Joel Sherrill
16bb8afbb1 2009-01-29 Gene Smith <gene.smith@siemens.com>
PR 1363/filesystem
	* libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
	correctly in FAT f/s data.
2009-01-29 16:13:17 +00:00
Joel Sherrill
1813d94c7a 2009-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Clarify interrupt transmit process.
	* user/concepts.t: Typo.
2009-01-29 14:57:28 +00:00
Joel Sherrill
897a86c454 2009-01-29 Eric Norum <norume@aps.anl.gov>
PR 1364/cpukit
	* libcsupport/src/gxx_wrappers.c: Fix compilation problems when
	diagnostics enabled.
2009-01-29 14:32:51 +00:00
Joel Sherrill
0e2f369c0e 2009-01-21 Nickolay Kolchin <nbkolchin@gmail.com>
Joel Sherrill <joel.sherrill@oarcorp.com>

	PR 1357/cpukit
	* rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
2009-01-21 20:48:07 +00:00
Joel Sherrill
10fca441e0 2009-01-21 Frank Ueberschar <frank.ueberschar@dsa-volgmann.de>
PR 1354/bsps
	* network/network.c: In some cases it can occur that an empty mbuf is
	put on the descriptor chain. (We found it especially then when
	transmitting fragmented IP Packets.) Since the actual buffer
	descriptor pointer will be incremented after every inserted mbuf
	(txBd = sc->txBdBase + sc->txBdHead;) even if m->m_len of the current
	mbuf was zero. This leads to the bug.
2009-01-21 18:18:19 +00:00
Joel Sherrill
3a7df182ef 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.
2009-01-21 18:07:31 +00:00
Joel Sherrill
06c12dd640 2009-01-21 Eric Norum <norume@aps.anl.gov>
PR 1358/bsps
	* clock/clock.c: Fix time-access bug in uc5282 BSP.
2009-01-21 16:49:56 +00:00
Ralf Corsepius
8594dc78d4 Bump GCC_RPMREL. 2009-01-21 15:26:50 +00:00
Ralf Corsepius
a7a8491dc0 Bump BINUTILS_RPMREL. 2009-01-21 12:19:03 +00:00
Ralf Corsepius
91a3c19bae Bump RPMREL. 2009-01-21 12:16:32 +00:00
Ralf Corsepius
7ad3289ab9 Regenerate. 2009-01-20 16:33:34 +00:00
Ralf Corsepius
4196eb67d8 Bump GDB_RPMREL. 2009-01-20 16:31:01 +00:00
Ralf Corsepius
de0575287e Sync with CVS-HEAD. 2009-01-20 16:29:13 +00:00
Joel Sherrill
b7a265496f 2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1350/bsps
	* network/lan91c11x.c: Do not write 65th element into 64 element array.
2009-01-06 16:26:42 +00:00
Joel Sherrill
8b6a056056 2009-01-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1351/cpukit
	* sapi/include/confdefs.h: Mask off unlimited object bit before using
	configured number in calculations.
2009-01-05 20:15:51 +00:00
Ralf Corsepius
eb63fa523d 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/src/aio_suspend.c: Make aio_suspend()
	POSIX-compliant.
2009-01-02 09:53:24 +00:00
Ralf Corsepius
08fb27cc41 Make aio_suspend() POSIX-compliant. 2009-01-02 09:53:09 +00:00
Joel Sherrill
44cec3c504 2008-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* index.html.in: Remove dead manual references.
2008-12-19 17:52:20 +00:00
Joel Sherrill
d65c2b19ec 2008-12-18 Michael Hamel <nigel@adi.co.nz>
PR 1349/bsps
	* startup/bspstart.c: Add missing volatile on UART access pointer.
2008-12-18 18:51:49 +00:00
Ralf Corsepius
757e3465a2 Regenerate. 2008-12-14 05:28:55 +00:00
Ralf Corsepius
26dd59099b GCC_RPMREL = 18%{?dist}. 2008-12-14 05:27:39 +00:00
Ralf Corsepius
09a43cb2ea Activate c++. 2008-12-14 05:26:45 +00:00
Ralf Corsepius
7f93a2a271 Abandon gcc-4.3.1.
newlib-1.16.0-rtems4.9-20081203.diff
gcc-core-4.3.2-rtems4.9-20081214.diff.
2008-12-14 05:26:06 +00:00
Ralf Corsepius
5068408333 Remove rs6000 MULTILIB_EXTRA_OPTS. 2008-12-14 05:24:15 +00:00
Ralf Corsepius
40e91555b4 Regenerate. 2008-12-14 04:38:16 +00:00
Ralf Corsepius
112b0108c9 binutils-2.19. 2008-12-14 04:37:35 +00:00
Joel Sherrill
25f00a9a1f Upgrade to 4.9.1 2008-12-12 15:30:44 +00:00
Joel Sherrill
b86eb32e1a 2008-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Malloc Family is not implemented in termios of Region
	Manager after 4.7. Correct documentation.
2008-12-12 14:48:49 +00:00
Joel Sherrill
f4b6dc0373 2008-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Remove size constraints on image. Fix a
	sentence.
2008-12-12 14:03:28 +00:00
Joel Sherrill
47eab0ac22 2008-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrrill <joel.sherrill@oarcorp.com>

	* bsp_howto/Makefile.am, bsp_howto/console.t: Sebastian improved
	 documentation for termios device drivers.
	* bsp_howto/TERMIOSFlow.eps, bsp_howto/TERMIOSFlow.png: New files.
	Joel added Termios Flow figure from RTEMS Open Class material.
2008-12-11 15:50:02 +00:00
Ralf Corsepius
24df6ddfb4 2008-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/bdbuf.c: Fix typo having crept in during
	  boolean->bool transition.
2008-12-09 14:44:16 +00:00
Ralf Corsepius
71ae507b76 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
	* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
2008-12-08 13:14:38 +00:00
Ralf Corsepius
3f6ffa3788 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
2008-12-08 13:11:40 +00:00
Ralf Corsepius
2212e3f145 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
	* librpc/include/rpc/rpcent.h: #include <rpc/types.h>.
	* librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
2008-12-08 11:19:59 +00:00
Ralf Corsepius
c608efb2dc 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Backport from CVS-HEAD.
2008-12-08 05:16:05 +00:00
Joel Sherrill
4f511b8c4d 2008-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-shared, runtest-bottom: Tidy up more bugs.
2008-12-05 21:59:58 +00:00
Joel Sherrill
aaf9273810 2008-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/sp46.scn: New file.
2008-12-05 18:18:23 +00:00
Ralf Corsepius
a1abe18a5a Update. 2008-12-05 08:34:16 +00:00
Ralf Corsepius
538c88e5be Regenerate. 2008-12-05 08:33:35 +00:00
Ralf Corsepius
c27b30db86 Bump GCC_RPMREL. 2008-12-05 08:33:23 +00:00
Ralf Corsepius
9d146ecc36 Make c99 io default.
Add prototype for ttyname_t.
2008-12-05 08:27:08 +00:00
Ralf Corsepius
b72be3b16f gcc/config/rs6000/t-rtems: Fix silly typo.
gcc/config/arm/rtems-elf.h: Undefine LINK_GCC_C_SEQUENCE_SPEC.
2008-12-05 08:26:25 +00:00
Joel Sherrill
deed2a08f6 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared,
	psim-top.in: Clean up and works better. Uses argv[0] to override
	configured target name.
2008-12-04 20:27:35 +00:00
Joel Sherrill
b6e3a7e26d 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1344/bsps
	* clock/ckinit.c: Committed code was not final. Corrections.
2008-12-04 17:57:26 +00:00
Joel Sherrill
b48cfa94ae 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-bottom, psim-gdb-bottom, psim-shared, psim-top.in: Add ability
	to force psim configuration to include System V IPC devices even when
	the test does not appear to be multiprocessing. This is used by some
	RTEMS application developers for system simulation and could be used
	to simulate a framebuffer if a UNIX process mirrored the buffer.
2008-12-04 17:18:51 +00:00
Joel Sherrill
912488de67 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
	* rtems/src/ratemonperiod.c: Properly handle period statistics after
	cpu usage information is reset while a period is running.
2008-12-04 15:58:08 +00:00
Joel Sherrill
d377e68648 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
	* Makefile.am, configure.ac: Add test of special case of resetting cpu
	usage information while a period is running.
	* sp46/.cvsignore, sp46/Makefile.am, sp46/init.c, sp46/sp46.doc: New
	files.
2008-12-04 15:57:21 +00:00
Joel Sherrill
7dbdb91172 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* sp45/init.c: New file.
2008-12-03 21:36:18 +00:00
Joel Sherrill
37ac61f03a 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* rtems/include/rtems/rtems/timer.h, rtems/src/rtemstimer.c,
	rtems/src/timerreset.c, rtems/src/timerserver.c,
	rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c,
	score/Makefile.am, score/include/rtems/score/watchdog.h: Rework Timer
	Server to ensure that the context allows for blocking, allocating
	memory, and acquiring semaphores and mutexes.
	* score/src/watchdogadjusttochain.c: New file.
2008-12-03 21:01:09 +00:00
Joel Sherrill
58b727f6b0 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* Makefile.am, configure.ac, sp30/resume.c, sp30/task1.c, sp31/delay.c:
	Rework Timer Server to ensure that the context allows for blocking,
	allocating memory, and acquiring semaphores and mutexes.
	* sp45/.cvsignore, sp45/Makefile.am, sp45/sp45.doc, sp45/sp45.scn:
	New files.
2008-12-03 21:00:35 +00:00
Joel Sherrill
22629eeaa6 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1346/cpukit
	* rtems/include/rtems/rtems/ratemon.h: Sense of rate monotonic
	statistics nanoseconds or ticks granularity conditional is backwards.
2008-12-03 19:03:53 +00:00
Joel Sherrill
c6016f15d6 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
Michael South <msouth@msouth.org>

	PR 1344/bsps
	* cpuModel.h: Add use of TSC for nanoseconds granularity. i8254 is very
	slow on some systems. TSC use is auto-detected by default.
2008-12-03 17:29:13 +00:00
Joel Sherrill
dcbc0a89c2 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
Michael South <msouth@msouth.org>

	PR 1344/bsps
	* configure.ac, clock/ckinit.c, timer/timer.c: Add use of TSC for
	nanoseconds granularity. i8254 is very slow on some systems. TSC use
	is auto-detected by default.
2008-12-03 17:28:30 +00:00
Joel Sherrill
5fe1335662 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-12-03 16:38:00 +00:00
Joel Sherrill
15d26f98e6 2008-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/ttyname.c: Correct prototype of ttyname_r() to use
	size_t for third parameter.
2008-12-02 18:51:09 +00:00
Joel Sherrill
dedb922940 2008-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/main_cp.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Add #define
	__need_getopt_newlib to enable getopt_r() support in newlib as
	required by 4.10 toolset.
2008-12-02 18:50:43 +00:00
Joel Sherrill
02ac910cfc 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/datatypes.t: Add C99 uint types.
2008-12-01 16:06:43 +00:00
Joel Sherrill
cb6c660501 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Id has four parts not three.
2008-12-01 15:31:25 +00:00
Joel Sherrill
f82452b0ee 2008-11-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1341/cpukit
	* sapi/include/confdefs.h: The following macros were missing
	the _Configure_From_workspace() wrapper on their size estimate:
	  + CONFIGURE_INTERRUPT_STACK_MEMORY
	  + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API
	  + CONFIGURE_INTERRUPT_VECTOR_TABLE
	  + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS
	In addition, there was a duplicate definition of
	CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
2008-11-24 19:48:59 +00:00
Joel Sherrill
cc107c9cb2 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1340/cpukit
	* user/chains.t: Add rtems_chain_initialize to public chain API.
2008-11-20 21:11:43 +00:00
Joel Sherrill
74e8ad7cb5 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1340/cpukit
	* sapi/inline/rtems/chain.inl: Add rtems_chain_initialize to public
	chain API.
2008-11-20 21:11:38 +00:00
Joel Sherrill
0061512710 2008-11-20 Daron Chabot <daronchabot@gmail.com>
PR 1337/bsps
	* custom/pc386.cfg: Stripping .rodata section produces unusable
	executables for the i386-rtems target.
2008-11-20 15:26:51 +00:00
Joel Sherrill
21b1d51d58 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1339/Ada
	* user/io.t: Re-add IO Manager to Ada binding.
2008-11-20 15:22:29 +00:00
Joel Sherrill
f040148763 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1339/Ada
	* rtems.adb, rtems.ads: Re-add IO Manager to Ada binding.
2008-11-20 15:14:42 +00:00
Ralf Corsepius
73b019a066 Update. 2008-11-19 03:10:36 +00:00
Thomas Doerfler
eb32e3a386 include/bsp.h, include/hwreg_vals.h, network/network.c:
correct some init values for HSC_CM01 boards
change strategy to determine MAC address
2008-11-18 11:36:28 +00:00
Thomas Doerfler
d65b2da6cf libchip/serial/ns16550.c: Transmit the character in the polled write
function within a critical section for printk() compatibility.
2008-11-18 11:28:53 +00:00
Thomas Doerfler
2fafea29f9 console/console.c: Update for new NS16550 polled write function. 2008-11-18 11:28:04 +00:00
Joel Sherrill
906dd572fb 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
	* sapi/inline/rtems/chain.inl: Add rtems_chain_prepend_unprotected and
	rtems_chain_append_unprotected.
2008-11-13 15:10:24 +00:00
Joel Sherrill
b8b0920874 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
	* user/chains.t, user/dirstat.texi: Add rtems_chain_prepend_unprotected
	and rtems_chain_append_unprotected.
2008-11-13 15:10:15 +00:00
Ralf Corsepius
ea4cf27769 Regenerate. 2008-11-10 14:37:40 +00:00
Ralf Corsepius
d414399d87 Regenerate. 2008-11-10 14:33:26 +00:00
Ralf Corsepius
430c0f6d9b Bump GCC_RPMREL. 2008-11-10 14:32:26 +00:00
Ralf Corsepius
55666f5458 Sync with CVS-HEAD. 2008-11-10 13:06:03 +00:00
Ralf Corsepius
11c9109d80 Regenerate. 2008-11-08 03:25:35 +00:00
Ralf Corsepius
e5c9d674d0 Bump BINUTILS_RPMREL. 2008-11-08 03:25:13 +00:00
Joel Sherrill
a76b99ebb0 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Use 32 bit version centered.
2008-11-07 20:16:31 +00:00
Joel Sherrill
7f843f201a 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* ada_user/Makefile.am: Make Ada manual build again after adding
	figure.
2008-11-07 18:58:13 +00:00
Ralf Corsepius
eaa5811507 Import changes from HEAD. 2008-11-07 03:18:23 +00:00
Ralf Corsepius
d3ae4470ac Sync with CVS-HEAD. 2008-11-06 07:36:41 +00:00
Ralf Corsepius
6fd1e6920a Remove cpukit (Unsupported). 2008-11-06 07:31:58 +00:00
Ralf Corsepius
7d3548a154 Remove (Unsupported). 2008-11-06 07:29:45 +00:00
Ralf Corsepius
e4bfb0b8e8 Abandon freebsd7.0 2008-11-05 16:28:29 +00:00
Ralf Corsepius
353014adff Abandon solaris2.7 2008-11-05 16:23:02 +00:00
Till Straumann
fadb4a76b9 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
	only from 'firstOpen' and only if this is a serial console.
2008-11-03 21:08:49 +00:00
Till Straumann
160e8fb59a 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
	only from 'firstOpen' and only if this is a serial console.
2008-11-03 20:56:02 +00:00
Till Straumann
8667514854 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/linkcmds: increased size of CODE memory
	area.
2008-11-03 20:35:51 +00:00
Till Straumann
3d15f1b209 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c, shared/startup/sbrk.c:
	Fixed PR#1335. Pass initial starting address to heap
	initialization to avoid 1st 'sbrk'. User may now define
	'BSP_sbrk_policy' variable (see sbrk.c) to tune behavior.
2008-11-03 19:58:43 +00:00
Joel Sherrill
d12091dc9d 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1334/doc
	* user/Makefile.am, user/concepts.t, user/init.t, user/overview.t,
	user/part.t, user/task.t: Correct typos and correctly document 4
	parts of 32-bit object id.
	* user/ObjectId-32Bits.eps, user/ObjectId-32Bits.png: New files.
2008-11-03 19:02:25 +00:00
Joel Sherrill
421d76d763 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1333/cpukit
	* libcsupport/include/rtems/termiostypes.h: Typo on type name -- should
	be rtems_device_minor_number.
2008-11-03 15:35:04 +00:00
Ralf Corsepius
2733f94506 Add %sysdir %{_prefix} to cater rpm5. 2008-10-28 22:10:09 +00:00
Ralf Corsepius
349ca0c56f Sync with HEAD. 2008-10-24 06:57:08 +00:00
Eric Norum
83e392b463 Reset card on RTEMS shutdown. 2008-10-23 13:45:55 +00:00
Thomas Doerfler
daad59a453 removed orphaned spi/mc68360_spidrv.c 2008-10-21 20:03:25 +00:00
Ralf Corsepius
1424cc452d Bump AUTOCONF_RPMREL, AUTOMAKE_RPMREL. 2008-10-16 13:57:37 +00:00
Ralf Corsepius
404e331f96 New. 2008-10-16 13:56:24 +00:00
Ralf Corsepius
283a60d0e9 Backport from CVS-HEAD. 2008-10-16 13:55:14 +00:00
Joel Sherrill
9811aabe56 2008-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1331/networking
	* libmisc/shell/shell.c, telnetd/check_passwd.c, telnetd/telnetd.c,
	telnetd/telnetd.h: Improve comments and explanation of options to
	rtems_telnetd_initialize. Add extra newline to login sequence from
	shell.
2008-10-15 17:38:12 +00:00
Joel Sherrill
c08349a85a 2008-10-14 Tim Cussins <timcussins@eml.cc>
PR 1330/cpukit
	* libcsupport/src/free.c: Should print begin field not start field.
2008-10-14 16:09:47 +00:00
Joel Sherrill
127d0a448f 2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove unused file.
	* pci/no_host_bridge.c: Removed.
2008-10-03 16:29:13 +00:00
Joel Sherrill
91a1e2ee83 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Regenerated.
2008-10-02 21:40:30 +00:00
Joel Sherrill
53fec8538d 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: bsp_cleanup() was wrong. Use stub. openpic.h not needed.
	* startup/bspclean.c: Removed.
2008-10-02 19:49:15 +00:00
Joel Sherrill
9b643f71cb 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/init68360.c: Delete unused code.
2008-10-02 19:46:58 +00:00
Joel Sherrill
b9ae23a01f 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1329/bsps
	* network_5200/network.c: Eliminate use of boolean so this compiles.
2008-10-02 14:12:06 +00:00
Thomas Doerfler
4d6ad9e2ad switch to decrementer clock driver
add U-Boot support
remove dead code
adjust console clock routing
fix CPIC interrupts
2008-10-02 12:43:10 +00:00
Thomas Doerfler
224a429bcb adapt timebase macros to support MPC8xx again 2008-10-02 12:41:56 +00:00
Joel Sherrill
e1efd54506 2008-10-01 Gene Smith <gene.smith@siemens.com>
PR 1328/cpukit
	* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fix printing
	of more than 256 bytes.
2008-10-01 20:07:09 +00:00
Ralf Corsepius
4566e9c1e6 2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
        * aclocal/check-bsps.m4: Adopt icecube changes from CVS-HEAD.
2008-10-01 01:16:55 +00:00
Joel Sherrill
978eba36bf 2008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am, PCI_bus/universe.c, console/console.c,
	include/bsp.h, irq/FPGA.c, irq/irq.c, startup/Hwr_init.c,
	startup/bspstart.c, startup/vmeintr.c: Modifications required to run
	on hardware. Some cleanup.
	* include/irq-config.h: New file.
	* startup/spurious.c: Removed.
2008-09-30 23:17:15 +00:00
Joel Sherrill
db6e1f55b0 2008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>
* custom/score603e.cfg: Modifications required to run on hardware. Some
	cleanup.
2008-09-30 23:16:37 +00:00
Joel Sherrill
67c191b268 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate uses of old benchmark timer names.
2008-09-30 16:28:39 +00:00
Joel Sherrill
fcb90b6381 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/tm27.h: Do not use set_vector.
2008-09-30 16:27:41 +00:00
Joel Sherrill
46d17c9114 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/timer.t: Eliminate uses of old benchmark timer names.
2008-09-30 16:27:30 +00:00
Ralf Corsepius
5526734916 2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* start/startfor340only.S: Remove (unused).
2008-09-30 16:22:34 +00:00
Ralf Corsepius
04b38ae038 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-30 04:35:31 +00:00
Joel Sherrill
3b1a322ee1 2008-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/timer_driver.adb, support/timer_driver.ads,
	tmtests/tm01/tmtest.adb, tmtests/tm02/tmtest.adb,
	tmtests/tm03/tmtest.adb, tmtests/tm04/tmtest.adb,
	tmtests/tm05/tmtest.adb, tmtests/tm06/tmtest.adb,
	tmtests/tm07/tmtest.adb, tmtests/tm08/tmtest.adb,
	tmtests/tm09/tmtest.adb, tmtests/tm10/tmtest.adb,
	tmtests/tm11/tmtest.adb, tmtests/tm12/tmtest.adb,
	tmtests/tm13/tmtest.adb, tmtests/tm14/tmtest.adb,
	tmtests/tm15/tmtest.adb, tmtests/tm16/tmtest.adb,
	tmtests/tm17/tmtest.adb, tmtests/tm18/tmtest.adb,
	tmtests/tm19/tmtest.adb, tmtests/tm20/config.h,
	tmtests/tm20/tmtest.adb, tmtests/tm21/tmtest.adb,
	tmtests/tm22/tmtest.adb, tmtests/tm23/tmtest.adb,
	tmtests/tm24/tmtest.adb, tmtests/tm25/tmtest.adb,
	tmtests/tm28/tmtest.adb, tmtests/tm29/tmtest.adb,
	tmtests/tmck/tmtest.adb, tmtests/tmoverhd/tmtest.adb: Clean up.
	Verified to run on psim with gcc 4.3.2.
2008-09-29 20:44:38 +00:00
Ralf Corsepius
e606ce0d44 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Renamed into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:31:03 +00:00
Ralf Corsepius
366c2b650f 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Rename into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:29:58 +00:00
Ralf Corsepius
8d9c428ce1 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* start/regs.S: Remove (Renamed into start/regs.h).
        * start/regs.h: New (Renamed from start/regs.S).
        * Makefile.am, start/start.S: Reflect renamer.
2008-09-29 13:25:38 +00:00
Ralf Corsepius
25c0236eb5 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Renamed into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:23:51 +00:00
Ralf Corsepius
7be8d6b95c 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove noinst_PROGRAMS (Unused).
2008-09-29 01:48:04 +00:00
Ralf Corsepius
53fe0ffe4b 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Cleanup.
2008-09-29 01:07:28 +00:00
Joel Sherrill
87b88cefa2 2008-09-26 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1316/cpukit
	* score/src/coremsgbroadcast.c: Give error when message is too large
	like when sending a message. This was the documented behavior.
2008-09-26 19:24:15 +00:00
Eric Norum
879e252a07 Let TCP/IP stack pick port rather than hard coding selection. Correction of 2008-09-23. 2008-09-26 14:40:17 +00:00
Joel Sherrill
e011297968 2008-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* setup.def, started/buildc.t: Update versions and patches.
2008-09-25 21:50:33 +00:00
Joel Sherrill
7cb4ce5e53 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Regenerated.
2008-09-24 17:16:13 +00:00
Joel Sherrill
564dfa32bd 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: Bump rtems_api to 4.9.
2008-09-24 17:13:41 +00:00
Joel Sherrill
8c8146e3a3 Upgrade to 4.9.0 2008-09-24 17:12:19 +00:00
Joel Sherrill
a9546aaf52 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1326/cpukit
	* libi2c/libi2c.c: Use int for return value when negative values
	possible.
2008-09-24 14:31:37 +00:00
Joel Sherrill
8f60862612 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
	* aclocal/check-bsps.m4: Add missing icecube.
2008-09-24 14:07:51 +00:00
Ralf Corsepius
734e6f6fb3 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
	  comparision of unsigned < 0).
2008-09-24 08:52:49 +00:00
Ralf Corsepius
bfcefdd435 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Eliminates libcpudir.
2008-09-24 07:34:21 +00:00
Ralf Corsepius
27af75498f Cosmetics. 2008-09-24 07:32:19 +00:00
Ralf Corsepius
35b692611f 2008-08-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1323/bsps
	* Makefile.am: Remove AM_CFLAGS += -msoft-float.
2008-09-24 05:38:50 +00:00
Ralf Corsepius
00f0563ea0 2008-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove empty HAS_NETWORKING conditional.
2008-09-24 03:06:42 +00:00
Ralf Corsepius
13c4012f4d 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1322/bsps
	* include/bspopts.h.in: Remove.
2008-09-24 02:47:22 +00:00
Ralf Corsepius
27ccae87c2 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1322/bsps
	* include/bspopts.h.in: Remove.
2008-09-24 02:19:03 +00:00
Joel Sherrill
5edccc1bcf 2008-09-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/BSPInitFlowchart-49.png: Update figure.
2008-09-23 21:35:01 +00:00
Thomas Doerfler
6067359a14 make sure cahce is ON when MMU is off (important for exception handling) 2008-09-23 19:53:38 +00:00
Joel Sherrill
93f8efa7c6 2008-09-23 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port
	rather than hard coding selection.
2008-09-23 15:21:37 +00:00
Thomas Doerfler
112490e44e correct bsp_clicks_per_usec initialization for non-U-Boot case 2008-09-19 16:25:52 +00:00
Joel Sherrill
1e3c7f856c 2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1314/bsps
	* custom/mvme3100.cfg: Remove old stuff.
2008-09-18 14:25:07 +00:00
Ralf Corsepius
bd331c83c6 Remove. 2008-09-18 08:50:00 +00:00
Ralf Corsepius
c07a9c00c5 Update to gdb-6.8-rtems4.9-20080917.diff. 2008-09-18 08:48:17 +00:00
Ralf Corsepius
977b1736a6 Sync with rtems-4.10. 2008-09-18 08:45:29 +00:00
Ralf Corsepius
e91c4bc8e9 Do not define rtems_boolean, rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given. 2008-09-18 03:04:11 +00:00
Ralf Corsepius
be8f45b014 2008-09-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
	rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
2008-09-18 03:03:52 +00:00
Ralf Corsepius
0a37142076 2008-09-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
	double_precision unless RTEMS_DEPRECATED_TYPES is given.
2008-09-18 03:02:09 +00:00
Ralf Corsepius
d0279f6e3a Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given. 2008-09-18 03:01:49 +00:00
Joel Sherrill
100198929c 2008-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert previous patch. Does not apply to
	head.
2008-09-16 22:43:08 +00:00
Joel Sherrill
a36866199e 2008-09-16 Gene Smith <gene.smith@siemens.com>
PR 564/cpukit
	* sapi/include/confdefs.h: Fix incorrect name. Was missed in an earlier
	renaming sweep.
2008-09-16 17:13:33 +00:00
Joel Sherrill
d3320bb7cf 2008-09-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
	make-exe and make-cxx-exe definitions. This was resulting in the
	linker script being processed twice and breaking some BSPs.
2008-09-15 17:43:44 +00:00
Ralf Corsepius
5782420994 Use "double" instead of "rtems_double". 2008-09-15 13:56:19 +00:00
Ralf Corsepius
ee70857610 2008-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp19/system.h: Use "double" instead of "rtems_double".
2008-09-15 13:55:52 +00:00
Ralf Corsepius
913ece4074 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/nios2_iss.cfg: Remove.
2008-09-10 20:06:12 +00:00
Ralf Corsepius
4e3037b258 Remove from rtems-4-9-branch. 2008-09-10 19:54:49 +00:00
Ralf Corsepius
e00572f616 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Remove pre-production testing CFLAGS.
2008-09-10 19:53:40 +00:00
Ralf Corsepius
b4ff9f0b67 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove nios2.
2008-09-10 19:51:49 +00:00
Ralf Corsepius
98520091ea Regenerate. 2008-09-10 19:43:40 +00:00
Ralf Corsepius
bc26929055 Remove. 2008-09-10 19:42:48 +00:00
Ralf Corsepius
2344aa7405 Remove freebsd6.* 2008-09-10 19:40:51 +00:00
Ralf Corsepius
9652395558 Remove rtems-4.10. 2008-09-10 19:38:44 +00:00
Ralf Corsepius
8b66beb2e5 branch cleanup. 2008-09-10 19:37:15 +00:00
Joel Sherrill
92f3264acf 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-10 16:03:10 +00:00
Joel Sherrill
c7df255f99 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 16:02:20 +00:00
Joel Sherrill
74c15b62ea 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* ACKNOWLEDGEMENTS, TOOL_TARGETS: Remove TI C4x and NIOS2 ports from
	4.9 branch.
2008-09-10 16:00:41 +00:00
Joel Sherrill
abe94a6a83 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-10 15:59:44 +00:00
Joel Sherrill
a5e7b3ca94 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/.cvsignore, cpu_supplement/Makefile.am,
	cpu_supplement/cpu_supplement.texi, porting/cpumodels.t,
	user/preface.texi: Remove TI C4x and NIOS2 ports from 4.9 branch.
	* cpu_supplement/tic4x.t: Removed.
2008-09-10 15:58:58 +00:00
Joel Sherrill
3757d4e1a0 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4: Remove TI C4x and NIOS2 ports from
	4.9 branch.
2008-09-10 15:57:26 +00:00
Joel Sherrill
5463b374ac 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/c3xsim.cfg, custom/c4xsim.cfg: Removed.
2008-09-10 15:57:08 +00:00
Joel Sherrill
f1990656e8 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
	score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
	score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
	score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
	score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
	score/cpu/c4x/rtems/score/cpu_asm.h,
	score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
	score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
	score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
	score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
	score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
	score/cpu/nios2/rtems/score/cpu.h,
	score/cpu/nios2/rtems/score/cpu_asm.h,
	score/cpu/nios2/rtems/score/nios2.h,
	score/cpu/nios2/rtems/score/types.h: Removed.
2008-09-10 15:49:32 +00:00
Joel Sherrill
4f20b858ea 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-09-10 15:47:31 +00:00
Joel Sherrill
26c4cb4811 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, aclocal/canonical-target-name.m4,
	score/cpu/Makefile.am: Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 15:43:54 +00:00
cvs2git
59ccbe2f34 This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.
Sprout from master 2008-09-09 18:14:52 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2008-09-09	Joel Sherrill <joel.sherrill@oarcorp.com>'
Cherrypick from shttpd 2007-06-11 13:24:29 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import from shttpd-1.37.':
    cpukit/shttpd/auth.c
    cpukit/shttpd/cgi.c
    cpukit/shttpd/compat_unix.c
    cpukit/shttpd/compat_unix.h
    cpukit/shttpd/compat_win32.c
    cpukit/shttpd/compat_win32.h
    cpukit/shttpd/compat_wince.c
    cpukit/shttpd/compat_wince.h
    cpukit/shttpd/config.c
    cpukit/shttpd/io.h
    cpukit/shttpd/io_cgi.c
    cpukit/shttpd/io_dir.c
    cpukit/shttpd/io_emb.c
    cpukit/shttpd/io_file.c
    cpukit/shttpd/io_socket.c
    cpukit/shttpd/io_ssl.c
    cpukit/shttpd/llist.h
    cpukit/shttpd/md5.c
    cpukit/shttpd/md5.h
    cpukit/shttpd/mime_type.c
    cpukit/shttpd/shttpd.1
    cpukit/shttpd/shttpd.c
    cpukit/shttpd/shttpd.h
    cpukit/shttpd/ssl.h
    cpukit/shttpd/standalone.c
    cpukit/shttpd/std_includes.h
Cherrypick from B_rtems_mvme3100_bsp_slac 2007-12-14 06:30:15 UTC Till Straumann <strauman@slac.stanford.edu> ' - imported MVME3100 BSP (from SLAC repository)':
    c/src/lib/libbsp/powerpc/mvme3100/.cvsignore
    c/src/lib/libbsp/powerpc/mvme3100/KNOWN_PROBLEMS
    c/src/lib/libbsp/powerpc/mvme3100/LICENSE
    c/src/lib/libbsp/powerpc/mvme3100/README
    c/src/lib/libbsp/powerpc/mvme3100/bsp_specs
    c/src/lib/libbsp/powerpc/mvme3100/configure.ac
    c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c
    c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h
    c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in
    c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h
    c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h
    c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c
    c/src/lib/libbsp/powerpc/mvme3100/tod/todcfg.c
    c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h
Cherrypick from zlib 2005-10-28 07:22:42 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import of zlib-1.2.2.2.tar.gz':
    cpukit/zlib/FAQ
    cpukit/zlib/INDEX
    cpukit/zlib/algorithm.txt
    cpukit/zlib/crc32.h
    cpukit/zlib/inffast.h
    cpukit/zlib/inffixed.h
    cpukit/zlib/inflate.h
    cpukit/zlib/trees.h
Cherrypick from rtemsdoc-4-5-branch 1997-05-27 12:40:10 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'base RTEMS documentation':
    doc/common/treedef.tex
Delete:
    contrib/crossrpms/cygwin/.cvsignore
    contrib/crossrpms/cygwin/Makefile.am
    contrib/crossrpms/cygwin/binutils.am
    contrib/crossrpms/cygwin/cygwin.am
    contrib/crossrpms/cygwin/expat.am
    contrib/crossrpms/cygwin/gcc-prep.add
    contrib/crossrpms/cygwin/gcc.am
    contrib/crossrpms/cygwin/gmp.am
    contrib/crossrpms/cygwin/i686/.cvsignore
    contrib/crossrpms/cygwin/i686/Makefile.am
    contrib/crossrpms/cygwin/i686/binutils-sources.add
    contrib/crossrpms/cygwin/i686/expat.add
    contrib/crossrpms/cygwin/i686/gcc-sources.add
    contrib/crossrpms/cygwin/i686/gmp.add
    contrib/crossrpms/cygwin/i686/libs.add
    contrib/crossrpms/cygwin/i686/mpfr.add
    contrib/crossrpms/cygwin/i686/ncurses.add
    contrib/crossrpms/cygwin/i686/readline.add
    contrib/crossrpms/cygwin/i686/target-expat.add
    contrib/crossrpms/cygwin/i686/target-gmp.add
    contrib/crossrpms/cygwin/i686/target-libs.add
    contrib/crossrpms/cygwin/i686/target-mpfr.add
    contrib/crossrpms/cygwin/i686/target-ncurses.add
    contrib/crossrpms/cygwin/i686/target-readline.add
    contrib/crossrpms/cygwin/i686/target-termcap.add
    contrib/crossrpms/cygwin/i686/target-terminfo.add
    contrib/crossrpms/cygwin/i686/target-w32api.add
    contrib/crossrpms/cygwin/i686/target-zlib.add
    contrib/crossrpms/cygwin/i686/termcap.add
    contrib/crossrpms/cygwin/i686/terminfo.add
    contrib/crossrpms/cygwin/i686/w32api.add
    contrib/crossrpms/cygwin/i686/zlib.add
    contrib/crossrpms/cygwin/mpfr.am
    contrib/crossrpms/cygwin/ncurses.am
    contrib/crossrpms/cygwin/readline.am
    contrib/crossrpms/cygwin/termcap.am
    contrib/crossrpms/cygwin/terminfo.am
    contrib/crossrpms/cygwin/w32api.am
    contrib/crossrpms/cygwin/zlib.am
    contrib/crossrpms/freebsd6.2/.cvsignore
    contrib/crossrpms/freebsd6.2/Makefile.am
    contrib/crossrpms/freebsd6.2/binutils.am
    contrib/crossrpms/freebsd6.2/gcc-prep.add
    contrib/crossrpms/freebsd6.2/gcc.am
    contrib/crossrpms/freebsd6.2/i586/.cvsignore
    contrib/crossrpms/freebsd6.2/i586/Makefile.am
    contrib/crossrpms/freebsd6.2/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.2/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.2/i586/libs.add
    contrib/crossrpms/freebsd6.2/i586/target-libs.add
    contrib/crossrpms/freebsd6.3/.cvsignore
    contrib/crossrpms/freebsd6.3/Makefile.am
    contrib/crossrpms/freebsd6.3/binutils.am
    contrib/crossrpms/freebsd6.3/gcc-prep.add
    contrib/crossrpms/freebsd6.3/gcc.am
    contrib/crossrpms/freebsd6.3/i586/.cvsignore
    contrib/crossrpms/freebsd6.3/i586/Makefile.am
    contrib/crossrpms/freebsd6.3/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.3/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.3/i586/libs.add
    contrib/crossrpms/freebsd6.3/i586/target-libs.add
    contrib/crossrpms/freebsd7.0/.cvsignore
    contrib/crossrpms/freebsd7.0/Makefile.am
    contrib/crossrpms/freebsd7.0/binutils.am
    contrib/crossrpms/freebsd7.0/gcc-prep.add
    contrib/crossrpms/freebsd7.0/gcc.am
    contrib/crossrpms/freebsd7.0/i586/.cvsignore
    contrib/crossrpms/freebsd7.0/i586/Makefile.am
    contrib/crossrpms/freebsd7.0/i586/binutils-sources.add
    contrib/crossrpms/freebsd7.0/i586/gcc-sources.add
    contrib/crossrpms/freebsd7.0/i586/libs.add
    contrib/crossrpms/freebsd7.0/i586/target-libs.add
    contrib/crossrpms/mingw32/.cvsignore
    contrib/crossrpms/mingw32/Makefile.am
    contrib/crossrpms/mingw32/binutils.am
    contrib/crossrpms/mingw32/gcc-prep.add
    contrib/crossrpms/mingw32/gcc.am
    contrib/crossrpms/mingw32/i686/.cvsignore
    contrib/crossrpms/mingw32/i686/Makefile.am
    contrib/crossrpms/mingw32/i686/binutils-sources.add
    contrib/crossrpms/mingw32/i686/gcc-sources.add
    contrib/crossrpms/mingw32/i686/libs.add
    contrib/crossrpms/mingw32/i686/target-libs.add
    contrib/crossrpms/mingw32/i686/target-w32api.add
    contrib/crossrpms/mingw32/i686/w32api.add
    contrib/crossrpms/solaris2.7/.cvsignore
    contrib/crossrpms/solaris2.7/Makefile.am
    contrib/crossrpms/solaris2.7/binutils.am
    contrib/crossrpms/solaris2.7/gcc-prep.add
    contrib/crossrpms/solaris2.7/gcc.am
    contrib/crossrpms/solaris2.7/sparc/.cvsignore
    contrib/crossrpms/solaris2.7/sparc/Makefile.am
    contrib/crossrpms/solaris2.7/sparc/binutils-sources.add
    contrib/crossrpms/solaris2.7/sparc/gcc-sources.add
    contrib/crossrpms/solaris2.7/sparc/libs.add
    contrib/crossrpms/solaris2.7/sparc/target-libs.add
    cpukit/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    cpukit/zlib/doc/txtvsbin.txt
    cpukit/zlib/examples/enough.c
    cpukit/zlib/examples/zran.c
    cpukit/zlib/old/as400/bndsrc
    cpukit/zlib/old/as400/compile.clp
    cpukit/zlib/old/as400/readme.txt
    cpukit/zlib/old/visualc6/README.txt
    cpukit/zlib/old/visualc6/example.dsp
    cpukit/zlib/old/visualc6/minigzip.dsp
    cpukit/zlib/old/visualc6/zlib.dsw
    cpukit/zlib/zlib.pc.in
    cpukit/zlib/zlib2ansi
2008-09-09 18:14:53 +00:00
1104 changed files with 86101 additions and 46703 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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)
# -----------------

View File

@@ -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.

View File

@@ -4,4 +4,4 @@
# $Id$
#
RTEMS Version 4.8.99.0
RTEMS Version 4.9.3

View File

@@ -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

View File

@@ -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%'`
;;

View File

@@ -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";;

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.8.99.0]))
m4_define([_RTEMS_VERSION],[4.9.3]))
m4_define([RTEMS_API],[4.9])

View File

@@ -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.

View File

@@ -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.

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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)

View File

@@ -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]);;

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.8.99.0]))
m4_define([_RTEMS_VERSION],[4.9.3]))
m4_define([RTEMS_API],[4.9])

View File

@@ -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

View File

@@ -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;

View File

@@ -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

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -152,6 +152,7 @@ TEST_SUPPORT.PAUSE;
0
);
TEXT_IO.PUT_LINE( "*** END OF TIME TEST CHECK ***" );
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
end TASK_1;

View File

@@ -1396,6 +1396,7 @@ TEST_SUPPORT.PAUSE;
0
);
TEXT_IO.PUT_LINE( "*** END OF TIME TEST OVERHEAD ***" );
RTEMS.SHUTDOWN_EXECUTIVE( 0 );
end TASK_1;

View File

@@ -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.

View File

@@ -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;

View File

@@ -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
--

View File

@@ -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.

View 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.

View File

@@ -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

View File

@@ -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 }

View File

@@ -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);

View File

@@ -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

View File

@@ -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 }

View File

@@ -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.

View File

@@ -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 }

View File

@@ -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.

View File

@@ -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

View File

@@ -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 }

View File

@@ -92,7 +92,7 @@ int _textattr; /**< Text attribute */
/*---------------------------------------------------------------------------*
* Defaultfont *
*---------------------------------------------------------------------------*/
#include "defaultfont.c"
#include "defaultfont.h"
/**
* @brief gba_gotoxy function set screeen xy-coordinates

View File

@@ -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 */

View File

@@ -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

View File

@@ -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

View File

@@ -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 }

View File

@@ -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".

View File

@@ -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 }

View File

@@ -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.

View File

@@ -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 }

View File

@@ -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,

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -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 }

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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,

View File

@@ -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}

View File

@@ -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

View File

@@ -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}

View File

@@ -1,8 +0,0 @@
aclocal.m4
autom4te*.cache
config.cache
config.log
config.status
configure
Makefile
Makefile.in

View File

@@ -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.

View 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

View File

@@ -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
])

View File

@@ -1,8 +0,0 @@
aclocal.m4
autom4te*.cache
config.cache
config.log
config.status
configure
Makefile
Makefile.in

View File

@@ -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.

View 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

View File

@@ -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

View File

@@ -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}

View File

@@ -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"

View File

@@ -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