3.4.2. Barriers

In ARMv5, you can use IMB to ensure consistency between data and instruction streams. You can use IMB when treating code as data, for example when using self-modifying code, or when loading code into memory.

In ARMv7, IMB is deprecated, and the following memory barriers are introduced:

For more information about the DSB, DMB, and ISB memory barriers, see Replacing ARMv5 barriers with equivalent ARMv7 barriers.

Copyright © 2014 ARM. All rights reserved.ARM DAI0425