Changeset eb14fc2b in rtems for cpukit

Timestamp:
09/15/14 22:33:28 (10 years ago)
Author:
Hesham ALMatary <heshamelmatary@…>
Branches:
4.11, 5, master
Children:
5f56d267
Parents:
7f8a978
git-author:
Hesham ALMatary <heshamelmatary@…> (09/15/14 22:33:28)
git-committer:
Joel Sherrill <joel.sherrill@…> (09/16/14 14:52:56)
Message:

OpenRISC: Account for red-zone (fixup printf bug).

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.