Commit Graph

14481 Commits

Author SHA1 Message Date
Joel Sherrill
e15aa41e9c 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Add ARM/Thumb Makefile.
2007-11-06 22:53:43 +00:00
Joel Sherrill
7afd0b130b 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, thumb_isr.c: New files.
2007-11-06 22:53:06 +00:00
Joel Sherrill
661e5de43b 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* cpu.c, cpu_asm.S, score/cpu.h : add support for ARM<->THUMB veneer
          thumb  new dir to controll CPSR/SPRS in thumb mode

2007-05-09      Ray Xu <rayx.cn@gmail.com>

        * cpu.c: move do_data_abort() to libbsp/arm/shared/abort/
          implement a compact do_data_abort() in simple_abort.c
2007-11-06 22:51:08 +00:00
Joel Sherrill
f28bbe5c6b 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* shared/abort/simple_abort.c: Add veneer for ARM<->Thumb
        shared/irq/irq_asm.S: Add veneer for ARM<->Thumb
2007-11-06 22:50:51 +00:00
Joel Sherrill
ac654234d6 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* start/start.S, startup/bspclean.c: Add veneer between ARM and
        Thumb instructions.  also moved bss init after CPSR/stack init in
	start.S
2007-11-06 22:50:42 +00:00
Till Straumann
a4722f82b0 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* ep1a/irq/irq.c, gen5200/irq/irq.c, mbx8xx/irq/irq.c,
	mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/irq.c,
	score603e/irq/irq.c, shared/irq/irq.c:
	test for non-NULL-ness before calling 'on'/'off'
	methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 22:19:41 +00:00
Till Straumann
db1986ac0f 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: removed #define UARTDEBUG
2007-11-06 22:14:04 +00:00
Till Straumann
8e1d542c07 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,
	new-exceptions/raw_exception.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:54:18 +00:00
Till Straumann
cad1f386ef 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:44:07 +00:00
Joel Sherrill
1d0efc105e 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1266/cpukit
	* posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
	of class for key indexing.
2007-11-06 21:39:23 +00:00
Till Straumann
63fa36ea60 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* gba/irq/irq.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:38:27 +00:00
Joel Sherrill
081583c661 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
	Fix headers and formatting.
2007-11-06 20:50:10 +00:00
Joel Sherrill
7294bc97aa 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp13/system.h: We need 32K of message buffer memory not 32 bytes.
2007-11-06 20:22:49 +00:00
Glenn Humphrey
8a8f5b263a 2007-11-06 Glenn Humphrey <glenn.humphrey@OARcorp.com>
Miscellaneous changes made after a review against the POSIX spec.
	* posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
	passes a NULL in the attributes parameter, default attributes are used.
	* posix/src/prwlockdestroy.c: If there is at least one thread
	waiting, do not allow deletion.
	* posix/src/prwlockwrlock.c: Corrected parameter passed to the core
	operation used to obtain a RWLock for writing.
	* posix/src/pspinlocktranslatereturncode.c,
	score/include/rtems/score/corespinlock.h,
	score/src/corespinlockrelease.c: If the current thread is not the
	holder of the lock, do not allow an unlock and return EPERM.
	* score/src/corerwlockobtainwrite.c: Corrected to use the operation
	for queueing with a timeout handler.
2007-11-06 19:52:36 +00:00
Joel Sherrill
b214b1bab9 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: Formatting.
2007-11-06 19:45:35 +00:00
Joel Sherrill
12f1455b78 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Formatting.
2007-11-06 19:45:22 +00:00
Till Straumann
a16747e88c 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/pci/pci.c: converted access to pci_config_addr to
	conditionally defined macros so that bsp.h can override details.
2007-11-06 09:11:09 +00:00
Ralf Corsepius
83c8c3c191 Fix stupid typo 2007-11-04 12:25:19 +00:00
Ralf Corsepius
6d77c8f5f0 regenerate 2007-11-04 09:28:35 +00:00
Ralf Corsepius
fd7bb10a0c Bump BINUTILS_RPMREL. 2007-11-04 09:26:51 +00:00
Ralf Corsepius
567fed38f6 Update. 2007-11-04 09:26:05 +00:00
Ralf Corsepius
137c410652 New. 2007-11-04 09:25:32 +00:00
Joel Sherrill
48816d7d7a 2007-11-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
	score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
	stack so gdb backtrace does not print corrupted frame message after
	_Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
	SPARC implementation and I made it more general.
2007-11-02 13:35:02 +00:00
Ralf Corsepius
7cb1d6eaaf Assume gdb >= 6.4 2007-11-01 07:32:07 +00:00
Ralf Corsepius
e2b1682818 Remove GDB. 2007-11-01 07:29:24 +00:00
Ralf Corsepius
d4d9f2708c Remove. 2007-11-01 07:27:39 +00:00
Ralf Corsepius
25eda206eb gdb-6.7.1-4 2007-11-01 05:58:05 +00:00
Ralf Corsepius
724eab7ad0 Hard-code -lncurses instead of -ltinfo. 2007-10-31 21:35:24 +00:00
Ralf Corsepius
83644e98ae Add hacks to get erc32 building 2007-10-31 15:46:35 +00:00
Ralf Corsepius
91a492a243 Cleanups for erc32. 2007-10-31 15:45:45 +00:00
Joel Sherrill
fa4e67c838 2007-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Fix typo.
2007-10-31 14:28:19 +00:00
Ralf Corsepius
84f86cb20f Reflect suse-10.3 having expat in libexpat-devel. 2007-10-31 12:30:51 +00:00
Ralf Corsepius
a4081ce74c gdb-4.7.1 2007-10-31 12:27:07 +00:00
Ralf Corsepius
49deaec5a0 Force building against expat 2007-10-31 05:28:40 +00:00
Ralf Corsepius
3dd61288df New. 2007-10-31 05:11:26 +00:00
Joel Sherrill
f81b295103 2007-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Fix constants off by one nibble.
2007-10-30 20:57:38 +00:00
Joel Sherrill
b83b754e28 2007-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Added some simple interrupt GPIO constants.
2007-10-30 19:32:02 +00:00
Glenn Humphrey
76b839b617 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/rtmon.t: Fix report output.
2007-10-26 21:35:11 +00:00
Glenn Humphrey
43e3429260 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* cpuuse/task2.c, rtmonuse/rtmonuse.scn, rtmonuse/task1.c: Add new
	cases for untested routines.
