Changeset 7f341820 in mainline for kernel/arch/mips32/include/asm.h


Ignore:
Timestamp:
2009-02-17T14:09:31Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30e2bba
Parents:
85156d3
Message:

mips32: basic SMP support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/asm.h

    r85156d3 r7f341820  
    5656        uintptr_t v;
    5757       
    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        );
    5963       
    6064        return v;
     
    6468extern void asm_delay_loop(uint32_t t);
    6569extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg,
    66                           uintptr_t entry);
     70    uintptr_t entry);
    6771
    6872extern ipl_t interrupts_disable(void);
     
    7074extern void interrupts_restore(ipl_t ipl);
    7175extern ipl_t interrupts_read(void);
     76extern void asm_delay_loop(uint32_t t);
    7277
    7378static inline void pio_write_8(ioport_t port, uint8_t v)
Note: See TracChangeset for help on using the changeset viewer.