Rev 615 | Rev 1104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 615 | Rev 631 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __FUNC_H__ |
29 | #ifndef __FUNC_H__ |
30 | #define __FUNC_H__ |
30 | #define __FUNC_H__ |
31 | 31 | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | #include <typedefs.h> |
33 | #include <typedefs.h> |
- | 34 | #include <arch/atomic.h> |
|
34 | 35 | ||
35 | extern volatile __u32 haltstate; |
36 | extern atomic_t haltstate; |
36 | 37 | ||
37 | extern void halt(void); |
38 | extern void halt(void); |
38 | 39 | ||
39 | extern size_t strlen(const char *str); |
40 | extern size_t strlen(const char *str); |
40 | extern int strncmp(const char *src, const char *dst, size_t len); |
41 | extern int strncmp(const char *src, const char *dst, size_t len); |