1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef __ASMARM_SETUP_H
- #define __ASMARM_SETUP_H
- #include <uapi/asm/setup.h>
- #define __tag __used __attribute__((__section__(".taglist.init")))
- #define __tagtable(tag, fn) \
- static const struct tagtable __tagtable_##fn __tag = { tag, fn }
- extern int arm_add_memory(u64 start, u64 size);
- extern void early_print(const char *str, ...);
- extern void dump_machine_table(void);
- #ifdef CONFIG_ATAGS_PROC
- extern void save_atags(const struct tag *tags);
- #else
- static inline void save_atags(const struct tag *tags) { }
- #endif
- #endif
|