summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/lm32 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Rename Priority_bit_map_ControlSebastian Huber2014-04-032-2/+2
| | | | Rename Priority_bit_map_Control in Priority_bit_map_Word.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-219-9/+9
|
* score: Add CPU counter supportSebastian Huber2014-02-142-0/+13
| | | | | | | | | Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
* Add thread-local storage (TLS) supportSebastian Huber2014-02-041-1/+1
| | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work.
* score: Simplify <rtems/score/cpuatomic.h>WeiY2013-08-281-30/+6
| | | | Add proper license and copyright.
* score/cpu: Add CPU_Per_CPU_controlSebastian Huber2013-08-091-0/+6
| | | | Add CPU port specific per-CPU control.
* Include missing <rtems/score/threaddispatch.h>Sebastian Huber2013-07-261-3/+1
|
* update-all-architectures-to-new-atomic-implementationWeiY2013-07-171-6/+4
|
* score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2013-06-141-1/+1
| | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
* score: Add CPU context validationSebastian Huber2013-05-101-0/+12
|
* Revert bootstrap whitespace changes.Chris Johns2013-05-101-0/+1
|
* Using the generic atomic ops to implement UP mode atomic for all ↵WeiY2013-05-013-0/+44
| | | | architectures. SMP atomic port will be later.
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-156/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-101-13/+7
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* score: Doxygen Clean Up Task #4Alex Ivanov2013-01-085-650/+676
|
* score misc: Score misc: Clean up Doxygen #9 (GCI 2012)Alex Ivanov2012-11-302-40/+12
| | | | | | | This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. https://google-melange.appspot.com/gci/task/view/google/gci2012/7977211
* score: Add CPU_Exception_frameSebastian Huber2012-11-273-0/+30
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* score: PR1607: Add and use CPU_SIZEOF_POINTERSebastian Huber2012-11-221-0/+2
| | | | | | | | | | | | | | | | | Add and use new CPU port define CPU_SIZEOF_POINTER. It must be an integer literal that can be used by the assembler. This value will be used to calculate offsets of structure members. These offsets will be used in assembler code. The size of a pointer is part of the application binary interface (ABI) and thus independent of the actual programming language. The compiler will provide defines to determine the current ABI. We use these defines to select the appropriate CPU_SIZEOF_POINTER value. Static assertions in the new file "cpukit/score/src/percpuasm.c" will ensure that the value of CPU_SIZEOF_POINTER is consistent with the current compiler settings. Also the offset values used by assembler code are verfied.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-119-20/+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
|
* lm32: replace lm32_isr with rtems_isrGedare Bloom2012-04-161-6/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-11-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-282-24/+17
| | | | | | PR 1956/cpukit * rtems/score/cpu.h: Correct multiple alignment constants. Improve comments.
* Move entries to correct file.Joel Sherrill2011-11-091-0/+12
|
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-091-3/+3
| | | | | PR 1954/cpukit * score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-092-2/+9
| | | | | PR 1955/cpukit * rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
* 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-08-18 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>Sebastian Huber2011-08-182-2/+6
| | | | | PR 1868/lm32 * irq.c: Bugfix.
* 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-2/+2
| | | | | | | | | | | | | 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-114-13/+18
| | | | | * cpu.c, irq.c, rtems/score/lm32.h: 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-09-26 Yann Sionneau <yann@minet.net>Joel Sherrill2010-09-262-1/+7
| | | | | | PR 1697/cpukit * rtems/score/cpu.h: lm32 really needs aligned stack. Recent changes highlighted that this macro was incorrect.
* 2010-08-20 <yann.sionneau@telecom-sudparis.eu>Joel Sherrill2010-08-202-0/+7
| | | | * rtems/score/lm32.h: Add lm32_read_interrupts().
* 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-22/+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-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-292-1/+5
| | | | * irq.c: Change _exception_stack_frame into void*.
* 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-252-4/+8
| | | | * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
* 2010-04-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-152-1/+6
| | | | * rtems/score/cpu.h: Make _gp global.
* 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
* 2010-03-02 Michael Walle <michael@walle.cc>Joel Sherrill2010-03-022-3/+11
| | | | | * cpu.c: Provide body for CPU specific Idle thread. This halts on qemu but is just a nop on a real cpu.
* Whitespace removal.Ralf Corsepius2009-12-044-37/+37
|
* 2009-05-05 Michael Walle <michael@walle.cc>Joel Sherrill2009-05-054-0/+31
| | | | * cpu_asm.S, irq.c, rtems/score/cpu.h: Add lm32 gdb stub support.
* 2009-04-14 Michael Walle <michael@walle.cc>Joel Sherrill2009-04-145-140/+220
| | | | | | | | | | | | * cpu.h: corrected the registers in Context_Control and in CPU_Interrupt_frame to correspond to the saved frame in cpu_asm.S Also switched on CPU_ISR_PASSES_FRAME_POINTER. * cpu_asm.S: Moved the restore part of _CPU_Context_switch for easier reading. Fixed _CPU_Context_restore, it now moves the argument and branches to a label in _CPU_Context_switch. Removed unnecessary saves of registers in context switch and irq handling. Rewrote irq code to call the C helper. Added some documentation * irq.c: New file derived from c4x and nios2.
* 2009-04-06 Michael Walle <michael@walle.cc>Joel Sherrill2009-04-062-0/+6
| | | | | * cpu_asm.S: We cannot use any other register than r0 without saving them to the stack. (_ISR_Handler clears r0 right at the beginning)
* 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.