Commit Graph
19635 Commits
Author SHA1 Message Date
Ralf Corsepius cc6ecc518b Include "tmacros.h".
Use PRIxrtems_signal_set to print rtems_signal_sets.
2009-10-30 13:13:00 +00:00
Ralf Corsepius 6cc234a902 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* amba/amba.c: Re-add tmp.
2009-10-30 12:33:20 +00:00
Ralf Corsepius 9c8527b96f Re-add tmp. 2009-10-30 12:33:11 +00:00
Ralf Corsepius 275999f515 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* itrontime01/init.c: Use "long"s for "time"s (16bit compliance).
	* itrontask04/task3.c: Add missing prototypes.
	* itrontask02/system.h, itrontask03/system.h, itrontask04/system.h:
	Add missing prototypes.
	* itrontask02/dormant.c: Add missing prototypes.
	* itrontask01/task1.c: Add missing prototypes.
	* itrontask01/system.h: Add missing prototypes.
	* itronsem01/init.c: Use PRId32 to print INT's.
	* itronmbf01/init.c: Add missing prototypes.
2009-10-30 11:10:23 +00:00
Ralf Corsepius abba9f4bab Use "long"s for "time"s (16bit compliance). 2009-10-30 11:10:16 +00:00
Ralf Corsepius 1b4b7f397b Add missing prototypes. 2009-10-30 11:09:13 +00:00
Ralf Corsepius 2960c42fab Use PRId32 to print INT's. 2009-10-30 11:02:00 +00:00
Thomas Doerfler 3d5515b6f7 Fixed group usage counting. See test "libtests/block02". 2009-10-30 10:57:39 +00:00
Ralf Corsepius 3fd5ece09b Update. 2009-10-30 10:38:27 +00:00
Ralf Corsepius 1ec894f831 New. 2009-10-30 10:37:33 +00:00
Ralf Corsepius 9decaef355 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxfatal02/testcase.h: Fall back to INT_MAX as posix stack size in
	if 12MB are too big for a target (16bit compliance).
2009-10-30 10:33:53 +00:00
Ralf Corsepius ea31572bdb Fall back to INT_MAX as posix stack size in if 12MB are too big for a target (16bit compliance). 2009-10-30 10:33:43 +00:00
Ralf Corsepius 2f91b2ed11 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx04/init.c: Use INT_MAX instead of 0xffffffff in call to kill()
	for 16bit compliance.
2009-10-30 10:31:43 +00:00
Ralf Corsepius 713185fd3f Use INT_MAX instead of 0xffffffff in call to kill() for 16bit compliance. 2009-10-30 10:31:32 +00:00
Ralf Corsepius 600f76da39 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* termios/init.c: Eliminate TRUE/FALSE, use bool instead of int.
2009-10-30 08:22:51 +00:00
Ralf Corsepius 80b991e917 Eliminate TRUE/FALSE, use bool instead of int. 2009-10-30 08:22:45 +00:00
Ralf Corsepius 7fa11e4e67 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* block02/init.c: Remove unused var.
2009-10-30 06:58:44 +00:00
Ralf Corsepius 80640ef8d8 Remove unused var. 2009-10-30 06:58:37 +00:00
Ralf Corsepius 845770a30b 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp63/init.c: Pass UINTPTR_MAX instead of 0xffffffff to
	_Heap_Allocate for 16bit compliance.
2009-10-30 06:12:41 +00:00
Ralf Corsepius 14be7a620c Pass UINTPTR_MAX instead of 0xffffffff to _Heap_Allocate for 16bit compliance. 2009-10-30 06:12:29 +00:00
Ralf Corsepius c0c139dc7d 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp44/init.c: Another printf format fix.
2009-10-30 06:09:38 +00:00
Ralf Corsepius 34ba5eb37f Another printf format fix. 2009-10-30 06:09:25 +00:00
Ralf Corsepius fdaa86b6f7 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx14/init.c: Add local prototypes for
	rtems_object_api_minimum_class, rtems_object_api_maximum_class.
	Reflect the prototypes having been missing to printf's.
2009-10-30 05:56:15 +00:00
Ralf Corsepius 372ce03c59 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx14/init.c: Add local prototypes for
	rtems_object_api_minimum_class, rtems_object_api_maximum_class.
	Reflect the prototypes having been missing to printf's.
2009-10-30 05:56:14 +00:00
Ralf Corsepius 72e975e606 2009-10-30 Ralf Corsépius <ralf.corsepiu@rtems.org>
* aclocal/gcc-sanity.m4: New.
	* configure.ac: Add RTEMS_CHECK_GCC_SANITY.
2009-10-30 05:45:51 +00:00
Ralf Corsepius 50f723461d New. 2009-10-30 05:45:40 +00:00
Till Straumann 385212f554 2009-10-29 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: Make sure stack is aligned to CPU_STACK_ALIGNMENT
	for *all* C-routines (including _Thread_Dispatch() and
	_ThreadProcessSignalsFromIrq()) not only C_dispatch_isr().

	* shared/irq/irq.c: Added IRQ statistics counters.
