Entry | |
---|---|
R0 | 35 |
Exit | |
---|---|
R1 | Pointer to clear exclusive routine, or 0 if no routine is necessary |
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.
The routine must be called with a valid, full descending, stack and return address in LR.
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.