URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc
- from Rev 524 to Rev 525
- ↔ Reverse comparison
Rev 524 → Rev 525
/trunk/rtos/ucos-ii/2.91/ChangeLog-OR32
1,3 → 1,6
2011-04-20 Julius Baxter <julius@opencores.org> |
* ucos-port/os_cpu_c.c: |
(OSTaskStkInit): Made stack initialisation skip red zone (128 bytes). |
2011-01-14 Julius Baxter <julius@opencores.org> |
* config.mk: <LDFLAGS>: Added entry point at 0x100 (decimal 256). |
|
/trunk/rtos/ucos-ii/2.91/ucos-port/os_cpu_c.c
287,7 → 287,8
********************************************************************************************************* |
*/ |
|
OS_STK *OSTaskStkInit (void (*task)(void *pd), void *pdata, OS_STK *ptos, INT16U opt) |
OS_STK *OSTaskStkInit (void (*task)(void *pd), void *pdata, OS_STK *ptos, |
INT16U opt) |
{ |
OS_STK *stk; |
OS_STK *fp; |
298,6 → 299,7
|
opt = opt; /* 'opt' is not used, prevent warning */ |
stk = ptos; /* Load stack pointer */ |
stk -=32; /* Skip over red zone, 32 words */ |
stk--; |
|
*stk-- = (OS_STK)(pdata); /* fp+0 -> parameter 0 */ |