Commit Graph

1703 Commits

Author SHA1 Message Date
Joel Sherrill
6c8e2fe5aa 2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1606/cpukit
	* score/include/rtems/score/interr.h: Remove
	INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
2010-07-07 14:06:52 +00:00
Sebastian Huber
32d5196d70 2010-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/isrthreaddispatch.c: Removed file.
	* score/Makefile.am: Reflect change above.
	* score/include/rtems/score/isr.h: Removed _ISR_Thread_dispatch()
	declaration.
2010-07-06 07:56:15 +00:00
Sebastian Huber
f7bac00b18 2010-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Removed CPU_ENABLE_C_ISR_DISPATCH_IMPLEMENTATION
	define.
2010-07-06 07:52:36 +00:00
Joel Sherrill
9787ee22a1 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/asm.h, rtems/score/cpu.h: cpu.h defines were not available to
	assembly programs. This resulted in percpu.h (when included from
	assembly) not being able to detect that the MIPS does not have a
	dedicated software managed interrupt stack.
2010-07-01 19:43:29 +00:00
Joel Sherrill
f56f8e298a 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/rtems_memalign.c, score/include/rtems/score/heap.h:
	Remove stray references to malloc boundary.
2010-07-01 15:39:59 +00:00
Sebastian Huber
390dadd2c5 2010-06-30 Peter Dufault <dufault@hda.com>
PR 1588/cpukit
	* rtems/powerpc/registers.h: Renamed defines SR0 .. SR15 in
	PPC_SR0 ..  PPC_SR15.
2010-06-30 07:43:00 +00:00
Joel Sherrill
263ab4bcb9 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, score/include/rtems/score/percpu.h: Add
	__RTEMS_SIZEOF_VOID_P__ to cpuopts.h so percpu.h has this information
	available during build and after installation.
2010-06-29 18:51:49 +00:00
Joel Sherrill
11e8bc5f0f 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* configure.ac, posix/src/killinfo.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalsetprocesssignals.c,
	posix/src/psignalunblockthread.c, posix/src/pthreadcreate.c,
	posix/src/pthreadkill.c, posix/src/pthreadsigmask.c,
	rtems/src/signalsend.c, rtems/src/taskmode.c, score/Makefile.am,
	score/preinstall.am, score/include/rtems/system.h,
	score/include/rtems/score/context.h, score/include/rtems/score/isr.h,
	score/include/rtems/score/thread.h, score/src/isr.c,
	score/src/isrthreaddispatch.c, score/src/thread.c,
	score/src/threaddispatch.c, score/src/threadloadenv.c: Add a per cpu
	data structure which contains the information required by RTEMS for
	each CPU core. This encapsulates information such as thread
	executing, heir, idle and dispatch needed.
	* score/include/rtems/score/percpu.h, score/src/percpu.c: New files.
2010-06-29 00:34:12 +00:00
Joel Sherrill
6d42b4c60a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.S, rtems/score/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:34:00 +00:00
Joel Sherrill
8e407adb28 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* rtems/score/cpu.h: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:33:58 +00:00
Joel Sherrill
b275a14463 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* rtems/new-exceptions/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:33:15 +00:00
Joel Sherrill
9418359d76 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.c, rtems/score/cpu.h: Add a per cpu data structure which
	contains the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:33:12 +00:00
Joel Sherrill
9939ecc412 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* irq.c, rtems/score/cpu.h: Add a per cpu data structure which contains
	the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:31:47 +00:00
Joel Sherrill
1ef0afe60a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* cpu_asm.S, rtems/asm.h, rtems/score/cpu.h: Add a per cpu data
	structure which contains the information required by RTEMS for each
	CPU core. This encapsulates information such as thread executing,
	heir, idle and dispatch needed.
2010-06-29 00:31:09 +00:00
Joel Sherrill
b616350ec9 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* arm_exc_interrupt.S: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
2010-06-29 00:31:02 +00:00
Joel Sherrill
569b3f4141 2010-06-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1589/cpukit
	* score/Makefile.am, score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl: Make _Thread_Evaluate_mode() an
	inline method. It is only used in one place and relatively simple.
	* score/src/threadevaluatemode.c: Removed.
