mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-05 15:15:25 +00:00
Change ARM7 byte alignment to 8.
This commit is contained in:
@@ -86,7 +86,7 @@ extern "C" {
|
|||||||
/* Hardware specifics. */
|
/* Hardware specifics. */
|
||||||
#define portSTACK_GROWTH ( -1 )
|
#define portSTACK_GROWTH ( -1 )
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portBYTE_ALIGNMENT 4
|
#define portBYTE_ALIGNMENT 8
|
||||||
#define portYIELD() asm ( "SWI 0" )
|
#define portYIELD() asm ( "SWI 0" )
|
||||||
#define portNOP() asm ( "NOP" )
|
#define portNOP() asm ( "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ extern "C" {
|
|||||||
/* Hardware specifics. */
|
/* Hardware specifics. */
|
||||||
#define portSTACK_GROWTH ( -1 )
|
#define portSTACK_GROWTH ( -1 )
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portBYTE_ALIGNMENT 4
|
#define portBYTE_ALIGNMENT 8
|
||||||
#define portYIELD() asm ( "SWI 0" )
|
#define portYIELD() asm ( "SWI 0" )
|
||||||
#define portNOP() asm ( "NOP" )
|
#define portNOP() asm ( "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ extern "C" {
|
|||||||
/* Hardware specifics. */
|
/* Hardware specifics. */
|
||||||
#define portSTACK_GROWTH ( -1 )
|
#define portSTACK_GROWTH ( -1 )
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portBYTE_ALIGNMENT 4
|
#define portBYTE_ALIGNMENT 8
|
||||||
#define portYIELD() asm ( "SWI 0" )
|
#define portYIELD() asm ( "SWI 0" )
|
||||||
#define portNOP() asm ( "NOP" )
|
#define portNOP() asm ( "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ extern "C" {
|
|||||||
/* Hardware specifics. */
|
/* Hardware specifics. */
|
||||||
#define portSTACK_GROWTH ( -1 )
|
#define portSTACK_GROWTH ( -1 )
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portBYTE_ALIGNMENT 4
|
#define portBYTE_ALIGNMENT 8
|
||||||
#define portYIELD() asm ( "SWI 0" )
|
#define portYIELD() asm ( "SWI 0" )
|
||||||
#define portNOP() asm ( "NOP" )
|
#define portNOP() asm ( "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ extern "C" {
|
|||||||
/* Hardware specifics. */
|
/* Hardware specifics. */
|
||||||
#define portSTACK_GROWTH ( -1 )
|
#define portSTACK_GROWTH ( -1 )
|
||||||
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portBYTE_ALIGNMENT 4
|
#define portBYTE_ALIGNMENT 8
|
||||||
#define portYIELD() asm ( "SWI 0" )
|
#define portYIELD() asm ( "SWI 0" )
|
||||||
#define portNOP() asm ( "NOP" )
|
#define portNOP() asm ( "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user