Changeset 7f341820 in mainline for kernel/arch/mips32/include/asm.h
- Timestamp:
- 2009-02-17T14:09:31Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30e2bba
- Parents:
- 85156d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/asm.h
r85156d3 r7f341820 56 56 uintptr_t v; 57 57 58 asm volatile ("and %0, $29, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1))); 58 asm volatile ( 59 "and %0, $29, %1\n" 60 : "=r" (v) 61 : "r" (~(STACK_SIZE-1)) 62 ); 59 63 60 64 return v; … … 64 68 extern void asm_delay_loop(uint32_t t); 65 69 extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg, 66 70 uintptr_t entry); 67 71 68 72 extern ipl_t interrupts_disable(void); … … 70 74 extern void interrupts_restore(ipl_t ipl); 71 75 extern ipl_t interrupts_read(void); 76 extern void asm_delay_loop(uint32_t t); 72 77 73 78 static inline void pio_write_8(ioport_t port, uint8_t v)
Note:
See TracChangeset
for help on using the changeset viewer.