10.135 __sev intrinsic

This intrinsic inserts a SEV instruction into the instruction stream generated by the compiler.

In some architectures, for example the v6T2 architecture, the SEV instruction executes as a NOP instruction.

Syntax

void __sev(void)

Errors

The compiler does not recognize the __sev intrinsic when compiling for a target that does not support the SEV instruction. The compiler generates either a warning or an error in this case, depending on the source language:

  • In C code: Warning: #223-D: function "__sev" declared implicitly.
  • In C++ code: Error: #20: identifier "__sev" is undefined.
Related reference
10.121  __nop intrinsic
10.144 __wfe intrinsic
10.145 __wfi intrinsic
10.146 __yield intrinsic
Related information
NOP
SEV
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.