Changeset 8965838e in mainline for arch/ppc32/include


Ignore:
Timestamp:
2006-03-15T12:21:56Z (20 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

Location:
arch/ppc32/include
Files:
3 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
  • arch/ppc32/include/context.h

    r286e03d r8965838e  
    3434#endif
    3535
    36 #define SP_DELTA        8
     36#define SP_DELTA        16
    3737
    3838struct context {
  • arch/ppc32/include/interrupt.h

    r286e03d r8965838e  
    3535#define VECTOR_DECREMENTER 10
    3636
     37extern void start_decrementer(void);
    3738extern void interrupt_init(void);
    3839
Note: See TracChangeset for help on using the changeset viewer.