Changes in kernel/arch/mips32/include/cp0.h [84f0a79:598f90e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/cp0.h
r84f0a79 r598f90e 70 70 { \ 71 71 uint32_t retval; \ 72 asm volatile("mfc0 %0, $" #reg : "=r"(retval)); \72 asm("mfc0 %0, $" #reg : "=r"(retval)); \ 73 73 return retval; \ 74 74 } … … 76 76 #define GEN_WRITE_CP0(nm,reg) static inline void cp0_ ##nm##_write(uint32_t val) \ 77 77 { \ 78 asm volatile("mtc0 %0, $" #reg : : "r"(val) ); \78 asm("mtc0 %0, $" #reg : : "r"(val) ); \ 79 79 } 80 80
Note:
See TracChangeset
for help on using the changeset viewer.