unsigned long libarm_get_cpsr(void);
libarm_get_cpsr returns — The value of the CPSR.
This function returns the value of the CPSR (Current Program Status Register).