2010-07-29 Gedare Bloom 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. 2010-07-27 Sebastian Huber * rtems/score/cpu.h: Assembler compatibility fixes. 2010-07-16 Sebastian Huber * rtems/score/cpu.h: Include first. * rtems/score/types.h: Use header file. 2010-06-28 Joel Sherrill 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. 2010-06-16 Joel Sherrill * cpu_asm.S: Use SYM macro to be consistent with other ports. 2010-04-20 Allan Hessenflow * 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. 2010-04-17 Allan Hessenflow * 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. 2010-04-17 Mike Frysinger * cpu.c: Blackfin ABI requires L registers to be 0 upon function entry. 2010-03-27 Joel Sherrill * Makefile.am: Remove unused file. * irq.c: Removed. 2009-05-25 Allan Hessenflow PR 1417/cpukit * rtems/score/cpu.h: corrected _CPU_ISR_Flash implementation, added core synchronization after all cli/sti. 2009-03-12 Joel Sherrill 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. 2009-02-12 Joel Sherrill * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument. 2009-02-11 Joel Sherrill * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments. 2008-09-11 Ralf Corsépius * rtems/score/types.h: Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given. 2008-09-08 Joel Sherrill * cpu.c: Remove extraneous spaces. 2008-09-05 Ralf Corsépius * cpu.c, rtems/score/cpu.h: Convert to "bool". 2008-08-21 Ralf Corsépius * rtems/score/types.h: Include stdbool.h. Use bool as base-type for boolean. 2008-08-15 Joel Sherrill * ChangeLog: Add correct entry. 2008-08-13 Allan Hessenflow * cpu.c, cpu_asm.S, irq.c, rtems/score/cpu.h, rtems/score/cpu_asm.h: reworked interrupt handling to fix context switching. 2008-07-31 Joel Sherrill * rtems/score/cpu.h: Correct prototype of Idle threads. 2008-06-05 Joel Sherrill * 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. 2007-12-20 Joel Sherrill * rtems/score/cpu.h: Use correct register name. 2007-12-17 Joel Sherrill * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. 2007-12-17 Joel Sherrill * cpu.c, irq.c, rtems/score/cpu_asm.h: Sweep to make sure grep for COPYRIGHT passes. 2007-12-04 Joel Sherrill * 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-03 Joel Sherrill * 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-09-10 Alain Schaefer * 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 2007-09-10 Alain Schaefer * rtems/bfin/bf533.h: Add more definitions. 2007-05-31 Alain Schaefer * 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. 2007-05-24 Alain Schaefer * rtems/score/cpu.h: Fix incorrect interrupt mask. 2007-04-17 Joel Sherrill * rtems/bfin/bf533.h: Fix warnings about constants being too large. 2007-04-17 Ralf Corsépius * rtems/score/cpu.h: Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts. 2006-11-17 Ralf Corsépius * rtems/score/types.h: Remove unsigned64, signed64. 2006-11-09 Ralf Corsépius * rtems/bfin/bf533.h, rtems/bfin/bfin.h: Remove stray whitespaces. * rtems/score/bfin.h: Use __BFIN__ instead of BFIN. 2006-11-08 Ralf Corsépius * cpu_asm.S: Re-add HI, LO. 2006-11-08 Ralf Corsépius * irq.c: Add missing newline. * rtems/score/cpu.h: Eliminate hidden backspaces. 2006-10-24 Joel Sherrill * rtems/bfin/bfin.h: Eliminate hi, lo, HI, LO, and MK_BMSK. 2006-10-24 Alain Schaefer * Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/score/bfin.h: Clean up rtems/score/bfin.h removing parts that are not needed by RTEMS CPUkit to bfin specific .h files. * rtems/bfin/bf533.h, rtems/bfin/bfin.h: New files. 2006-10-23 Joel Sherrill * cpu.c, rtems/score/cpu.h: Use the default IDLE thread body. 2006-10-23 Joel Sherrill * .cvsignore, ChangeLog, Makefile.am, cpu.c, cpu_asm.S, irq.c, preinstall.am, rtems/asm.h, rtems/score/bfin.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/types.h: New files. 2006-10-20 Alain Schaefer * all files : Initial version