Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / include / asm / setup.h
blob67d20712cb48f67ace0091e836725abd324d9c40
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * linux/include/asm/setup.h
5 * Copyright (C) 1997-1999 Russell King
7 * Structure passed to kernel to tell it about the
8 * hardware it's running on. See Documentation/arm/setup.rst
9 * for more info.
11 #ifndef __ASMARM_SETUP_H
12 #define __ASMARM_SETUP_H
14 #include <uapi/asm/setup.h>
17 #define __tag __used __attribute__((__section__(".taglist.init")))
18 #define __tagtable(tag, fn) \
19 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
21 extern int arm_add_memory(u64 start, u64 size);
22 extern void early_print(const char *str, ...);
23 extern void dump_machine_table(void);
25 #ifdef CONFIG_ATAGS_PROC
26 extern void save_atags(const struct tag *tags);
27 #else
28 static inline void save_atags(const struct tag *tags) { }
29 #endif
31 #endif