| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
closes 2326.
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #2304
|
| |
|
| |
|
| |
|
|
|
|
|
| |
4e3d9a4d6c76fba8e31138d503f736405dafc213 broke or1k, cpuatomic.h has to
be added to all architectures.
|
| |
|
| |
|
|
|
|
|
|
| |
Since or1k architecture stack grows down, threads should be initialized
with high stack addresses instead of lower ones. This is done in
_CPU_Context_Initialize function.
|
|
|
|
|
|
|
|
| |
This patch adjusts ISR_Handler to exactly follow the pseudo code introduced
in
http://rtems.org/onlinedocs/doc-current/share/rtems/html/porting/Interrupts-Interrupt-Dispatching.html
It adds two new checkings on _Thread_Dispatch_disable_level and _ISR_Nest_level
after returning from the C handler.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allocate a space in the stack to account for red-zone
that gcc may utilize for the use of leaf functions. Care must be
taken to handle this red-zone from many places:
1- Upon creation of a new thread stack.
2- Once an interrupt entred.
Also moving the enable-thread-dispach() and increment ISR level before
checking if dispatch needed was required.
The previous modifications solved the printf bug which disabled ticker
to output strings after context switches that arise from Thread_Delay_ended.
|
|
|
|
|
|
| |
This patchs follows the latest commit by Daniel Hellstrom that
requires _CPU_Fatal_halt to have _source passed to it along with
_error number.
|
|
|
|
|
| |
This patch regenerates preinstall.am file after Chris fixup regarding
preinstall.am files gerenration from bootstrap -p command.
|
|
|
|
|
|
| |
score/cpu/or1k: Add two new assembly functions: _CPU_Context_validate
and _CPU_Context_volatile_clobber; their implementation follows
corresponding ARM functions.
|
|
|
|
|
| |
_ISR_Handler: r31 was not loaded in restore function. This patch
adds this load.
|
| |
|
| |
|
|
This work is based on the old or32 port (that has been
removed back in 2005) authored by Chris Ziomkowski. The patch includes the
basic functions every port should implement like: context switch, exception
handling, OpenRISC ABI and machine definitions and configurations.
|