Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce portMEMORY_BARRIER for Microblaze port. #621

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions portable/GCC/MicroBlaze/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ void vTaskSwitchContext();
#define portSTACK_GROWTH ( -1 )
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
#define portNOP() asm volatile ( "NOP" )
#define portMEMORY_BARRIER() asm volatile ( "" ::: "memory" )
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I should define all these or just for the MicroBlazeV9 port?

/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
Expand Down
1 change: 1 addition & 0 deletions portable/GCC/MicroBlazeV8/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ extern volatile uint32_t ulTaskSwitchRequested;
#define portSTACK_GROWTH ( -1 )
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
#define portNOP() asm volatile ( "NOP" )
#define portMEMORY_BARRIER() asm volatile ( "" ::: "memory" )
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
Expand Down
1 change: 1 addition & 0 deletions portable/GCC/MicroBlazeV9/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ extern volatile uint32_t ulTaskSwitchRequested;
#define portSTACK_GROWTH ( -1 )
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
#define portNOP() asm volatile ( "NOP" )
#define portMEMORY_BARRIER() asm volatile ( "" ::: "memory" )
/*-----------------------------------------------------------*/

#if( XPAR_MICROBLAZE_USE_STACK_PROTECTION )
Expand Down