I'm just reading through a header files for task code in ESP8266 SDK.
I found this line and wondering what does the word PRIVILEGED_FUNCTION
after the function arguments braces means ?
void vTaskDelay( const TickType_t xTicksToDelay ) PRIVILEGED_FUNCTION;
PRIVILEGED_FUNCTION
is defined here, but why it's used after the function braces ?
/* Ensure API functions go in the privileged execution section. */
#define PRIVILEGED_FUNCTION __attribute__((section("privileged_functions")))
#define PRIVILEGED_DATA __attribute__((section("privileged_data")))