2010-06-24 22:40:32 +00:00
Joel Sherrill
8bef4ccfb0 2010-06-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1590/cpukit
	* score/Makefile.am, score/include/rtems/score/thread.h,
	score/src/threadtickletimeslice.c: Remove _Thread_Reset_timeslice and
	replaces its single use with a call to the functionally equivalent
	_Thread_Yield_processor().
	* score/src/threadresettimeslice.c: Removed.
2010-06-24 21:27:30 +00:00
Joel Sherrill
ad376300ac 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1554/cpukit
	Coverity Id 17
	* libi2c/libi2c.c, score/src/objectextendinformation.c: Fix memory leak
	on error.
2010-06-21 16:27:37 +00:00
Ralf Corsepius
424e47e9b5 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/object.h: Remove OBJECTS_ITRON_API.
2010-06-18 04:21:19 +00:00
Ralf Corsepius
f0caa057fa 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/thread.h: Remove ITRON.
2010-06-18 04:20:06 +00:00
Ralf Corsepius
226d66d54c 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/interr.h: Remove ITRON.
2010-06-18 04:08:47 +00:00
Ralf Corsepius
c5a359bba8 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/objectapimaximumclass.c: Remove OBJECTS_ITRON_API.
2010-06-18 04:03:04 +00:00
Ralf Corsepius
4b24055fb1 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/system.h: Remove ITRON_EXTERN.
2010-06-18 04:00:54 +00:00
Ralf Corsepius
a2e1773108 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/apiext.c: Remove comment referring to ITRON.
2010-06-18 03:59:55 +00:00
Ralf Corsepius
c51318ad23 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* core/include/rtems/score/object.h: Remove Objects_ITRON_API.
2010-06-18 03:58:21 +00:00
Ralf Corsepius
1ada6163d8 Remove RTEMS_ITRON_API conditional blocks. 2010-06-18 02:56:26 +00:00
Joel Sherrill
b3d0e8bfcc 2010-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/object.h,
	score/include/rtems/score/thread.h: Remove prototypes for ITRON
	only methods removed by Ralf.
2010-06-17 17:20:55 +00:00
Ralf Corsepius
3fb8e9782f Remove LIBITRON. 2010-06-17 15:29:44 +00:00
Ralf Corsepius
b77d6e115a Remove. 2010-06-17 15:29:01 +00:00
Joel Sherrill
116e83c426 2010-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectallocate.c: Add conditionally compiled debug code to
	printk a message when an object allocation error occurs. This should
	be helpful in identifying when a ported package required more
	resources.
2010-06-16 17:35:25 +00:00
Joel Sherrill
9b5f06cd43 2010-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.S: Remove trailing tabs.
2010-06-16 17:25:55 +00:00
Joel Sherrill
d5ec048032 2010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* cpu_asm.S: Use SYM macro to be consistent with other ports.
2010-06-16 17:19:31 +00:00
Joel Sherrill
eaac03a4e4 Never should have been added. 2010-06-15 22:52:50 +00:00
Joel Sherrill
ecbbd9689b 2010-06-15 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1561/cpukit
	* configure.ac, score/cpu/Makefile.am: Merge SPARC64 port.
2010-06-15 22:45:17 +00:00
Joel Sherrill
c86da31cb9 2010-06-15 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1561/cpukit
	* .cvsignore, ChangeLog, Makefile.am, Makefile.in, README, context.S,
	cpu.c, preinstall.am, rtems/asm.h, rtems/score/cpu.h,
	rtems/score/sparc64.h, rtems/score/types.h: New files.
2010-06-15 22:43:56 +00:00
Joel Sherrill
cd9ce6be48 2010-06-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.S: Formatting.
2010-06-15 16:25:16 +00:00
Ralf Corsepius
b02f920f6c 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h,
	posix/include/rtems/posix/pthread.h,
	score/include/rtems/score/coresem.h,
	score/include/rtems/score/priority.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/timestamp.h: Move 'extern "C"'.
2010-06-14 06:08:50 +00:00
Ralf Corsepius
48e77eb9ac 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/timestamp.h,
	score/include/rtems/score/timestamp64.h,
	score/include/rtems/score/watchdog.h:
	Misc. doxygen fixes.
2010-06-12 05:56:26 +00:00
Ralf Corsepius
3490d70a08 Remove (Abandoned). 2010-06-11 12:28:40 +00:00
Ralf Corsepius
4e48fab95b 2010-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/Makefile.am: Remove c4x.
2010-06-11 12:24:57 +00:00
Sebastian Huber
b2a0214d43 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/heap.h: Declare
	_Heap_Get_first_and_last_block().  Removed Heap_Extend_status.
	Changed return type of _Heap_Extend() to bool.
	* score/inline/rtems/score/heap.inl: Define
	_Heap_Set_last_block_size().
	* score/src/heap.c: Define and use _Heap_Get_first_and_last_block().
	* score/src/heapgetinfo.c: Removed assert statements.  Do not count
	the last block.  This ensures that all size values are an integral
	multiple of the page size which is consistent with the other
	statistics.
	* score/src/heapextend.c: Implemented support for scattered heap
	areas.
	* score/src/heapwalk.c: Dump also last block.  Changes for new first
	and last block values.
	* ./score/src/pheapextend.c, rtems/src/regionextend.c: Update for
	_Heap_Extend() changes.
2010-06-07 09:35:01 +00:00
Ralf Corsepius
f88a1a014b 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq.c: Change _exception_stack_frame into void*.
2010-05-29 05:19:13 +00:00
Ralf Corsepius
a4f9124168 2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c: Warning removal.
2010-05-23 05:47:27 +00:00
Joel Sherrill
4a76be7ef5 2010-05-21 Vinu Rajashekhar <vinutheraj@gmail.com>
* rtems/score/registers.h: Remove structs with bit-fields. Add a mask
	for cr3 page directory.
2010-05-21 19:02:05 +00:00
Joel Sherrill
b2f251a8c2 2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/arm.h: Make it a warning not error that the FPU multilib
	is not supported yet.
2010-05-10 20:29:13 +00:00
Joel Sherrill
65636918c8 2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* context_init.c, context_switch.S, cpu.c: Now builds multilib. R8C
	paths produce warnings for now.
2010-05-10 20:08:50 +00:00
Joel Sherrill
31af0dfe57 2010-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, cpu_asm.S, avr/boot.h, avr/common.h, avr/crc16.h,
	avr/delay.h, avr/eeprom.h, avr/fuse.h, avr/interrupt.h, avr/io.h,
	avr/io1200.h, avr/io2313.h, avr/io2323.h, avr/io2333.h, avr/io2343.h,
	avr/io43u32x.h, avr/io43u35x.h, avr/io4414.h, avr/io4433.h,
	avr/io4434.h, avr/io76c711.h, avr/io8515.h, avr/io8534.h,
	avr/io8535.h, avr/io86r401.h, avr/io90pwm1.h, avr/io90pwm216.h,
	avr/io90pwm2b.h, avr/io90pwm316.h, avr/io90pwm3b.h, avr/io90pwm81.h,
	avr/io90pwmx.h, avr/io90scr100.h, avr/ioa6289.h, avr/ioat94k.h,
	avr/iocan128.h, avr/iocan32.h, avr/iocan64.h, avr/iocanxx.h,
	avr/iom103.h, avr/iom128.h, avr/iom1280.h, avr/iom1281.h,
	avr/iom1284p.h, avr/iom128rfa1.h, avr/iom16.h, avr/iom161.h,
	avr/iom162.h, avr/iom163.h, avr/iom164.h, avr/iom165.h,
	avr/iom165p.h, avr/iom168.h, avr/iom168p.h, avr/iom169.h,
	avr/iom169p.h, avr/iom16hva.h, avr/iom16m1.h, avr/iom16u4.h,
	avr/iom2560.h, avr/iom2561.h, avr/iom32.h, avr/iom323.h,
	avr/iom324.h, avr/iom325.h, avr/iom3250.h, avr/iom328p.h,
	avr/iom329.h, avr/iom3290.h, avr/iom32c1.h, avr/iom32hvb.h,
	avr/iom32m1.h, avr/iom32u4.h, avr/iom32u6.h, avr/iom406.h,
	avr/iom48.h, avr/iom48p.h, avr/iom64.h, avr/iom640.h, avr/iom644.h,
	avr/iom645.h, avr/iom6450.h, avr/iom649.h, avr/iom6490.h,
	avr/iom64c1.h, avr/iom64m1.h, avr/iom8.h, avr/iom8515.h,
	avr/iom8535.h, avr/iom88.h, avr/iom88p.h, avr/iom8hva.h, avr/iomx8.h,
	avr/iomxx0_1.h, avr/iomxx4.h, avr/iomxxhva.h, avr/iotn11.h,
	avr/iotn12.h, avr/iotn13.h, avr/iotn13a.h, avr/iotn15.h,
	avr/iotn167.h, avr/iotn22.h, avr/iotn2313.h, avr/iotn24.h,
	avr/iotn25.h, avr/iotn26.h, avr/iotn261.h, avr/iotn28.h,
	avr/iotn43u.h, avr/iotn44.h, avr/iotn45.h, avr/iotn461.h,
	avr/iotn48.h, avr/iotn84.h, avr/iotn85.h, avr/iotn861.h,
	avr/iotn87.h, avr/iotn88.h, avr/iotnx4.h, avr/iotnx5.h,
	avr/iotnx61.h, avr/iousb1286.h, avr/iousb1287.h, avr/iousb162.h,
	avr/iousb646.h, avr/iousb647.h, avr/iousb82.h, avr/iousbxx2.h,
	avr/iousbxx6_7.h, avr/iox128a1.h, avr/iox128a3.h, avr/iox16a4.h,
	avr/iox16d4.h, avr/iox256a3.h, avr/iox256a3b.h, avr/iox32a4.h,
	avr/iox32d4.h, avr/iox64a1.h, avr/iox64a3.h, avr/lock.h,
	avr/parity.h, avr/pgmspace.h, avr/portpins.h, avr/power.h,
	avr/sfr_defs.h, avr/signal.h, avr/sleep.h, avr/version.h, avr/wdt.h,
	rtems/asm.h, rtems/score/cpu.h: Update to avr .h files from avr-libc
	1.6.8. Tinker with code and includes to eliminate warnings. Now
	builds multilib.
	* avr/iom169pa.h, avr/iom16a.h, avr/iom16hva2.h, avr/iom16hvb.h,
	avr/iom16u2.h, avr/iom324pa.h, avr/iom32u2.h, avr/iom644p.h,
	avr/iom644pa.h, avr/iom649p.h, avr/iom64hve.h, avr/iom88pa.h,
	avr/iom8u2.h, avr/iotn2313a.h, avr/iotn24a.h, avr/iotn261a.h,
	avr/iotn4313.h, avr/iotn44a.h, avr/iotn461a.h, avr/iotn861a.h,
	avr/iox128d3.h, avr/iox192a3.h, avr/iox192d3.h, avr/iox256d3.h,
	avr/iox64d3.h, avr/signature.h: New files.
2010-05-10 16:31:24 +00:00
Joel Sherrill
ceda5c27e0 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* context_init.c: Eliminate warnings.
2010-04-25 22:17:35 +00:00
Joel Sherrill
a0cb87cbfc 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Move _CPU_Context_Initialize() to cpu.c so
	it is easier to make warning free.
2010-04-25 21:37:46 +00:00
Joel Sherrill
2146dbac19 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
2010-04-25 15:06:32 +00:00