Re: [PATCH] or1k fix bug: Initialize thread context with higher stack address.

2014-09-28 Thread Hesham Moustafa
Hi, Please do not miss this patch, it fixes a critical bug in the new or1k port. Regards, Hesham On Fri, Sep 19, 2014 at 4:55 PM, Hesham ALMatary wrote: > Since or1k architecture stack grows down, threads should be initialized > with high stack addresses instead of lower ones. This is done in

[PATCH] or1k fix bug: Initialize thread context with higher stack address.

2014-09-19 Thread Hesham ALMatary
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. --- cpukit/score/cpu/or1k/or1k-context-initialize.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cp