87,10 → 87,16 |
return buf; |
} |
|
extern int hex_to_bin(char ch); |
extern void hex2bin(u8 *dst, const char *src, size_t count); |
enum { |
DUMP_PREFIX_NONE, |
DUMP_PREFIX_ADDRESS, |
DUMP_PREFIX_OFFSET |
}; |
|
int hex_to_bin(char ch); |
int hex2bin(u8 *dst, const char *src, size_t count); |
|
|
//int printk(const char *fmt, ...); |
|
#define printk(fmt, arg...) dbgprintf(fmt , ##arg) |
335,9 → 341,9 |
#define dev_info(dev, format, arg...) \ |
printk("Info %s " format , __func__, ## arg) |
|
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
//#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
#define BUILD_BUG_ON(condition) |
|
|
struct page |
{ |
unsigned int addr; |