1 #ifndef BCM43xx_ASM_UTIL_H_
2 #define BCM43xx_ASM_UTIL_H_
8 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
11 void dump(const char *data,
13 const char *description);
16 void * xmalloc(size_t size);
17 char * xstrdup(const char *str);
22 typedef uint16_t be16_t;
23 typedef uint32_t be32_t;
25 be16_t cpu_to_be16(uint16_t x);
26 be32_t cpu_to_be32(uint32_t x);
28 #endif /* BCM43xx_ASM_UTIL_H_ */