Changeset c59dd1a2 in mainline for kernel/arch/xen32/include/asm.h
- Timestamp:
- 2006-07-25T00:47:29Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0c12f5
- Parents:
- aecf79f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/xen32/include/asm.h
raecf79f rc59dd1a2 155 155 static inline ipl_t interrupts_enable(void) 156 156 { 157 ipl_t v ;158 __asm__ volatile (157 ipl_t v = 0; 158 /* __asm__ volatile ( 159 159 "pushf\n\t" 160 160 "popl %0\n\t" 161 161 "sti\n" 162 162 : "=r" (v) 163 ); 163 );*/ 164 164 return v; 165 165 } … … 174 174 static inline ipl_t interrupts_disable(void) 175 175 { 176 ipl_t v ;177 __asm__ volatile (176 ipl_t v = 0; 177 /* __asm__ volatile ( 178 178 "pushf\n\t" 179 179 "popl %0\n\t" 180 180 "cli\n" 181 181 : "=r" (v) 182 ); 182 );*/ 183 183 return v; 184 184 } … … 192 192 static inline void interrupts_restore(ipl_t ipl) 193 193 { 194 __asm__ volatile (194 /* __asm__ volatile ( 195 195 "pushl %0\n\t" 196 196 "popf\n" 197 197 : : "r" (ipl) 198 ); 198 );*/ 199 199 } 200 200 … … 205 205 static inline ipl_t interrupts_read(void) 206 206 { 207 ipl_t v ;208 __asm__ volatile (207 ipl_t v = 0; 208 /* __asm__ volatile ( 209 209 "pushf\n\t" 210 210 "popl %0\n" 211 211 : "=r" (v) 212 ); 212 );*/ 213 213 return v; 214 214 }
Note:
See TracChangeset
for help on using the changeset viewer.