You copied the Doc URL to your clipboard.

__dmb intrinsic

This intrinsic inserts a DMB or equivalent instruction into the instruction stream generated by the compiler.

The DMB instruction ensures the observed ordering of memory accesses.

The __dmb() intrinsic is also an optimization barrier. If the target does not support the DMB instruction, the intrinsic behaves as an optimization barrier.


void __dmb(unsigned int val)

Where val is a numeric argument indicating the scope and access type of the barrier. See ARM C Language Extensions for more information.

Was this page helpful? Yes No