This intrinsic inserts a DSB or equivalent instruction into the instruction stream generated by the compiler.
The DSB instruction ensures the
completion of memory accesses.
The __dsb() intrinsic is also an optimization barrier. If the target does
not support the DSB instruction, the intrinsic behaves as an
optimization barrier.
Syntax
void __dsb(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.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.