Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1006 → Rev 1007

/kernel/trunk/arch/ppc32/include/interrupt.h
34,6 → 34,7
 
#define VECTOR_DECREMENTER 10
 
extern void start_decrementer(void);
extern void interrupt_init(void);
 
#endif
/kernel/trunk/arch/ppc32/include/asm.h
120,13 → 120,16
{
__address v;
__asm__ volatile ("and %0, %%r1, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));
__asm__ volatile ("and %0, %%sp, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));
return v;
}
 
static inline void cpu_sleep(void)
{
}
 
void cpu_halt(void);
void cpu_sleep(void);
void asm_delay_loop(__u32 t);
 
#endif
/kernel/trunk/arch/ppc32/include/context.h
33,7 → 33,7
# include <arch/types.h>
#endif
 
#define SP_DELTA 8
#define SP_DELTA 16
 
struct context {
__address sp;