Changeset cc35e88 in mainline
- Timestamp:
- 2006-05-02T22:42:23Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bdc5c516
- Parents:
- 162f919
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/include/asm.h
r162f919 rcc35e88 40 40 * @return Old interrupt priority level. 41 41 */ 42 static inline ipl_t interrupts_enable(void) { 42 static inline ipl_t interrupts_enable(void) 43 { 43 44 ipl_t v; 44 45 ipl_t tmp; … … 61 62 * @return Old interrupt priority level. 62 63 */ 63 static inline ipl_t interrupts_disable(void) { 64 static inline ipl_t interrupts_disable(void) 65 { 64 66 ipl_t v; 65 67 ipl_t tmp; … … 81 83 * @param ipl Saved interrupt priority level. 82 84 */ 83 static inline void interrupts_restore(ipl_t ipl) { 85 static inline void interrupts_restore(ipl_t ipl) 86 { 84 87 ipl_t tmp; 85 88 … … 93 96 : "=r" (ipl), "=r" (tmp) 94 97 : "0" (ipl) 98 : "cr0" 95 99 ); 96 100 } … … 102 106 * @return Current interrupt priority level. 103 107 */ 104 static inline ipl_t interrupts_read(void) { 108 static inline ipl_t interrupts_read(void) 109 { 105 110 ipl_t v; 106 111
Note:
See TracChangeset
for help on using the changeset viewer.