2007-10-26 21:31:48 +00:00
Glenn Humphrey
b0ac06f8e9 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
	Cleaned up reports and fixed a bug related the printf format which
	resulted in lack of leading zeroes and misleading magnitude.
	* score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2007-10-26 21:30:59 +00:00
Joel Sherrill
0e87deaa29 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
	itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
	itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
	itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
	itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
	itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
	itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
	itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
	posix/src/condinit.c, posix/src/condsignalsupp.c,
	posix/src/condwaitsupp.c, posix/src/keydelete.c,
	posix/src/keygetspecific.c, posix/src/keysetspecific.c,
	posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
	posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
	posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
	posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
	posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
	posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
	posix/src/pspindestroy.c, posix/src/pspinlock.c,
	posix/src/pspintrylock.c, posix/src/pspinunlock.c,
	posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
	posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
	posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
	posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
	rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
	rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
	rtems/src/dpmemexternal2internal.c,
	rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
	rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
	rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
	rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
	rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
	rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
	rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
	rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
	rtems/src/signalsend.c, rtems/src/taskdelete.c,
	rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
	rtems/src/taskrestart.c, rtems/src/taskresume.c,
	rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
	rtems/src/taskstart.c, rtems/src/tasksuspend.c,
	rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
	rtems/src/taskvariableget.c, rtems/src/timercancel.c,
	rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
	rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
	rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
	rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
	score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
	score/src/mpci.c, score/src/objectgetnameasstring.c,
	score/src/threaddelayended.c, score/src/threadqtimeout.c: When
	multiprocessing is disabled, do not even allow the constant
	OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
	a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
	in the generation of binary code which can NOT be reached.
2007-10-26 20:19:02 +00:00
Joel Sherrill
78dabb697c 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
	resulted in unnessary code explosion, many uncovered paths when
	looking at binary executable coverage, and only optimized getting
	self. Id translations were still getting pushed to a subroutine call
	to _Objects_Get. Later the non-inlined version can be further
	optimized to get Ids in range for the current API, then self, then
	look at other APIs.
	* score/src/threadget.c: New file.
2007-10-26 19:44:10 +00:00
Joel Sherrill
327b002078 2007-10-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.h: Fixed typos.
2007-10-26 15:49:59 +00:00
Thomas Doerfler
933f743544 reenable instruction MMU 2007-10-26 14:37:59 +00:00
Thomas Doerfler
99e65f9c28 *** empty log message *** 2007-10-26 12:12:42 +00:00
Thomas Doerfler
7a4e8e7c8a corrected bug in libchip/i2c/spi-flash-m25p40 2007-10-26 09:54:28 +00:00
Thomas Doerfler
c47890cccf *** empty log message *** 2007-10-26 09:51:41 +00:00
Thomas Doerfler
83374f3b27 adding new spi flash driver 2007-10-26 06:07:06 +00:00
Joel Sherrill
78c7192903 2007-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
	samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
	samples/hello/Makefile.am, samples/nsecs/Makefile.am,
	samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
	sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
	sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
	sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
	sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
	sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
	sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
	sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
	sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
	sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
	sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
	sptests/sp25/Makefile.am, tmtests/tm01/Makefile.am,
	tmtests/tm02/Makefile.am, tmtests/tm03/Makefile.am,
	tmtests/tm04/Makefile.am, tmtests/tm05/Makefile.am,
	tmtests/tm06/Makefile.am, tmtests/tm07/Makefile.am,
	tmtests/tm08/Makefile.am, tmtests/tm09/Makefile.am,
	tmtests/tm10/Makefile.am, tmtests/tm11/Makefile.am,
	tmtests/tm12/Makefile.am, tmtests/tm13/Makefile.am,
	tmtests/tm14/Makefile.am, tmtests/tm15/Makefile.am,
	tmtests/tm16/Makefile.am, tmtests/tm17/Makefile.am,
	tmtests/tm18/Makefile.am, tmtests/tm19/Makefile.am,
	tmtests/tm20/Makefile.am, tmtests/tm21/Makefile.am,
	tmtests/tm22/Makefile.am, tmtests/tm23/Makefile.am,
	tmtests/tm24/Makefile.am, tmtests/tm25/Makefile.am,
	tmtests/tm28/Makefile.am, tmtests/tm29/Makefile.am,
	tmtests/tmck/Makefile.am, tmtests/tmoverhd/Makefile.am: Executables
	should end in .exe just like their C counterparts.
2007-10-25 22:06:13 +00:00
Glenn Humphrey
d45b4a9802 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added some more missing bindings.
2007-10-25 20:44:31 +00:00