Synopsis
void libarm_set_cpsr(unsigned long cpsr);
Description

cpsr — The value the CPSR should be set to.

This function sets the value of all fields of the CPSR (Current Program Status Register).