Merge pull request #1109 from robertovargas-arm/mem_protect

Mem protect