0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef __ASMARM_SETUP_H
0012 #define __ASMARM_SETUP_H
0013
0014 #include <uapi/asm/setup.h>
0015
0016
0017 #define __tag __used __section(".taglist.init")
0018 #define __tagtable(tag, fn) \
0019 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
0020
0021 extern int arm_add_memory(u64 start, u64 size);
0022 extern __printf(1, 2) void early_print(const char *str, ...);
0023 extern void dump_machine_table(void);
0024
0025 #ifdef CONFIG_ATAGS_PROC
0026 extern void save_atags(const struct tag *tags);
0027 #else
0028 static inline void save_atags(const struct tag *tags) { }
0029 #endif
0030
0031 #endif