Go to the documentation of this file. 1 #ifndef _ASM_CRIS_ARCH_SYSTEM_H
2 #define _ASM_CRIS_ARCH_SYSTEM_H
6 static inline unsigned long rdvr(
void)
10 __asm__ __volatile__ (
"move $vr, %0" :
"=rm" (vr));
14 #define cris_machine_name "crisv32"
17 static inline unsigned long rdusp(
void)
21 __asm__ __volatile__ (
"move $usp, %0" :
"=rm" (usp));
26 static inline unsigned long rdsp(
void)
30 __asm__ __volatile__ (
"move.d $sp, %0" :
"=rm" (sp));
35 #define wrusp(usp) __asm__ __volatile__ ("move %0, $usp" : : "rm" (usp))