Lines Matching refs:xMPUSettings

166                                      xMPU_SETTINGS * xMPUSettings )  in pxPortInitialiseStack()  argument
176 xMPUSettings->ulTaskFlags |= portTASK_IS_PRIVILEGED_FLAG; in pxPortInitialiseStack()
178 xMPUSettings->ulContext[ ulIndex ] = SYS_MODE; in pxPortInitialiseStack()
182 xMPUSettings->ulTaskFlags &= ( ~portTASK_IS_PRIVILEGED_FLAG ); in pxPortInitialiseStack()
184 xMPUSettings->ulContext[ ulIndex ] = USER_MODE; in pxPortInitialiseStack()
191 xMPUSettings->ulContext[ ulIndex ] |= portTHUMB_MODE_BIT; in pxPortInitialiseStack()
196 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) pxCode; /* PC. */ in pxPortInitialiseStack()
199 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) portTASK_RETURN_ADDRESS; /* LR. */ in pxPortInitialiseStack()
202 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) pxTopOfStack; /* SP. */ in pxPortInitialiseStack()
206 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x12121212; /* R12. */ in pxPortInitialiseStack()
208 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x11111111; /* R11. */ in pxPortInitialiseStack()
210 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x10101010; /* R10. */ in pxPortInitialiseStack()
212 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x09090909; /* R9. */ in pxPortInitialiseStack()
214 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x08080808; /* R8. */ in pxPortInitialiseStack()
216 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x07070707; /* R7. */ in pxPortInitialiseStack()
218 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x06060606; /* R6. */ in pxPortInitialiseStack()
220 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x05050505; /* R5. */ in pxPortInitialiseStack()
222 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x04040404; /* R4. */ in pxPortInitialiseStack()
224 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x03030303; /* R3. */ in pxPortInitialiseStack()
226 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x02020202; /* R2. */ in pxPortInitialiseStack()
228 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x01010101; /* R1. */ in pxPortInitialiseStack()
230 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) pvParameters; /* R0. */ in pxPortInitialiseStack()
235 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000015; /* S31. */ in pxPortInitialiseStack()
237 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1500000; /* S30. */ in pxPortInitialiseStack()
239 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000014; /* S29. */ in pxPortInitialiseStack()
241 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1400000; /* S28. */ in pxPortInitialiseStack()
243 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000013; /* S27. */ in pxPortInitialiseStack()
245 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1300000; /* S26. */ in pxPortInitialiseStack()
247 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000012; /* S25. */ in pxPortInitialiseStack()
249 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1200000; /* S24. */ in pxPortInitialiseStack()
251 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000011; /* S23. */ in pxPortInitialiseStack()
253 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1100000; /* S22. */ in pxPortInitialiseStack()
255 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000010; /* S21. */ in pxPortInitialiseStack()
257 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1000000; /* S20. */ in pxPortInitialiseStack()
259 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000009; /* S19. */ in pxPortInitialiseStack()
261 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD9000000; /* S18. */ in pxPortInitialiseStack()
263 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000008; /* S17. */ in pxPortInitialiseStack()
265 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD8000000; /* S16. */ in pxPortInitialiseStack()
267 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000007; /* S15. */ in pxPortInitialiseStack()
269 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD7000000; /* S14. */ in pxPortInitialiseStack()
271 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000006; /* S13. */ in pxPortInitialiseStack()
273 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD6000000; /* S12. */ in pxPortInitialiseStack()
275 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000005; /* S11. */ in pxPortInitialiseStack()
277 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD5000000; /* S10. */ in pxPortInitialiseStack()
279 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000004; /* S9. */ in pxPortInitialiseStack()
281 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD4000000; /* S8. */ in pxPortInitialiseStack()
283 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000003; /* S7. */ in pxPortInitialiseStack()
285 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD3000000; /* S6. */ in pxPortInitialiseStack()
287 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000002; /* S5. */ in pxPortInitialiseStack()
289 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD2000000; /* S4. */ in pxPortInitialiseStack()
291 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000001; /* S3. */ in pxPortInitialiseStack()
293 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD1000000; /* S2. */ in pxPortInitialiseStack()
295 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000000; /* S1. */ in pxPortInitialiseStack()
297 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0xD0000000; /* S0. */ in pxPortInitialiseStack()
300 xMPUSettings->ulContext[ ulIndex ] = ( StackType_t ) 0x00000000; /* FPSR. */ in pxPortInitialiseStack()
306 xMPUSettings->ulContext[ ulIndex ] = portNO_CRITICAL_NESTING; in pxPortInitialiseStack()
309 xSysCallInfo = &( xMPUSettings->xSystemCallStackInfo ); in pxPortInitialiseStack()
321 return &( xMPUSettings->ulContext[ ulIndex ] ); in pxPortInitialiseStack()
338 void vPortStoreTaskMPUSettings( xMPU_SETTINGS * xMPUSettings, in vPortStoreTaskMPUSettings() argument
371 xMPUSettings->xRegion[ ulIndex ].ulRegionBaseAddress = ( uint32_t ) __SRAM_segment_start__; in vPortStoreTaskMPUSettings()
372 xMPUSettings->xRegion[ ulIndex ].ulRegionSize = ( ulRegionLengthEncoded | in vPortStoreTaskMPUSettings()
374xMPUSettings->xRegion[ ulIndex ].ulRegionAttribute = ( portMPU_REGION_PRIV_RW_USER_RW_NOEXEC | in vPortStoreTaskMPUSettings()
392xMPUSettings->xRegion[ ulIndex ].ulRegionBaseAddress = ( uint32_t ) xRegions[ ulIndex ].pvBaseAddr… in vPortStoreTaskMPUSettings()
393 xMPUSettings->xRegion[ ulIndex ].ulRegionSize = ( ulRegionLengthEncoded | in vPortStoreTaskMPUSettings()
395xMPUSettings->xRegion[ ulIndex ].ulRegionAttribute = xRegions[ ulIndex ].ulParameters; in vPortStoreTaskMPUSettings()
399 xMPUSettings->xRegion[ ulIndex ].ulRegionBaseAddress = 0x0UL; in vPortStoreTaskMPUSettings()
400 xMPUSettings->xRegion[ ulIndex ].ulRegionSize = 0x0UL; in vPortStoreTaskMPUSettings()
401 xMPUSettings->xRegion[ ulIndex ].ulRegionAttribute = 0x0UL; in vPortStoreTaskMPUSettings()
419 xMPUSettings->xRegion[ ulIndex ].ulRegionBaseAddress = ( uint32_t ) pxBottomOfStack; in vPortStoreTaskMPUSettings()
420 xMPUSettings->xRegion[ ulIndex ].ulRegionSize = ( ulRegionLengthEncoded | in vPortStoreTaskMPUSettings()
422xMPUSettings->xRegion[ ulIndex ].ulRegionAttribute = ( portMPU_REGION_PRIV_RW_USER_RW_NOEXEC | in vPortStoreTaskMPUSettings()