Changeset 8965838e in mainline for arch/ppc32/include
- Timestamp:
- 2006-03-15T12:21:56Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 97b64c9
- Parents:
- 286e03d
- Location:
- arch/ppc32/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/include/asm.h
r286e03d r8965838e 121 121 __address v; 122 122 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))); 124 124 125 125 return v; 126 126 } 127 127 128 static inline void cpu_sleep(void) 129 { 130 } 131 128 132 void cpu_halt(void); 129 void cpu_sleep(void);130 133 void asm_delay_loop(__u32 t); 131 134 -
arch/ppc32/include/context.h
r286e03d r8965838e 34 34 #endif 35 35 36 #define SP_DELTA 836 #define SP_DELTA 16 37 37 38 38 struct context { -
arch/ppc32/include/interrupt.h
r286e03d r8965838e 35 35 #define VECTOR_DECREMENTER 10 36 36 37 extern void start_decrementer(void); 37 38 extern void interrupt_init(void); 38 39
Note:
See TracChangeset
for help on using the changeset viewer.
