Changeset 8965838e in mainline for arch/ppc32/include/asm.h


Ignore:
Timestamp:
2006-03-15T12:21:56Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
97b64c9
Parents:
286e03d
Message:

ppc32: preemptive scheduling works now
FPU context saving disabled for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/include/asm.h

    r286e03d r8965838e  
    121121        __address v;
    122122       
    123         __asm__ volatile ("and %0, %%r1, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));
     123        __asm__ volatile ("and %0, %%sp, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));
    124124       
    125125        return v;
    126126}
    127127
     128static inline void cpu_sleep(void)
     129{
     130}
     131
    128132void cpu_halt(void);
    129 void cpu_sleep(void);
    130133void asm_delay_loop(__u32 t);
    131134
Note: See TracChangeset for help on using the changeset viewer.