Commit Graph

19615 Commits

Author SHA1 Message Date
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
Till Straumann
23303c0311 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: Make sure initial stack is aligned
	to CPU_STACK_ALIGNMENT before calling C-code.
2009-10-29 03:22:19 +00:00
Ralf Corsepius
edfc0f9260 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* fileio/init.c: Use %zd to print ssize_t.
2009-10-29 03:21:40 +00:00
Till Straumann
abf41fdf99 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: Make sure stack is aligned to
	CPU_STACK_ALIGNMENT before invoking C-code.
2009-10-29 03:20:21 +00:00
Till Straumann
b80e8572ca 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* displayCpu.c: Fixed formatting for prettier printing;
	don't print more than 8 flags on a single line of output.
2009-10-29 03:16:47 +00:00
Till Straumann
a6d48e3941 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/i386/rtems/score/cpu.h:
	Added #ifdef ASM constructs so that this header can be
	included from assembly code.

	Increased CPU_STACK_ALIGNMENT to 16 bytes. Gcc maintains
	16-byte alignment and it may be a advantageous to provide
	initial 16-byte alignment. When using SSE some gcc versions
	may produce code that crashes if the stack is not 16-byte aligned.

	Make sure _CPU_Context_Initialize() sets the thread stack
	up so that it is aligned to CPU_CACHE_ALIGNMENT.

	* score/cpu/i386/cpu_asm.S:
	Align stack to CPU_CACHE_ALIGNMENT before calling C-code.
2009-10-29 03:15:03 +00:00
Till Straumann
caf761f0d3 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* cpuModel.S, cpuModel.h, displayCpu.c: Save/cache CPUID:ECX
	(extended capabilities) in a new variable (x86_capability_x).
	Added more known flag description strings (printCpuInfo())
	and let 'printCpuInfo()' dump the extended feature flags, too.
2009-10-28 21:40:14 +00:00
Ralf Corsepius
4914af40d7 New. 2009-10-28 16:00:09 +00:00
Ralf Corsepius
36fcb0236a Update. 2009-10-28 15:45:18 +00:00
Till Straumann
16e1b4582d 2009-10-27 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/i386/rtems/asm.h: Added definition for cr4 register.
2009-10-28 02:45:24 +00:00
Ralf Corsepius
51d7b75ff5 2009-10-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxbarrier01/test.c: Include <tmacros.h>
2009-10-28 02:29:19 +00:00
Ralf Corsepius
b3051ac71e 2009-10-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxbarrier01/test.c: Include <tmacros.h>
2009-10-28 02:29:18 +00:00
Till Straumann
7699617f2a 2009-12-27 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, console/console.c: Provide weak-alias
	hook so that the application may choose the console.
2009-10-28 01:24:10 +00:00
Ralf Corsepius
b3acedb565 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxpthread_t.
2009-10-27 14:13:13 +00:00
Ralf Corsepius
01f1a20e86 Add PRIxpthread_t. 2009-10-27 14:12:59 +00:00
Ralf Corsepius
e1a76274fa 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx01/init.c, psx01/task.c, psx02/init.c, psx03/init.c,
	psx04/init.c, psx05/init.c, psx06/init.c, psx07/init.c,
	psx08/init.c, psx09/init.c, psx10/task.c, psx10/task2.c,
	psx10/task3.c, psx11/init.c, psx12/init.c, psxalarm01/init.c,
	psxbarrier01/test.c, psxkey01/init.c, psxkey01/task.c,
	psxmsgq02/init.c, psxsignal01/init.c, psxualarm/init.c:
	Use PRIxpthread_t to print pthread_t's.
2009-10-27 14:11:03 +00:00
Ralf Corsepius
39615f481a Use PRIxpthread_t to print pthread_t's. 2009-10-27 14:10:54 +00:00
Ralf Corsepius
749eae9753 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp29/init.c: Include "tmacros.h".
	Misc. changes related to rtems_intervals.
2009-10-27 12:12:59 +00:00
Ralf Corsepius
7dcba143fb Include "tmacros.h".
Misc. changes related to rtems_intervals.
2009-10-27 12:12:48 +00:00
Ralf Corsepius
ae218607c0 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp14/asr.c: Add PRIxrtems_signal_set.
	Use PRIxrtems_signal_set to print rtems_signal_set's.
2009-10-27 11:58:41 +00:00
Ralf Corsepius
26a0d29b2c Add PRIxrtems_signal_set.
Use PRIxrtems_signal_set to print rtems_signal_set's.
2009-10-27 11:58:34 +00:00