/* Configure MPU for the thread. 
This function configures per thread memory map reprogramming the MPU. */
void configure_mpu_thread(struct k_thread *thread)
/* Configure MPU for the thread. 
This function configures per thread memory map reprogramming the MPU. */
void configure_mpu_thread(struct k_thread *thread)
{
	arc_core_mpu_disable();
	arc_core_mpu_configure_thread(thread);
	arc_core_mpu_enable();
}