Go to the documentation of this file.
10 #ifndef __UNICORE_HWDEF_COPRO_H__
11 #define __UNICORE_HWDEF_COPRO_H__
22 #define CR_V (1 << 13)
26 #define vectors_high() (cr_alignment & CR_V)
31 static inline unsigned int get_cr(
void)
34 asm(
"movc %0, p0.c1, #0" :
"=r" (
val) : :
"cc");
38 static inline void set_cr(
unsigned int val)
40 asm volatile(
"movc p0.c1, %0, #0" : :
"r" (
val) :
"cc");