Hi I need help with enabling/disabling process if mmu and mpu in cortex r5 and cortex a53 so that two processor application variable cant access each other memory address value and modify them

Hi I need help with enabling/disabling process if mmu and mpu in armv7-R cortex r5 and armv8-A cortex a53 so that two processor application variable cant access each other memory address value and modify them

I am using this code 
https://developer.arm.com/documentation/dai0527/latest/

for configuring mmu but it is not working