mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 21:25:00 -05:00
Merge branch 'main' into update_MPU_ports
This commit is contained in:
commit
845134ac7d
2 changed files with 10 additions and 1 deletions
|
|
@ -598,7 +598,9 @@ static BaseType_t prvMPURegionAuthorizesBuffer( const xMPU_REGION_REGISTERS * xT
|
|||
if( ulAccessRequested == tskMPU_READ_PERMISSION ) /* RO. */
|
||||
{
|
||||
if( ( ulMPURegionAccessPermissions == portMPU_REGION_PRIV_RW_USER_RO ) ||
|
||||
( ulMPURegionAccessPermissions == portMPU_REGION_PRIV_RO_USER_RO ) )
|
||||
( ulMPURegionAccessPermissions == portMPU_REGION_PRIV_RO_USER_RO ) ||
|
||||
( ulMPURegionAccessPermissions == portMPU_REGION_PRIV_RW_USER_RW ) )
|
||||
|
||||
{
|
||||
xAccessGranted = pdTRUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -221,6 +221,13 @@ typedef uint32_t TickType_t;
|
|||
*/
|
||||
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )
|
||||
|
||||
/**
|
||||
* @brief Ensure a symbol isn't removed from the compilation unit.
|
||||
*
|
||||
* @ingroup Port Interface Specifications
|
||||
*/
|
||||
#define portDONT_DISCARD __attribute__( ( used ) )
|
||||
|
||||
/**
|
||||
* @brief Defines if the tick count can be accessed atomically.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue