Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/include/asm/setup.h | |
3 | * | |
4 | * Copyright (C) 1997-1999 Russell King | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | * | |
10 | * Structure passed to kernel to tell it about the | |
11 | * hardware it's running on. See Documentation/arm/Setup | |
12 | * for more info. | |
13 | */ | |
14 | #ifndef __ASMARM_SETUP_H | |
15 | #define __ASMARM_SETUP_H | |
16 | ||
cb8db5d4 | 17 | #include <uapi/asm/setup.h> |
7d1362c0 | 18 | |
7d1362c0 | 19 | |
b91d8a12 | 20 | #define __tag __used __attribute__((__section__(".taglist.init"))) |
7d1362c0 | 21 | #define __tagtable(tag, fn) \ |
c1f2d999 | 22 | static const struct tagtable __tagtable_##fn __tag = { tag, fn } |
7d1362c0 | 23 | |
6a5014aa | 24 | extern int arm_add_memory(u64 start, u64 size); |
93c02ab4 GL |
25 | extern void early_print(const char *str, ...); |
26 | extern void dump_machine_table(void); | |
9eb8f674 | 27 | |
6e0306a9 ID |
28 | #ifdef CONFIG_ATAGS_PROC |
29 | extern void save_atags(const struct tag *tags); | |
30 | #else | |
31 | static inline void save_atags(const struct tag *tags) { } | |
32 | #endif | |
33 | ||
1da177e4 | 34 | #endif |