Rev 319 | Rev 341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 319 | Rev 326 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | #include <typedefs.h> |
33 | #include <typedefs.h> |
34 | #include <config.h> |
34 | #include <config.h> |
35 | 35 | ||
- | 36 | ||
36 | #define cpu_sleep() ; |
37 | static inline void cpu_sleep(void) |
- | 38 | { |
|
- | 39 | /* Most of the simulators do not support */ |
|
- | 40 | /* __asm__ volatile ("wait"); */ |
|
- | 41 | } |
|
37 | 42 | ||
38 | /** Return base address of current stack |
43 | /** Return base address of current stack |
39 | * |
44 | * |
40 | * Return the base address of the current stack. |
45 | * Return the base address of the current stack. |
41 | * The stack is assumed to be STACK_SIZE bytes long. |
46 | * The stack is assumed to be STACK_SIZE bytes long. |