| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
| |
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Select timestamp implementation.
|
|
|
|
|
| |
* cpu.c: Remove /*PAGE markers which were interpreted by a long dead
print script.
|
|
|
|
| |
* Makefile.am: Reformat.
|
|
|
|
|
|
|
|
| |
PR 1781/bsps
* bfin/rtems/bf52x.h: This file defines basic MMR for the Blackfin
52x CPU. The MMR have been taken from the ADSP-BF52x Blackfin
Processor Hardware Reference from Analog Devices. Mentioned
Chapters refer to this Documentation.
|
|
|
|
|
| |
* rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1635/cpukit
* rtems/score/cpu.h, 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.
|
|
|
|
| |
* rtems/score/cpu.h: Assembler compatibility fixes.
|
|
|
|
|
| |
* rtems/score/cpu.h: Include <rtems/score/types.h> first.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
|
|
|
|
|
|
|
|
| |
PR 1573/cpukit
* cpu_asm.S, rtems/score/cpu.h: Add a per cpu data structure which
contains the information required by RTEMS for each CPU core. This
encapsulates information such as thread executing, heir, idle and
dispatch needed.
|
|
|
|
| |
* cpu_asm.S: Use SYM macro to be consistent with other ports.
|
|
|
|
|
|
|
| |
* cpu_asm.S: L0-L3 were part of the interrupt context, but as
Mike Frysinger noted they were not being zeroed before calling
the C handlers. A patch that corrects this, as well as improving
some of the push/pop order to avoid stalls.
|
|
|
|
|
|
| |
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Fine tune registers saved in the
context. The sp and imask registers need to be saved. Also allocated
12 bytes on the stack at thread entry as the abi requires that.
|
|
|
|
| |
* cpu.c: Blackfin ABI requires L registers to be 0 upon function entry.
|
|
|
|
|
| |
* Makefile.am: Remove unused file.
* irq.c: Removed.
|
| |
|
| |
|
|
|
|
|
|
| |
PR 1418/cpukit
* rtems/score/cpu.h: corrected _CPU_ISR_Flash implementation, added
core synchronization after all cli/sti.
|
|
|
|
|
|
|
|
| |
PR 1385/cpukit
* cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
the size changed from 4 bytes to 1 byte. The interrupt dispatching
code accesses two boolean variables for scheduling purposes and the
assembly implementations of this code did not get updated.
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
consistently return void * and take a uintptr_t argument.
|
|
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
passing address of _Thread_Dispatch to _CPU_Initialize. Clean up
comments.
|
| |
|
| |
|
|
|
|
|
| |
* rtems/score/types.h: Do not define boolean, single_precision,
double_precision unless RTEMS_DEPRECATED_TYPES is given.
|
|
|
|
| |
* cpu.c: Remove extraneous spaces.
|
|
|
|
| |
* cpu.c, rtems/score/cpu.h: Convert to "bool".
|
| |
|
|
|
|
|
| |
* rtems/score/types.h: Include stdbool.h.
Use bool as base-type for boolean.
|
| |
|
|
|
|
| |
* ChangeLog: Add correct entry.
|
|
|
|
|
|
|
| |
* rtems/include/rtems/rtems/ratemon.h,
rtems/include/rtems/rtems/status.h,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/object.h: Removed extraneous commas.
|
|
|
|
| |
* rtems/score/cpu.h: Correct prototype of Idle threads.
|
|
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
parameter to indicate that the port uses the Simple Vectored
Interrupt model or the Programmable Interrupt Controller Model. The
PIC model is implemented primarily in the BSP and it is responsible
for all memory allocation.
|
|
|
|
| |
* rtems/score/cpu.h: Use correct register name.
|
|
|
|
| |
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
|
|
|
|
|
| |
* cpu.c, irq.c, rtems/score/cpu_asm.h: Sweep to make sure grep for
COPYRIGHT passes.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* cpu_asm.S: Fix two problems:
- CC bit has been clobbered and was not correctly restored
- bfin hardware does not allow to read instructions from the L1
|
|
|
|
| |
* rtems/bfin/bf533.h: Add more definitions.
|
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Modifiy inline assembly language
constraints to use a data register as the CTL/STI
instructions requires. This is not only more correct,
it avoids GCC PR31787.
|
|
|
|
| |
* rtems/score/cpu.h: Fix incorrect interrupt mask.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* rtems/bfin/bf533.h: Fix warnings about constants being too large.
|
|
|
|
| |
Eliminate evil casts.
|
|
|
|
|
|
| |
* rtems/score/cpu.h:
Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
|
| |
|