h6. [[OS SWI Calls]] h6(. » [[OS_PlatformFeatures]] h6((. » OS_PlatformFeatures 35 h2. OS_ PlatformFeatures 35 h5. (SWI &6D) |_<^{width:4em}. Entry | | |<^. R0 |<^. 35 | |_<^{width:4em}. Exit | | |<^. R1 |<^. Pointer to clear exclusive routine, or 0 if no routine is necessary | h4. Use The purpose of this call is to return a function pointer that can be called to clear the exclusive monitor lock in a way that is independent of the CPU. h4. Notes The routine must be called with a valid, full descending stack pointer in R13 and a return address in LR. The routine will preserve all registers, including the CPSR. The very simplest implementation will be a CLREX instruction, though other CPU variants and silicon implementations may require more complex implementations. The OS will take these into account. h4. See also * [[ARMv7 compatibility primer|Maintenance requirements for the local exclusive monitor]]