mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Work in progress.
This commit is contained in:
parent
161e266c97
commit
bdea62587e
|
@ -161,9 +161,10 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
|
|||
*pxTopOfStack = ( portSTACK_TYPE ) 0x00005555; /* R5 */
|
||||
pxTopOfStack--;
|
||||
|
||||
/* In the current implemention of the compiler the first parameter to the task(or function) is passed
|
||||
via R4 parameter to the task, hennce the pvParameters pointer is copied in R4 regsiter. See compiler
|
||||
manual section 4.6.2 for more information.*/
|
||||
/* In the current implemention of the compiler the first
|
||||
parameter to the task(or function) is passed via R4 parameter
|
||||
to the task, hennce the pvParameters pointer is copied in R4
|
||||
regsiter. See compiler manual section 4.6.2 for more information.*/
|
||||
*pxTopOfStack = ( portSTACK_TYPE ) (pvParameters); /* R4 */
|
||||
pxTopOfStack--;
|
||||
*pxTopOfStack = ( portSTACK_TYPE ) 0x00003333; /* R3 */
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
#ifndef PORTMACRO_H
|
||||
#define PORTMACRO_H
|
||||
|
||||
#include "mb91467d.h"
|
||||
#include <stddef.h>
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* Port specific definitions.
|
||||
*
|
||||
|
@ -58,7 +61,7 @@
|
|||
#define portFLOAT float
|
||||
#define portDOUBLE double
|
||||
#define portLONG long
|
||||
#define portSHORT int
|
||||
#define portSHORT short
|
||||
#define portSTACK_TYPE unsigned portLONG
|
||||
#define portBASE_TYPE long
|
||||
|
||||
|
|
Loading…
Reference in a new issue