Changeset 609f8d9c in mainline
- Timestamp:
- 2016-05-26T07:55:08Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84b8936d
- Parents:
- 2a7ba5e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/arch/asm.h
r2a7ba5e r609f8d9c 236 236 * @return Current interrupt priority level. 237 237 */ 238 NO_TRACE static inline ipl_t interrupts_read(void) { 238 NO_TRACE static inline ipl_t interrupts_read(void) 239 { 239 240 return (ipl_t) read_rflags(); 240 241 } … … 246 247 * @return Old interrupt priority level. 247 248 */ 248 NO_TRACE static inline ipl_t interrupts_enable(void) { 249 NO_TRACE static inline ipl_t interrupts_enable(void) 250 { 249 251 ipl_t ipl = interrupts_read(); 250 252 … … 260 262 * @return Old interrupt priority level. 261 263 */ 262 NO_TRACE static inline ipl_t interrupts_disable(void) { 264 NO_TRACE static inline ipl_t interrupts_disable(void) 265 { 263 266 ipl_t ipl = interrupts_read(); 264 267 … … 275 278 * 276 279 */ 277 NO_TRACE static inline void interrupts_restore(ipl_t ipl) { 280 NO_TRACE static inline void interrupts_restore(ipl_t ipl) 281 { 278 282 write_rflags((uint64_t) ipl); 279 283 }
Note:
See TracChangeset
for help on using the changeset viewer.