summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/nios2 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1126-54/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* nios2: New functionsSebastian Huber2012-04-112-0/+49
| | | | | | Add o _Nios2_MPU_Get_region_descriptor(), and o _Nios2_MPU_Set_region_registers().
* nios2: API changeSebastian Huber2012-04-113-4/+4
|
* NIOS2: Add MPU support functionsSebastian Huber2012-03-304-21/+165
|
* NIOS2: Fix outermost interrupt checkSebastian Huber2012-03-301-1/+4
| | | | | This fix is critical. The previous implementation leads to system corruption.
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-10-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-218-2/+409
| | | | | | | | * nios2-mpu-configuration.c, nios2-mpu-descriptor.c, nios2-mpu-disable-protected.c, nios2-mpu-reset.c: New files. * Makefile.am: Reflect changes above. * rtems/score/nios2-utility.h, nios2-context-initialize.c: Added support for the memory protection unit (MPU).
* 2011-09-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-302-4/+7
| | | | | * nios2-context-switch.S: Use small-data area access for _Per_CPU_Information fields.
* 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-272-0/+7
| | | | | PR 1914/cpukit * rtems/score/cpu.h: Select timestamp implementation.
* 2011-09-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-168-4/+401
| | | | | | | | * nios2-eic-il-low-level.S, nios2-eic-rsie-low-level.S: New files. * Makefile.am: Reflect changes above. * rtems/score/cpu.h, rtems/score/nios2-utility.h, nios2-thread-dispatch-disabled.c, nios2-context-switch.S: Added support for thread stack protection via the MPU.
* 2011-09-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-142-4/+6
| | | | | * rtems/score/cpu.h: Request cache alignment and small data area in CPU_STRUCTURE_ALIGNMENT.
* 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-092-2/+6
| | | | | * nios2-thread-dispatch-disabled.c: Use offsetof() instead of RTEMS_offsetof().
* 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-024-5/+10
| | | | | * rtems/score/nios2-utility.h, nios2-isr-set-level.c, nios2-isr-get-level.c: Renamed functions.
* 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-022-12/+9
| | | | | * rtems/score/nios2-utility.h: Use the same values for defines used by Altera HAL.
* 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-024-13/+48
| | | | | | | * rtems/score/nios2-utility.h: Avoid redefines with Altera HAL. Declare _Nios2_ISR_Set_level(). * nios2-context-initialize.c: Use _Nios2_ISR_Set_level(). * nios2-isr-set-level.c: Define _Nios2_ISR_Set_level().
* 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-0119-304/+908
| | | | | | | | | | | | | | | | * cpu.c, cpu_asm.S: Removed files. * nios2-context-initialize.c, nios2-context-switch.S, nios2-fatal-halt.c, nios2-initialize-vectors.c, nios2-initialize.c, nios2-isr-get-level.c, nios2-isr-install-raw-handler.c, nios2-isr-install-vector.c, nios2-isr-is-in-progress.c, nios2-isr-set-level.c, nios2-thread-dispatch-disabled.c, rtems/score/nios2-utility.h: New files. * Makefile.am, preinstall.am: Reflect changes above. * irq.c: Update due to API changes. * rtems/score/cpu.h: New functions _CPU_Initialize_vectors(), _CPU_ISR_Set_level(), and _CPU_Fatal_halt() (instead of macros). Support for external interrupt controller (EIC). Documentation changes.
* 2011-08-18 Chris Johns <chrisj@rtems.org>Chris Johns2011-08-186-52/+119
| | | | | | | | | | | | * cpu.c: Fix the ISR get level for the IIC. Make _CPU_Context_Initialize a function rather than inlined. * cpu_asm.S: Do not enable interrupt on return, rather resume the state on entry to the ISR. * irq.c, nios2/nios2-iic-low-level.S: Change the ISR handler so the ipending decoding is in C and within the interrupt context. This is usable with the Altera HAL directly. * rtems/score/cpu.h: Add ienable and ipending interfaces. Add some comments. Remove _CPU_Context_Initialize.
* 2011-08-14 Chris Johns <chrisj@rtems.org>Chris Johns2011-08-143-7/+83
| | | | | | * rtems/score/cpu.h: Clear the vector table for simple vectored interrupts. * irq.c: Add support for using the IIC with the Altera HAL.
* 2011-08-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-102-1157/+143
| | | | | | * rtems/score/cpu.h: Removed superfluous comments. Format. Include by assembler support. Removed superfluous floating-point support. Stack alignment is now 4.
* 2011-08-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-103-66/+5
| | | | * rtems/score/cpu.h, cpu.c: Removed superfluous functions.
* 2011-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-094-300/+331
| | | | | | * nios2-iic-low-level.S: New file. * cpu_asm.S: Moved low-level interrupt handling into new file. * Makefile.am: Reflect change from above.
* 2011-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-093-31/+33
| | | | | | * cpu_asm.S, rtems/score/cpu.h: There is no need to save the global pointer (gp) in the thread register context since it is a system wide constant and set-up with the C runtime environment.
* 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-242-10/+10
| | | | | * cpu.c: Remove /*PAGE markers which were interpreted by a long dead print script.
* 2011-05-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-05-182-2/+8
| | | | * Makefile.am: Reformat.
* 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.comJennifer Averett2011-04-211-3/+3
| | | | | | | | | | | | | PR 1777/cpukit * libcsupport/src/malloc_deferred.c, libcsupport/src/realloc.c, score/Makefile.am, score/cpu/lm32/irq.c, score/cpu/nios2/irq.c, score/include/rtems/score/coremutex.h, score/include/rtems/score/thread.h, score/inline/rtems/score/thread.inl, score/src/heapfree.c, score/src/pheapwalk.c, score/src/smp.c, score/src/threaddispatch.c: Consolidated access to _Thread_Dispatch_disable_level. * score/src/threaddisabledispatch.c, score/src/threadenabledispatch.c: New files.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-1/+6
| | | | | * irq.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-212-1/+7
| | | | | | * 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-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-302-1/+7
| | | | | | PR 1599/cpukit * irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
* 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-293-2/+13
| | | | | | | | | | | 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-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-163-12/+8
| | | | | * rtems/score/cpu.h: Include <rtems/score/types.h> first. * rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-293-24/+11
| | | | | | | | PR 1573/cpukit * irq.c, 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 <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-274-0/+16
| | | | * cpu.c, cpu_asm.S, irq.c: Add include of config.h
* Whitespace removal.Ralf Corsepius2009-12-025-37/+37
|
* 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-022-6/+4
| | | | * cpu_asm.S: Eliminate extern of unused variables.
* 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-03-022-1/+5
| | | | * cpu.c: Remove stray semi-colon.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-123-2/+7
| | | | | * 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 <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-113-41/+9
| | | | | | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments.
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* Fix typo.Ralf Corsepius2008-12-071-1/+1
|
* 2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-112-6/+11
| | | | | * rtems/score/types.h: Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.
* 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-1012-0/+2450
| | | | | | | | | | | | | | | | | | | | * configure.ac, aclocal/canonical-target-name.m4: Readd NIOS2 and TI C4x. Accidentally not done on 4.9 branch. :( * score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog, score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c, score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c, score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h, score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h, score/cpu/c4x/rtems/score/cpu_asm.h, score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h, score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog, score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c, score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c, score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h, score/cpu/nios2/rtems/score/cpu.h, score/cpu/nios2/rtems/score/cpu_asm.h, score/cpu/nios2/rtems/score/nios2.h, score/cpu/nios2/rtems/score/types.h: New files.
* 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-1012-2450/+0
| | | | | | | | | | | | | | | | | | | | * configure.ac, aclocal/canonical-target-name.m4, score/cpu/Makefile.am: Remove TI C4x and NIOS2 ports from 4.9 branch. * score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog, score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c, score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c, score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h, score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h, score/cpu/c4x/rtems/score/cpu_asm.h, score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h, score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog, score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c, score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c, score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h, score/cpu/nios2/rtems/score/cpu.h, score/cpu/nios2/rtems/score/cpu_asm.h, score/cpu/nios2/rtems/score/nios2.h, score/cpu/nios2/rtems/score/types.h: Removed.
* 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-082-1/+5
| | | | * rtems/score/cpu.h: Remove extraneous spaces.
* 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-08-211-0/+5
| | | | | * rtems/score/types.h: Include stdbool.h. Use bool as base-type for boolean.
* Include stdbool.h. Use bool as base-type for boolean.Ralf Corsepius2008-08-211-1/+2
|
* 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-07-313-2/+6
| | | | * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
* 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-052-0/+21
| | | | | | | | * 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-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-172-0/+7
| | | | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.