Go to the documentation of this file.
21 #ifndef _ARCH_MIPS_POWERTV_ASIC_PREALLOC_H
22 #define _ARCH_MIPS_POWERTV_ASIC_PREALLOC_H
24 #define KIBIBYTE(n) ((n) * 1024)
25 #define MEBIBYTE(n) ((n) * KIBIBYTE(1024))
28 #define PREALLOC(NAME, START, END, FLAGS) { \
43 #ifdef CONFIG_PREALLOC_NORMAL
44 #define PREALLOC_NORMAL(name, start, end, flags) \
45 PREALLOC(name, start, end, flags)
47 #define PREALLOC_NORMAL(name, start, end, flags)
50 #ifdef CONFIG_PREALLOC_TFTP
51 #define PREALLOC_TFTP(name, start, end, flags) \
52 PREALLOC(name, start, end, flags)
54 #define PREALLOC_TFTP(name, start, end, flags)
57 #ifdef CONFIG_PREALLOC_DOCSIS
58 #define PREALLOC_DOCSIS(name, start, end, flags) \
59 PREALLOC(name, start, end, flags)
61 #define PREALLOC_DOCSIS(name, start, end, flags)
64 #ifdef CONFIG_PREALLOC_PMEM
65 #define PREALLOC_PMEM(name, start, end, flags) \
66 PREALLOC(name, start, end, flags)
68 #define PREALLOC_PMEM(name, start, end, flags)