Commit Graph

20234 Commits

Author SHA1 Message Date
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
Ralf Corsepius
2b5b8064de 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp13/task3.c: Use PRIu32 to print "count".
2009-10-27 11:54:37 +00:00
Ralf Corsepius
fda2929d58 Use PRIu32 to print "count". 2009-10-27 11:54:22 +00:00
Ralf Corsepius
5306b49757 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* termios01/init.c: Fix parity_table_Entry type.
	Correct parity_table initialization.
	Add PRIdrtems_termios_baud_t.
	Use PRIdrtems_termios_baud_t to print rtems_termios_baud_t's.
2009-10-27 11:43:46 +00:00
Ralf Corsepius
14664255e8 Fix parity_table_Entry type.
Correct parity_table initialization.
Add PRIdrtems_termios_baud_t.
Use PRIdrtems_termios_baud_t to print rtems_termios_baud_t's.
2009-10-27 11:43:29 +00:00
Ralf Corsepius
72cbbad1ce 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp09/screen12.c: Segment sizes are uintptr_t's.
	* sp09/screen11.c: Use size_t for "size".
2009-10-27 11:32:11 +00:00
Ralf Corsepius
b1c8964896 Segment sizes are uintptr_t's. 2009-10-27 11:32:04 +00:00
Ralf Corsepius
cce4d0da50 Use size_t for "size". 2009-10-27 11:29:03 +00:00
Ralf Corsepius
f60b6325a8 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp62/init.c: segment sizes are uintptr_t's.
2009-10-27 11:14:26 +00:00
Ralf Corsepius
01dd894934 segment sizes are uintptr_t's. 2009-10-27 11:14:19 +00:00
Ralf Corsepius
35435d80d3 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp25/task1.c: Use PRIuPTR to print segment_size's.
	* sp21/task1.c: Add PRIurtems_device_major_number.
2009-10-27 09:05:49 +00:00
Ralf Corsepius
92dc34322f Use PRIuPTR to print segment_size's. 2009-10-27 09:04:54 +00:00
Ralf Corsepius
d19ee726e7 Add PRIurtems_device_major_number. 2009-10-27 09:03:52 +00:00
Ralf Corsepius
443f184577 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxmsgq02/init.c:
	Remove cast in call to fatal_posix_service_status_errno.
2009-10-27 08:16:02 +00:00
Ralf Corsepius
cdfa0e6306 Remove cast in call to fatal_posix_service_status_errno. 2009-10-27 08:15:55 +00:00
Ralf Corsepius
69c6619f7e 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp11/task1.c, sp11/task2.c:
	Use PRIxrtems_event_set to print rtems_event_set's.
2009-10-27 08:14:04 +00:00
Ralf Corsepius
f15fc6ac97 Use PRIxrtems_event_set to print rtems_event_set's. 2009-10-27 08:13:58 +00:00
Ralf Corsepius
d0f47c22fb 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxrtems_event_set.
	(fatal_posix_service_status_errno) Add local "long" var "statx".
2009-10-27 08:12:25 +00:00
Ralf Corsepius
acf5212020 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp09/screen13.c: Revert previous change.
	Remove broken extraneous line seemingly having crept into in
	2009-08-10 patch.
2009-10-27 07:51:51 +00:00
Ralf Corsepius
2b48505a96 Remove extraneous argument to print. 2009-10-27 07:30:34 +00:00
Ralf Corsepius
94418bd4eb 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* spsize/size.c: Use PRIu32 to print sys_req.
2009-10-27 07:27:55 +00:00
Ralf Corsepius
44c6b5bcb8 Use PRIu32 to print sys_req. 2009-10-27 07:27:43 +00:00
Ralf Corsepius
e8d172060e 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp37/init.c: Add missing argument to printf.
2009-10-27 07:12:25 +00:00
Ralf Corsepius
79c49e1ae4 Add missing argument to printf. 2009-10-27 07:12:05 +00:00
Ralf Corsepius
bf3a0a0460 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* base_sp/apptask.c, unlimited/init.c:
	Use PRIdrtems_task_argument to print rtems_task_argument's.
2009-10-27 06:59:32 +00:00
Ralf Corsepius
073dff354d Use PRIdrtems_task_argument to print rtems_task_argument's. 2009-10-27 06:59:20 +00:00
Ralf Corsepius
6fa28e901d 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp44/init.c, sp35/priinv.c, sp33/init.c, sp28/init.c,
	sp12/pritask.c, sp34/changepri.c:
	Use PRIdrtems_task_argument to print rtems_task_argument's.
2009-10-27 06:57:49 +00:00
Ralf Corsepius
7354b34824 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIdThread_Entry_numeric_type.
	Add PRIdrtems_task_argument.
2009-10-27 06:53:15 +00:00
Ralf Corsepius
15b7644e55 Add PRIdThread_Entry_numeric_type.
Add PRIdrtems_task_argument.
2009-10-27 06:53:07 +00:00
Ralf Corsepius
e292c66130 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp25/task1.c: segment_size is uintptr_t.
	* spfatal06/testcase.h: Add missing return.
2009-10-27 05:17:55 +00:00
Ralf Corsepius
4ee0bda56c segment_size is uintptr_t. 2009-10-27 05:17:31 +00:00
Ralf Corsepius
b9547eef8c Add missing return. 2009-10-27 05:15:19 +00:00
Ralf Corsepius
13910fc85c 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxenosys/init.c:
	Add missing args in calls to execl, execlp, execle.
2009-10-27 05:13:56 +00:00
Ralf Corsepius
dd06f5cba2 Add missing args in calls to execl, execlp, execle. 2009-10-27 05:13:49 +00:00
Ralf Corsepius
f32b613fcf 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/pthread36.c: Use HAVE_DECL_PTHREAD_ATTR_GETCPUTIME.
	* psxhdrs/pthread35.c: Use HAVE_DECL_PTHREAD_ATTR_SETCPUTIME.
	* psx07/init.c: Use HAVE_DECL_PTHREAD_ATTR_GETCPUTIME,
	HAVE_DECL_PTHREAD_ATTR_SETCPUTIME.
	* configure.ac:
	Add AC_CHECK_DECLS pthread_attr_getcputime, pthread_attr_setcputime.
2009-10-27 05:04:01 +00:00