Ralf Corsepius
c05f6238b9
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c, sse_test.c, rtems/score/cpu.h, rtems/score/i386.h,
rtems/score/interrupts.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:14:20 +00:00
Joel Sherrill
dcf368747f
2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h,
score/cpu/i386/rtems/score/idtr.h,
score/cpu/powerpc/rtems/powerpc/registers.h,
score/src/objectidtoname.c, score/src/schedulerpriorityblock.c,
score/src/schedulerpriorityschedule.c,
score/src/schedulerpriorityunblock.c,
score/src/schedulerpriorityyield.c, score/src/thread.c,
score/src/threadchangepriority.c, score/src/threadclearstate.c,
score/src/threadclose.c, score/src/threadcreateidle.c,
score/src/threaddelayended.c, score/src/threaddispatch.c,
score/src/threadget.c, score/src/threadhandler.c,
score/src/threadinitialize.c, score/src/threadloadenv.c,
score/src/threadready.c, score/src/threadreset.c,
score/src/threadrestart.c, score/src/threadresume.c,
score/src/threadsetpriority.c, score/src/threadsetstate.c,
score/src/threadsettransient.c, score/src/threadstackallocate.c,
score/src/threadstackfree.c, score/src/threadstart.c,
score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c:
Fix typo where license said found in found in.
2011-01-28 20:24:54 +00:00
Joel Sherrill
a44edd152f
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
...
PR 1635/cpukit
* rtems/score/types.h: Refactoring of priority handling, to isolate the
bitmap implementation of priorities in the supercore so that priority
management is a little more modular. This change is in anticipation
of scheduler implementations that can select how they manage tracking
priority levels / finding the highest priority ready task. Note that
most of the changes here are simple renaming, to clarify the use of
the bitmap-based priority management.
2010-07-29 17:52:00 +00:00
Sebastian Huber
89b85e5100
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/score/cpu.h: Include <rtems/score/types.h> first.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:46:29 +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
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
199041aa0e
2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpu.c, cpu_asm.S, sse_test.c: Add include of config.h
2010-03-27 15:01:47 +00:00
Ralf Corsepius
42e243eeef
Whitespace removal.
2009-12-04 04:27:21 +00:00
Till Straumann
b02f4cc11f
2009-11-09 Till Straumann <strauman@slac.stanford.edu>
...
* cpu.c, cpu_asm.S, rtems/score/cpu.h, sse_test.c:
Added experimental SSE support.
2009-11-10 06:55:28 +00:00
Till Straumann
70f6ff76e7
2009-11-09 Till Straumann <strauman@slac.stanford.edu>
...
PR 1469/cpukit
* cpu.c: Add dummy entry for (non-existing) exception #15 .
Otherwise all slots for vectors >= 16 are one element off.
2009-11-10 04:02:25 +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
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
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
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
Till Straumann
020363de10
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
...
* score/cpu/i386/cpu.c, score/cpu/i386/cpu.h: let the default
exception handler print a stack trace.
2009-10-20 14:51:37 +00:00
Joel Sherrill
1154ced949
2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/cpu.h: Add no return atrribute to _CPU_Context_restore()
since it is used for restarting self.
2009-09-25 12:07:54 +00:00
Joel Sherrill
cca8379862
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
consistently return void * and take a uintptr_t argument.
2009-02-12 15:55:55 +00:00
Joel Sherrill
c03e2bc8c7
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
comments.
2009-02-11 21:45:05 +00:00
Ralf Corsepius
1cb54d1f38
#include <stdint.h> instead of <rtems/stdint.h>.
2008-12-11 00:47:56 +00:00
Ralf Corsepius
383871acea
Fix typo.
2008-12-07 11:25:55 +00:00
Ralf Corsepius
6162bc2a1d
2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/types.h: Do not define boolean, single_precision,
double_precision unless RTEMS_DEPRECATED_TYPES is given.
2008-09-11 14:10:16 +00:00
Joel Sherrill
7fa919fc75
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Remove extraneous spaces.
2008-09-08 15:19:16 +00:00
Ralf Corsepius
917f816800
Stop using old-style defs.
2008-09-05 06:38:12 +00:00
Ralf Corsepius
a28ce53bce
2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c: Stop using old-style defs.
2008-09-05 06:38:02 +00:00
Ralf Corsepius
b7b6100115
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/types.h: Include stdbool.h.
Use bool as base-type for boolean.
2008-08-21 04:10:51 +00:00
Ralf Corsepius
30e2df697a
Include stdbool.h. Use bool as base-type for boolean.
2008-08-21 04:10:35 +00:00
Joel Sherrill
af063f6c01
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpu.c: Fix prototypes.
* rtems/score/cpu.h: Use memcpy() initialize FP structure and avoid
many casts and potential warnings.
2008-08-19 19:10:46 +00:00
Ralf Corsepius
93c6350aa1
2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h, rtems/score/i386.h: Add missing prototypes.
2008-08-16 05:46:35 +00:00
Ralf Corsepius
1b502424df
Add missing prototypes.
2008-08-16 05:46:28 +00:00
Joel Sherrill
3c87adba3f
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:56 +00:00
Joel Sherrill
0ca6d0d938
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
2007-12-17 22:35:25 +00:00
Joel Sherrill
3575d0c8f3
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/idtr.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:39 +00:00
Joel Sherrill
ee29de05bc
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
Table to Configuration Table. Eliminate CPU Table from all ports.
Delete references to CPU Table in all forms.
2007-12-04 22:19:10 +00:00
Joel Sherrill
4b89ba70ea
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
the Configuration Table. This included pretasking_hook,
predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
extra_mpci_receive_server_stack, stack_allocate_hook, and
stack_free_hook. As a side-effect of this effort some multiprocessing
code was made conditional and some style clean up occurred.
2007-12-03 22:22:55 +00:00
Joel Sherrill
83199e3caf
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and
interrupt_table_offset fields in the i386 CPU Table since they are
never read.
2007-11-26 22:06:34 +00:00
Joel Sherrill
60f016f59d
2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
executive initialization.
2007-05-22 20:57:34 +00:00
Ralf Corsepius
8b56aa3dea
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2007-05-09 15:28:52 +00:00
Ralf Corsepius
14865ec7b9
Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 05:50:27 +00:00
Ralf Corsepius
c1fb67b686
2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* cpu.c:
Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 05:46:16 +00:00
Ralf Corsepius
3c577510c8
2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/cpu.h:
Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 05:03:24 +00:00
Ralf Corsepius
3c86f88536
Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 04:55:44 +00:00
Ralf Corsepius
63a88eb0bc
Regenerate.
2007-01-08 08:43:28 +00:00
Ralf Corsepius
795da078a1
2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/score/types.h: Remove unsigned64, signed64.
2006-11-17 05:58:06 +00:00
Joel Sherrill
6952f3d948
2006-02-01 Joel Sherrill <joel@OARcorp.com>
...
* rtems/score/cpu.h: Increase default stack size on i386 from 1K to 4K.
Most i386 targets are not memory strapped so making this a bit large
is not a burden. It lets more tests run. ticker and psxtimer will not
even run with 1K of stack.
2006-02-01 20:59:48 +00:00
Ralf Corsepius
2eb7d07e17
Regenerate.
2006-01-14 06:20:35 +00:00
Ralf Corsepius
e24ae58a97
Regenerate.
2006-01-13 08:43:48 +00:00
Ralf Corsepius
4e971660a1
Remove all-local.
2006-01-12 09:57:43 +00:00
Ralf Corsepius
6ce2a66b94
Regenerate.
2006-01-12 04:24:13 +00:00
Ralf Corsepius
dbe8e5194c
Cleanups
2006-01-12 04:19:28 +00:00