Changeset 262 for soft/giet_vm/giet_common
- Timestamp:
- Dec 14, 2013, 8:39:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/utils.c
r258 r262 150 150 asm volatile( "mfc0 %0, $12" : "=r"(ret)); 151 151 return ret; 152 } 153 ////////////////////////////////////////////////////////////////////////////// 154 // This function set a new value for the CP0 status register. 155 ////////////////////////////////////////////////////////////////////////////// 156 inline void _set_sr(unsigned int val) 157 { 158 asm volatile( "mtc0 %0, $12" ::"r" (val)); 152 159 } 153 160 //////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.