2011-10-07 Daniel Hellstrom PR 1932/cpukit * cpu_asm.S: At some point the interrupt trap handler causes a window-overflow and the window overflow trap handler crashes when writing to 0. I found that this is because the WIM was bad, to the window overflow handler uses a uninitialized stack pointer in a window never used. * g3=CWP, not WIM * CWP is incremented by done_flushing no need doing that here also * I see no reason to create an additional stack frame (save) * Must turn off traps when updating WIM (maybe already done by caller?) 2011-09-27 Sebastian Huber PR 1914/cpukit * rtems/score/cpu.h: Select timestamp implementation. 2011-07-24 Joel Sherrill * cpu.c: Remove /*PAGE markers which were interpreted by a long dead print script. 2011-06-21 Joel Sherrill * rtems/score/cpu.h, rtems/score/sparc.h, rtems/score/types.h: Convert comments to Doxygen style and improve. 2011-05-17 Ralf Corsépius * Makefile.am: Reformat. 2011-04-18 Joel Sherrill * rtems/score/sparc.h: Remove warnings. 2011-02-11 Ralf Corsépius * rtems/score/cpu.h, rtems/score/sparc.h: Use "__asm__" instead of "asm" for improved c99-compliance. 2010-11-16 Joel Sherrill * cpu.c: Remove unused variable reported by clang. 2010-10-21 Joel Sherrill * 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. 2010-07-29 Gedare Bloom 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-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-03-27 Joel Sherrill * cpu.c, cpu_asm.S: Add include of config.h 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 * 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-04 Joel Sherrill PR 1294/bsps * rtems/score/cpu.h, rtems/score/sparc.h: Correct prototype and usage of sparc_disable_interrupts. 2008-08-04 Joel Sherrill * rtems/score/cpu.h: Spacing. 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. 2008-02-20 Alexandru Bugnar PR 1278/cpukit * cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler. 2007-12-17 Joel Sherrill * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. 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-05-10 Joel Sherrill PR 1237/rtems * cpu.c, cpu_asm.S, rtems/score/cpu.h: Add logic to prevent stack creep when interrupts occur at a sufficient rate that the interrupted thread never gets to clean its stack. This patch ensures that an interrupted thread will not nest ISR dispatches on its stack. 2007-05-09 Ralf Corsépius * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. 2007-04-17 Ralf Corsépius * cpu.c: Use Context_Control_fp* instead of void* for fp_contexts. * 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-14 Jiri Gaisler * cpu_asm.S: Properly support synchronous traps. 2006-01-16 Joel Sherrill * rtems/score/cpu.h: Part of a large patch to improve Doxygen output. As a side-effect, grammar and spelling errors were corrected, spacing errors were address, and some variable names were improved. 2005-11-08 Ralf Corsepius * rtems/score/types.h: Eliminate unsigned16, unsigned32. 2005-10-27 Ralf Corsepius * rtems/asm.h: Remove private version of CONCAT macros. Include instead. 2005-02-08 Ralf Corsepius * Makefile.am: Split out preinstallation rules. * preinstall.am: New (Split out from Makefile.am). 2005-02-04 Ralf Corsepius PR 754/rtems * rtems/asm.h: New (relocated from .). * asm.h: Remove (moved to rtems/asm.h). * Makefile.am: Reflect changes above. 2004-01-28 Ralf Corsepius * asm.h, rtems/score/cpu.h, rtems/score/sparc.h, rtems/score/types.h: New header guards. 2005-01-24 Ralf Corsepius * rtems/score/types.h: Remove signed8, signed16, signed32, unsigned8, unsigned16, unsigned32. 2005-01-24 Ralf Corsepius * rtems/score/cpu.h: *_swap_u32( uint32_t ). 2005-01-24 Ralf Corsepius * rtems/score/types.h: #include . 2005-01-22 Ralf Corsepius * rtems/score/cpu.h: Fix broken #endif. 2005-01-07 Ralf Corsepius * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V. 2005-01-01 Ralf Corsepius * Makefile.am: Remove build-variant support. 2004-11-21 Ralf Corsepius * rtems/score/types.h: Use __rtems_score_types_h as preprocessor guard. 2004-11-21 Ralf Corsepius * asm.h: Add doxygen preamble. 2004-10-02 Ralf Corsepius * rtems/score/cpu.h: Add doxygen preamble. * rtems/score/sparc.h: Add doxygen preamble. * rtems/score/types.h: Add doxygen preamble. 2004-04-06 Ralf Corsepius * configure.ac: Remove (Merged into$(top_srcdir)/configure.ac). * Makefile.am: Don't include multilib.am. Reflect merging configure.ac into $(top_srcdir)/configure.ac. 2004-04-01 Ralf Corsepius * Makefile.am: Install asm.h to $(includedir)/rtems. 2004-04-01 Ralf Corsepius * cpu_asm.S: Include instead of . 2004-03-30 Ralf Corsepius * cpu.c, rtems/score/cpu.h, rtems/score/sparc.h: Convert to using c99 fixed size types. 2004-03-29 Ralf Corsepius * configure.ac: RTEMS_TOP([../../../..]). 2004-02-26 Andreas Karlsson 604/bsps * cpu_asm.S: Close window while restoring interrupted task state which resulted in CWP corruption. 2004-01-21 Ralf Corsepius * configure.ac: Move RTEMS_TOP one subdir down. 2004-01-19 Ralf Corsepius * Makefile.am: Add PREINSTALL_DIRS. 2004-01-14 Ralf Corsepius * Makefile.am: Re-add dirstamps to PREINSTALL_FILES. Add PREINSTALL_FILES to CLEANFILES. 2004-01-12 Ralf Corsepius * configure.ac: Requires automake >= 1.8.1. 2004-01-11 Ralf Corsepius * Makefile.am: Include compile.am, again. 2004-01-11 Ralf Corsepius * Makefile.am: Convert to using automake compilation rules. 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. 2003-12-12 Ralf Corsepius * configure.ac: Require automake >= 1.8, autoconf >= 2.59. 2003-12-01 Ralf Corsepius * Makefile.am: Remove TMPINSTALL_FILES. 2003-11-30 Ralf Corsepius * Makefile.am: Add $(dirstamp) to preinstallation rules. 2003-11-23 Ralf Corsepius * Makefile.am: Don't use gmake rules for preinstallation. 2003-10-21 Ralf Corsepius * configure.ac: Remove RTEMS_CANONICAL_HOST. 2003-10-21 Ralf Corsepius * configure.ac: Remove RTEMS_CHECK_CPU. 2003-09-04 Joel Sherrill * cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/sparc.h, rtems/score/types.h: URL for license changed. 2003-08-11 Ralf Corsepius * configure.ac: Use rtems-bugs@rtems.com as bug report email address. 2003-03-06 Ralf Corsepius * configure.ac: Remove AC_CONFIG_AUX_DIR. 2002-12-11 Ralf Corsepius * configure.ac: Require autoconf-2.57 + automake-1.7.2. * Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS. 2002-11-19 Ralf Corsepius * configure.ac: Fix package name. 2002-10-25 Ralf Corsepius * configure.ac: Add nostdinc to AM_INIT_AUTOMAKE. 2002-10-21 Ralf Corsepius * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache. 2002-08-08 Ralf Corsepius * cpu.c: Move pointer into #ifdef to avoid compiler warning. 2002-07-26 Ralf Corsepius * Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel. 2002-07-22 Ralf Corsepius * Makefile.am: Use .$(OBJEXT) instead of .o. 2002-07-05 Ralf Corsepius * configure.ac: RTEMS_TOP(../../../..). 2002-07-03 Ralf Corsepius * rtems.S: Remove. * Makefile.am: Reflect changes above. 2002-07-01 Ralf Corsepius * configure.ac: Remove RTEMS_PROJECT_ROOT. 2002-06-27 Ralf Corsepius * configure.ac: Add RTEMS_PROG_CCAS 2002-06-27 Ralf Corsepius * configure.ac: Use AC_CONFIG_AUX_DIR(../../../..). Add AC_PROG_RANLIB. 2002-06-17 Ralf Corsepius * Makefile.am: Include $(top_srcdir)/../../../automake/*.am. Use ../../../aclocal. 2002-04-01 Ralf Corsepius * cpu.c: Remove call to sparc_init_tbr/NO_TABLE_MOVE. * rtems/score/cpu.h: Remove NO_TABLE_MOVE conditional code. 2001-04-03 Joel Sherrill * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/sparctypes.h: Removed. * rtems/score/types.h: New file via CVS magic. * Makefile.am, rtems/score/cpu.h: Account for name change. 2002-03-28 Ralf Corsepius * cpu.c: Replace NO_TABLE_MOVE-support by external function (code moved to libcpu/sparc/tbr/tbr.c). * cpu.h: Replace NO_TABLE_MOVE-support by external function (code moved to libcpu/sparc/tbr/tbr.h). * sparc.h: Add sparc_init_tbr (implemented in libcpu/sparc/tbr/tbr.c). 2002-03-27 Ralf Corsepius * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS. 2002-01-31 Ralf Corsepius * Makefile.am: Reflect 2002-01-23 changes. 2001-01-30 Joel Sherrill * Makefile.am: Corrected so .h files from rtems/score/ are installed. 2002-01-23 Ralf Corsepius * rtems/Makefile.am: Removed. * rtems/score/Makefile.am: Removed. * configure.ac: Reflect changes above. 2001-12-19 Ralf Corsepius * Makefile.am: Add multilib support. 2001-11-28 Joel Sherrill , This was tracked as PR91. * rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which is used to specify if the port uses the standard macro for this (FALSE). A TRUE setting indicates the port provides its own implementation. 2001-10-11 Ralf Corsepius * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate. 2001-09-27 Jiri Gaisler * cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The bug has been there all the time, but only hits the leon bsp since the leon cpu has a 5-stage pipeline (erc32 has 4 stages). 2001-09-23 Ralf Corsepius * rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * Makefile.am: Use 'PREINSTALL_FILES ='. 2001-02-04 Ralf Corsepius * Makefile.am, rtems/score/Makefile.am: Apply include_*HEADERS instead of H_FILES. 2001-01-03 Joel Sherrill * rtems/score/cpu.h: Added _CPU_Initialize_vectors(). * cpu_asm.S: Modify to properly dereference _ISR_Vector_table now that it is dynamically allocated. 2000-12-06 Joel Sherrill * cpu.c: Added include of to eliminate warning. 2000-11-21 Jiri Gaisler * cpu_asm.S: Fix for CPUs with FPU revision B or C. 2000-11-14 Jiri Gaisler * cpu.c, rtems/cpu/sparc.h: Make floating point optional based on gcc arguments. Do not initialize FP context if there is no FPU. Flush instruction cache after installing RTEMS trap handler. 2000-11-09 Ralf Corsepius * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. 2000-11-02 Ralf Corsepius * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal. 2000-10-25 Ralf Corsepius * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization. 2000-09-04 Ralf Corsepius * Makefile.am: Include compile.am. 2000-08-10 Joel Sherrill * ChangeLog: New file.