Implement MicroBlazeV9 stack protection (#523)

* Implement stack protection for MicroBlaze (without MPU wrappers)
This commit is contained in:
Gavin Lambert 2022-08-03 18:31:18 +12:00 committed by GitHub
parent bfe057367d
commit 63f86fc7a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 75 additions and 11 deletions

View file

@ -152,6 +152,11 @@ extern volatile uint32_t ulTaskSwitchRequested;
#define portNOP() asm volatile ( "NOP" )
/*-----------------------------------------------------------*/
#if( XPAR_MICROBLAZE_USE_STACK_PROTECTION )
#define portHAS_STACK_OVERFLOW_CHECKING 1
#endif
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )