Skip to content
Commit 4d5fbbc5 authored by Leandro Pereira's avatar Leandro Pereira Committed by Kumar Gala
Browse files

arch: arm: Flush pipeline after switching privilege levels



During the transition of privilege levels while performing syscalls,
the ARM documentation recommends flushing the pipeline to avoid
pre-fetched instructions from being executed with the previous
privilege level.

The manual says:
   4.16 CONTROL register
   (...) after programming the CONTROL register, an ISB instruction
   should be used.
   (...) This is not implemented in the Cortex M0 processor.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 50468605
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment