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
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