mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-10-09 23:53:04 -04:00
Optional PRIVILEGED_DATA wrapper + Partner-Supported-Ports submodule update (#1433)
- Instead, when MPU wrappers are not used, allow port to override PRIVILEGED_FUNCTION, PRIVILEGED_DATA, or FREERTOS_SYSTEM_CALL selectively, permitting custom section placement at link-time. - Allows critical data to be placed in port-specific location for improved performance, notably for cache-coherent SMP. - Does not require enabling the full MPU wrappers.
This commit is contained in:
parent
7625c72410
commit
8be86d4a24
2 changed files with 12 additions and 4 deletions
|
|
@ -286,9 +286,17 @@
|
|||
|
||||
#else /* portUSING_MPU_WRAPPERS */
|
||||
|
||||
#ifndef PRIVILEGED_FUNCTION
|
||||
#define PRIVILEGED_FUNCTION
|
||||
#endif
|
||||
|
||||
#ifndef PRIVILEGED_DATA
|
||||
#define PRIVILEGED_DATA
|
||||
#endif
|
||||
|
||||
#ifndef FREERTOS_SYSTEM_CALL
|
||||
#define FREERTOS_SYSTEM_CALL
|
||||
#endif
|
||||
|
||||
#endif /* portUSING_MPU_WRAPPERS */
|
||||
|
||||
|
|
|
|||
2
portable/ThirdParty/Partner-Supported-Ports
vendored
2
portable/ThirdParty/Partner-Supported-Ports
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit abc22103e1e6634b33457d4127bff1ab62f27f90
|
||||
Subproject commit fccbbce9bd7e227ee211b01fdbbcf133dc3a474a
|
||||
Loading…
Add table
Add a link
Reference in a new issue