Lines Matching refs:xMPUSettings

332                                      xMPU_SETTINGS * xMPUSettings )  in pxPortInitialiseStack()  argument
336 xMPUSettings->ulTaskFlags |= portTASK_IS_PRIVILEGED_FLAG; in pxPortInitialiseStack()
337 xMPUSettings->ulContext[ 0 ] = portINITIAL_CONTROL_IF_PRIVILEGED; in pxPortInitialiseStack()
341 xMPUSettings->ulTaskFlags &= ( ~( portTASK_IS_PRIVILEGED_FLAG ) ); in pxPortInitialiseStack()
342 xMPUSettings->ulContext[ 0 ] = portINITIAL_CONTROL_IF_UNPRIVILEGED; in pxPortInitialiseStack()
345 xMPUSettings->ulContext[ 1 ] = 0x04040404; /* r4. */ in pxPortInitialiseStack()
346 xMPUSettings->ulContext[ 2 ] = 0x05050505; /* r5. */ in pxPortInitialiseStack()
347 xMPUSettings->ulContext[ 3 ] = 0x06060606; /* r6. */ in pxPortInitialiseStack()
348 xMPUSettings->ulContext[ 4 ] = 0x07070707; /* r7. */ in pxPortInitialiseStack()
349 xMPUSettings->ulContext[ 5 ] = 0x08080808; /* r8. */ in pxPortInitialiseStack()
350 xMPUSettings->ulContext[ 6 ] = 0x09090909; /* r9. */ in pxPortInitialiseStack()
351 xMPUSettings->ulContext[ 7 ] = 0x10101010; /* r10. */ in pxPortInitialiseStack()
352 xMPUSettings->ulContext[ 8 ] = 0x11111111; /* r11. */ in pxPortInitialiseStack()
353xMPUSettings->ulContext[ 9 ] = portINITIAL_EXC_RETURN; /* EXC_RETURN. */ in pxPortInitialiseStack()
355xMPUSettings->ulContext[ 10 ] = ( uint32_t ) ( pxTopOfStack - 8 ); /* PSP with the … in pxPortInitialiseStack()
356 xMPUSettings->ulContext[ 11 ] = ( uint32_t ) pvParameters; /* r0. */ in pxPortInitialiseStack()
357 xMPUSettings->ulContext[ 12 ] = 0x01010101; /* r1. */ in pxPortInitialiseStack()
358 xMPUSettings->ulContext[ 13 ] = 0x02020202; /* r2. */ in pxPortInitialiseStack()
359 xMPUSettings->ulContext[ 14 ] = 0x03030303; /* r3. */ in pxPortInitialiseStack()
360 xMPUSettings->ulContext[ 15 ] = 0x12121212; /* r12. */ in pxPortInitialiseStack()
361 xMPUSettings->ulContext[ 16 ] = 0; /* LR. */ in pxPortInitialiseStack()
362 xMPUSettings->ulContext[ 17 ] = ( ( uint32_t ) pxCode ) & portSTART_ADDRESS_MASK; /* PC. */ in pxPortInitialiseStack()
363 xMPUSettings->ulContext[ 18 ] = portINITIAL_XPSR; /* xPSR. */ in pxPortInitialiseStack()
368xMPUSettings->xSystemCallStackInfo.pulSystemCallStack = &( xMPUSettings->xSystemCallStackInfo.ulSy… in pxPortInitialiseStack()
369xMPUSettings->xSystemCallStackInfo.pulSystemCallStack = ( uint32_t * ) ( ( uint32_t ) ( xMPUSettin… in pxPortInitialiseStack()
373 xMPUSettings->xSystemCallStackInfo.pulTaskStack = NULL; in pxPortInitialiseStack()
377 return &( xMPUSettings->ulContext[ 19 ] ); in pxPortInitialiseStack()
1127 void vPortStoreTaskMPUSettings( xMPU_SETTINGS * xMPUSettings, in vPortStoreTaskMPUSettings() argument
1142 xMPUSettings->xRegion[ 0 ].ulRegionBaseAddress = in vPortStoreTaskMPUSettings()
1147 xMPUSettings->xRegion[ 0 ].ulRegionAttribute = in vPortStoreTaskMPUSettings()
1154xMPUSettings->xRegionSettings[ 0 ].ulRegionStartAddress = ( uint32_t ) __SRAM_segment_start__; in vPortStoreTaskMPUSettings()
1155 xMPUSettings->xRegionSettings[ 0 ].ulRegionEndAddress = ( uint32_t ) __SRAM_segment_end__; in vPortStoreTaskMPUSettings()
1156 xMPUSettings->xRegionSettings[ 0 ].ulRegionPermissions = ( tskMPU_READ_PERMISSION | in vPortStoreTaskMPUSettings()
1162xMPUSettings->xRegion[ ul ].ulRegionBaseAddress = ( ( ul - 1UL ) | portMPU_REGION_VALID ); in vPortStoreTaskMPUSettings()
1163 xMPUSettings->xRegion[ ul ].ulRegionAttribute = 0UL; in vPortStoreTaskMPUSettings()
1164 xMPUSettings->xRegionSettings[ ul ].ulRegionStartAddress = 0UL; in vPortStoreTaskMPUSettings()
1165 xMPUSettings->xRegionSettings[ ul ].ulRegionEndAddress = 0UL; in vPortStoreTaskMPUSettings()
1166 xMPUSettings->xRegionSettings[ ul ].ulRegionPermissions = 0UL; in vPortStoreTaskMPUSettings()
1178 xMPUSettings->xRegion[ 0 ].ulRegionBaseAddress = in vPortStoreTaskMPUSettings()
1183 xMPUSettings->xRegion[ 0 ].ulRegionAttribute = in vPortStoreTaskMPUSettings()
1190 xMPUSettings->xRegionSettings[ 0 ].ulRegionStartAddress = ( uint32_t ) pxBottomOfStack; in vPortStoreTaskMPUSettings()
1191xMPUSettings->xRegionSettings[ 0 ].ulRegionEndAddress = ( uint32_t ) ( ( uint32_t ) ( pxBottomOfSt… in vPortStoreTaskMPUSettings()
1193 xMPUSettings->xRegionSettings[ 0 ].ulRegionPermissions = ( tskMPU_READ_PERMISSION | in vPortStoreTaskMPUSettings()
1206 xMPUSettings->xRegion[ ul ].ulRegionBaseAddress = in vPortStoreTaskMPUSettings()
1211 xMPUSettings->xRegion[ ul ].ulRegionAttribute = in vPortStoreTaskMPUSettings()
1216xMPUSettings->xRegionSettings[ ul ].ulRegionStartAddress = ( uint32_t ) xRegions[ lIndex ].pvBaseA… in vPortStoreTaskMPUSettings()
1217xMPUSettings->xRegionSettings[ ul ].ulRegionEndAddress = ( uint32_t ) ( ( uint32_t ) xRegions[ lIn… in vPortStoreTaskMPUSettings()
1218 xMPUSettings->xRegionSettings[ ul ].ulRegionPermissions = 0UL; in vPortStoreTaskMPUSettings()
1223xMPUSettings->xRegionSettings[ ul ].ulRegionPermissions = tskMPU_READ_PERMISSION; in vPortStoreTaskMPUSettings()
1228xMPUSettings->xRegionSettings[ ul ].ulRegionPermissions = ( tskMPU_READ_PERMISSION | tskMPU_WRITE_… in vPortStoreTaskMPUSettings()
1234xMPUSettings->xRegion[ ul ].ulRegionBaseAddress = ( ( ul - 1UL ) | portMPU_REGION_VALID ); in vPortStoreTaskMPUSettings()
1235 xMPUSettings->xRegion[ ul ].ulRegionAttribute = 0UL; in vPortStoreTaskMPUSettings()
1236 xMPUSettings->xRegionSettings[ ul ].ulRegionStartAddress = 0UL; in vPortStoreTaskMPUSettings()
1237 xMPUSettings->xRegionSettings[ ul ].ulRegionEndAddress = 0UL; in vPortStoreTaskMPUSettings()
1238 xMPUSettings->xRegionSettings[ ul ].ulRegionPermissions = 0UL; in vPortStoreTaskMPUSettings()