2009-10-30 04:07:51 +00:00
Till Straumann b01d7c7eeb 2009-10-29 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/cpu.h: Define _CPU_Interrupt_stack_setup() macro
	which reserves space for the 'vector' arg to _C_dispatch_isr()
	routine and aligns the irq stack to CPU_STACK_ALIGNMENT.
2009-10-29 16:29:46 +00:00
Till Straumann 429978f437 2009-10-29 Till Straumann <strauman@slac.stanford.edu>
* score/src/isr.c: Check if CPU defined _CPU_Interrupt_stack_setup()
	macro hook for setting up the interrupt stack (alignment, reserving
	space etc.) after the framework allocates it.
2009-10-29 16:27:45 +00:00
Till Straumann 287e4a8b6b 2009-10-29 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: Beautification; ajusted margins and
	spaces to make the whole thing more readable.
2009-10-29 16:05:05 +00:00
Till Straumann 1fe3e3cf25 2009-10-29 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/irq/irq.c: removed
	(fake) exception frame argument to _ThreadProcessSignalsFromIrq().
	This has never been used and removing it simplifies the assembly
	code.
2009-10-29 15:53:31 +00:00
Thomas Doerfler 90d2402223 Added block02, block03 and block04 2009-10-29 12:55:30 +00:00
Thomas Doerfler b5b07cad7d - - Reorderd AVL node fields to save space
- Fixed printf() formats. New structure for waiters synchronization. Added BDBUF_INVALID_DEV define. New error handling in rtems_bdbuf_init().
- Release disk in case of an error.
2009-10-29 12:50:01 +00:00
Thomas Doerfler 982ca110ca Aded ramdisk_register(). 2009-10-29 12:47:04 +00:00
Ralf Corsepius 82a8addafb 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp37/init.c: Add local prototypes for
	rtems_interrupt_disable, rtems_interrupt_enable,
	rtems_interrupt_flash, rtems_interrupt_is_in_progress.
2009-10-29 09:34:28 +00:00
Ralf Corsepius 7e2992304d 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp43/init.c: Add local prototypes for
	rtems_object_api_minimum_class, rtems_object_api_maximum_class,
	rtems_build_id, rtems_build_name, rtems_object_id_api_maximum,
	rtems_object_id_api_minimum, rtems_object_id_get_api,
	rtems_object_id_get_class, rtems_object_id_get_index,
	rtems_object_id_get_node.
	Spray PRId32's into printf's for 16bit target complianance.
2009-10-29 09:21:32 +00:00
Ralf Corsepius 487b470d4c 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp37/init.c: Add local prototype for
	rtems_interrupt_level_attribute.
2009-10-29 07:43:05 +00:00
Ralf Corsepius 787114813b Add local prototype for rtems_interrupt_level_attribute. 2009-10-29 07:42:55 +00:00
Ralf Corsepius 3b9ab80e4b 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* monitor02/init.c: Add local prototype for
	rtems_shell_main_monitor.
2009-10-29 07:22:14 +00:00
Ralf Corsepius b48baaf60b Add local prototype for rtems_shell_main_monitor. 2009-10-29 07:22:07 +00:00
Ralf Corsepius b81342765a 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/netconfig.h: Add UL suffix to long constants to avoid
	implicit integer overflows on 16bit targets.
2009-10-29 06:36:46 +00:00
Ralf Corsepius eee3bc1b73 Add UL suffix to long constants to avoid
implicit integer overflows on 16bit targets.
2009-10-29 06:36:40 +00:00
Ralf Corsepius 3021db1d30 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxsysconf/init.c:
	Comment out sysconf(LONG_MAX) check (not useful).
	Change sysconf(0x12345678) check into sysconf(INT_MAX) for better
	16bit compliance.
2009-10-29 05:45:56 +00:00
Ralf Corsepius dc4fbb81d1 Comment out sysconf(LONG_MAX) check (not useful).
Change sysconf(0x12345678) check into sysconf(INT_MAX) for better
16bit compliance.
2009-10-29 05:45:49 +00:00
Ralf Corsepius f163c50f15 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx11/task.c: Use long for nsecs.
2009-10-29 05:01:01 +00:00
Ralf Corsepius 71c2deaf27 Use long for nsecs. 2009-10-29 05:00:52 +00:00
Ralf Corsepius 14da2e71a0 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx10/init.c: Pass 0x7FFF instead of 0xFFFFFF as invalid pshared
	attribute to pthread_condattr_setpshared for 16bit target compliance.
2009-10-29 04:51:39 +00:00
Ralf Corsepius cf980b19f7 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx10/init.c: Pass 0x7FFF instead of 0xFFFFFF as invalid pshared
	attribute to pthread_condattr_setpshared for 16bit target compliance.
2009-10-29 04:51:38 +00:00
Till Straumann 78667e388a 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/cpu.h: Replaced misleading typedef of
	CPU_Interrupt_frame by 'void'. The i386 port does not
	pass any frame info to the interrupt handlers.
2009-10-29 03:59:17 +00:00
Till Straumann af3bf16045 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, score/cpu/i386/ChangeLog: moved log messages
	I had erroneously written to cpukit/Changelog to
	cpukit/score/cpu/i386/ChangeLog.
2009-10-29 03:57:05 +00:00