From e27121ef1273f160933d0e3c2d3fc43ee4938b60 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 12 Feb 2008 17:46:50 +0000 Subject: [PATCH] Work in progress. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@169 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/portable/Softune/MB91460/port.c | 7 ++++--- Source/portable/Softune/MB91460/portmacro.h | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Source/portable/Softune/MB91460/port.c b/Source/portable/Softune/MB91460/port.c index 4c1d425fc..969f39826 100644 --- a/Source/portable/Softune/MB91460/port.c +++ b/Source/portable/Softune/MB91460/port.c @@ -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 */ diff --git a/Source/portable/Softune/MB91460/portmacro.h b/Source/portable/Softune/MB91460/portmacro.h index cd8642332..5b4ba3136 100644 --- a/Source/portable/Softune/MB91460/portmacro.h +++ b/Source/portable/Softune/MB91460/portmacro.h @@ -43,6 +43,9 @@ #ifndef PORTMACRO_H #define PORTMACRO_H +#include "mb91467d.h" +#include + /*----------------------------------------------------------- * 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 -- 2.39.5