Synopsis
unsigned long libarm_get_cpsr(void);
Description

libarm_get_cpsr returns — The value of the CPSR.

This function returns the value of the CPSR (Current Program Status Register).