Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove AVR port | Joel Sherrill | 2016-01-19 | 1 | -1176/+0 |
| | | | | closes #2443. | ||||
* | basedefs.h: Add and use RTEMS_NO_RETURN | Sebastian Huber | 2015-10-26 | 1 | -1/+1 |
| | |||||
* | score: Delete unused CPU_UNROLL_ENQUEUE_PRIORITY | Sebastian Huber | 2015-03-05 | 1 | -24/+0 |
| | |||||
* | avr/rtems/score/cpu.h: Fix macros to avoid warnings | Joel Sherrill | 2014-10-09 | 1 | -6/+5 |
| | |||||
* | Let CPU/BSP Fatal handler have access to source | Daniel Hellstrom | 2014-09-10 | 1 | -1/+1 |
| | | | | | | | | | Without the source the error code does not say that much. Let it be up to the CPU/BSP to determine the error code reported on fatal shutdown. This patch does not change the current behaviour, just adds the option to handle the source of the fatal halt. | ||||
* | score: Rename Priority_bit_map_Control | Sebastian Huber | 2014-04-03 | 1 | -1/+1 |
| | | | | Rename Priority_bit_map_Control in Priority_bit_map_Word. | ||||
* | Change all references of rtems.com to rtems.org. | Chris Johns | 2014-03-21 | 1 | -1/+1 |
| | |||||
* | score: Add CPU counter support | Sebastian Huber | 2014-02-14 | 1 | -0/+12 |
| | | | | | | | | | 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) support | Sebastian Huber | 2014-02-04 | 1 | -1/+2 |
| | | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work. | ||||
* | score/cpu: Add CPU_Per_CPU_control | Sebastian Huber | 2013-08-09 | 1 | -0/+6 |
| | | | | Add CPU port specific per-CPU control. | ||||
* | score: Add CPU context validation | Sebastian Huber | 2013-05-10 | 1 | -0/+12 |
| | |||||
* | score: Doxygen Clean Up Task #14 | Alex Ivanov | 2013-01-10 | 1 | -4/+6 |
| | |||||
* | score: Add CPU_Exception_frame | Sebastian Huber | 2012-11-27 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | 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_POINTER | Sebastian Huber | 2012-11-22 | 1 | -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 Script | Joel Sherrill | 2012-05-11 | 1 | -2/+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. | ||||
* | 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2011-09-27 | 1 | -0/+2 |
| | | | | | PR 1914/cpukit * rtems/score/cpu.h: Select timestamp implementation. | ||||
* | 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2011-07-24 | 1 | -2/+1 |
| | | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Remove /*PAGE markers which were interpreted by a long dead print script. | ||||
* | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> | Ralf Corsepius | 2011-02-11 | 1 | -6/+6 |
| | | | | | * cpu.c, avr/interrupt.h, avr/power.h, rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance. | ||||
* | 2010-11-06 Joel Sherrill <joel.sherrilL@OARcorp.com> | Joel Sherrill | 2010-11-06 | 1 | -1/+1 |
| | | | | | PR 1715/cpukit * rtems/score/cpu.h: Fix typo on _CPU_Context_Restart_self. | ||||
* | 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2010-10-21 | 1 | -2/+2 |
| | | | | | | * 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 <giddyup44@yahoo.com> | Joel Sherrill | 2010-07-29 | 1 | -1/+1 |
| | | | | | | | | | | | 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 <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2010-07-27 | 1 | -0/+8 |
| | | | | | * rtems/asm.h: Fixed header guard. * rtems/score/cpu.h: Assembler compatibility fixes. | ||||
* | 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> | Sebastian Huber | 2010-07-16 | 1 | -4/+2 |
| | | | | | * 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 Sherrill | 2010-06-29 | 1 | -20/+0 |
| | | | | | | | | 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-05-10 Joel Sherrill <joel.sherrilL@OARcorp.com> | Joel Sherrill | 2010-05-10 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am, cpu_asm.S, avr/boot.h, avr/common.h, avr/crc16.h, avr/delay.h, avr/eeprom.h, avr/fuse.h, avr/interrupt.h, avr/io.h, avr/io1200.h, avr/io2313.h, avr/io2323.h, avr/io2333.h, avr/io2343.h, avr/io43u32x.h, avr/io43u35x.h, avr/io4414.h, avr/io4433.h, avr/io4434.h, avr/io76c711.h, avr/io8515.h, avr/io8534.h, avr/io8535.h, avr/io86r401.h, avr/io90pwm1.h, avr/io90pwm216.h, avr/io90pwm2b.h, avr/io90pwm316.h, avr/io90pwm3b.h, avr/io90pwm81.h, avr/io90pwmx.h, avr/io90scr100.h, avr/ioa6289.h, avr/ioat94k.h, avr/iocan128.h, avr/iocan32.h, avr/iocan64.h, avr/iocanxx.h, avr/iom103.h, avr/iom128.h, avr/iom1280.h, avr/iom1281.h, avr/iom1284p.h, avr/iom128rfa1.h, avr/iom16.h, avr/iom161.h, avr/iom162.h, avr/iom163.h, avr/iom164.h, avr/iom165.h, avr/iom165p.h, avr/iom168.h, avr/iom168p.h, avr/iom169.h, avr/iom169p.h, avr/iom16hva.h, avr/iom16m1.h, avr/iom16u4.h, avr/iom2560.h, avr/iom2561.h, avr/iom32.h, avr/iom323.h, avr/iom324.h, avr/iom325.h, avr/iom3250.h, avr/iom328p.h, avr/iom329.h, avr/iom3290.h, avr/iom32c1.h, avr/iom32hvb.h, avr/iom32m1.h, avr/iom32u4.h, avr/iom32u6.h, avr/iom406.h, avr/iom48.h, avr/iom48p.h, avr/iom64.h, avr/iom640.h, avr/iom644.h, avr/iom645.h, avr/iom6450.h, avr/iom649.h, avr/iom6490.h, avr/iom64c1.h, avr/iom64m1.h, avr/iom8.h, avr/iom8515.h, avr/iom8535.h, avr/iom88.h, avr/iom88p.h, avr/iom8hva.h, avr/iomx8.h, avr/iomxx0_1.h, avr/iomxx4.h, avr/iomxxhva.h, avr/iotn11.h, avr/iotn12.h, avr/iotn13.h, avr/iotn13a.h, avr/iotn15.h, avr/iotn167.h, avr/iotn22.h, avr/iotn2313.h, avr/iotn24.h, avr/iotn25.h, avr/iotn26.h, avr/iotn261.h, avr/iotn28.h, avr/iotn43u.h, avr/iotn44.h, avr/iotn45.h, avr/iotn461.h, avr/iotn48.h, avr/iotn84.h, avr/iotn85.h, avr/iotn861.h, avr/iotn87.h, avr/iotn88.h, avr/iotnx4.h, avr/iotnx5.h, avr/iotnx61.h, avr/iousb1286.h, avr/iousb1287.h, avr/iousb162.h, avr/iousb646.h, avr/iousb647.h, avr/iousb82.h, avr/iousbxx2.h, avr/iousbxx6_7.h, avr/iox128a1.h, avr/iox128a3.h, avr/iox16a4.h, avr/iox16d4.h, avr/iox256a3.h, avr/iox256a3b.h, avr/iox32a4.h, avr/iox32d4.h, avr/iox64a1.h, avr/iox64a3.h, avr/lock.h, avr/parity.h, avr/pgmspace.h, avr/portpins.h, avr/power.h, avr/sfr_defs.h, avr/signal.h, avr/sleep.h, avr/version.h, avr/wdt.h, rtems/asm.h, rtems/score/cpu.h: Update to avr .h files from avr-libc 1.6.8. Tinker with code and includes to eliminate warnings. Now builds multilib. * avr/iom169pa.h, avr/iom16a.h, avr/iom16hva2.h, avr/iom16hvb.h, avr/iom16u2.h, avr/iom324pa.h, avr/iom32u2.h, avr/iom644p.h, avr/iom644pa.h, avr/iom649p.h, avr/iom64hve.h, avr/iom88pa.h, avr/iom8u2.h, avr/iotn2313a.h, avr/iotn24a.h, avr/iotn261a.h, avr/iotn4313.h, avr/iotn44a.h, avr/iotn461a.h, avr/iotn861a.h, avr/iox128d3.h, avr/iox192a3.h, avr/iox192d3.h, avr/iox256d3.h, avr/iox64d3.h, avr/signature.h: New files. | ||||
* | Whitespace removal. | Ralf Corsepius | 2009-11-30 | 1 | -12/+12 |
| | |||||
* | 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca> | Joel Sherrill | 2009-08-11 | 1 | -1/+1 |
| | | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in _CPU_Context_Initialize. | ||||
* | 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2009-07-28 | 1 | -19/+1 |
| | | | | | | | * cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well enough to run ticker to completion with the simulator clock idle task. But if you comment out the printk's in _CPU_Context_Initialize, it hangs. This remains to be investigated. | ||||
* | 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca> | Joel Sherrill | 2009-07-06 | 1 | -9/+104 |
| | | | | | | | | | | | | | | | | | * cpu.c: Implemented _CPU_Context_Initialize as a C function instead of a macro. It works with limited functionality. Implemented _CPU_Thread_Idle_body to use sleep instruction. * Makefile.am: Changed cpu_asm.c -> cpu_asm.S * cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm * rtems/asm.h: Appended "macros.inc" to the end of "asm.h" * rtems/score/cpu.h: + Included "avr/io.h". + Added use 16 bit object definition. + Modified Context_Control struct to relect the registers that need to be saved. + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash. Added function definitions for _CPU_Context_Initialize and _CPU_Push. | ||||
* | 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2009-05-05 | 1 | -1/+6 |
| | | | | | * rtems/score/cpu.h: Lower number of priorities and do not inline as much. | ||||
* | 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2009-05-05 | 1 | -2/+2 |
| | | | | | * rtems/score/cpu.h: Lower minimum stack size to 512 and CPU alignment to 4. | ||||
* | 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2009-02-27 | 1 | -1/+1 |
| | | | | * rtems/score/cpu.h: AVR stack grows down. | ||||
* | 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com> | Joel Sherrill | 2009-02-12 | 1 | -1/+1 |
| | | | | | * 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 Sherrill | 2009-02-11 | 1 | -19/+1 |
| | | | | | | * cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and passing address of _Thread_Dispatch to _CPU_Initialize. Clean up comments. | ||||
* | Add missing prototypes. | Ralf Corsepius | 2008-08-21 | 1 | -1/+1 |
| | |||||
* | 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2008-07-31 | 1 | -1/+1 |
| | | | | * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. | ||||
* | 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2008-06-05 | 1 | -0/+13 |
| | | | | | | | | * 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 Sherrill | 2007-12-17 | 1 | -0/+4 |
| | | | | * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. | ||||
* | 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> | Joel Sherrill | 2007-12-04 | 1 | -15/+0 |
| | | | | | | * 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 <joel.sherrill@OARcorp.com> | Joel Sherrill | 2007-12-03 | 1 | -30/+0 |
| | | | | | | | | | * 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-09 Ralf Corsépius <ralf.corsepius@rtems.org> | Ralf Corsepius | 2007-05-09 | 1 | -1/+0 |
| | | | | * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. | ||||
* | Use Context_Control_fp* instead of void* for fp_contexts. | Ralf Corsepius | 2007-04-17 | 1 | -3/+3 |
| | | | | Eliminate evil casts. | ||||
* | 2006-01-16 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2006-01-16 | 1 | -6/+5 |
| | | | | | | * 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-02-19 Ralf Corsepius <ralf.corsepius@rtems.org> | Ralf Corsepius | 2005-02-19 | 1 | -58/+58 |
| | | | | * rtems/score/cpu.h: Remove traces from NO_CPU. | ||||
* | New header guard. | Ralf Corsepius | 2005-01-28 | 1 | -2/+2 |
| | |||||
* | 2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org> | Ralf Corsepius | 2005-01-24 | 1 | -2/+2 |
| | | | | * rtems/score/cpu.h: *_swap_u32( uint32_t ). | ||||
* | 2004-10-02 Ralf Corsepius <ralf_corsepius@rtems.org> | Ralf Corsepius | 2004-11-02 | 1 | -2/+5 |
| | | | | | | | * rtems/score/avr.h: Add doxygen preamble. * rtems/score/cpu.h: Add doxygen preamble. * rtems/score/cpu_asm.h: Add doxygen preamble. * rtems/score/types.h: Add doxygen preamble. | ||||
* | 2004-09-29 Joel Sherrill <joel@OARcorp.com> | Joel Sherrill | 2004-09-29 | 1 | -4/+1 |
| | | | | * rtems/score/cpu.h: i960 obsoleted and all references removed. | ||||
* | New. | Ralf Corsepius | 2004-09-24 | 1 | -0/+1142 |