1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * linux/include/asm/setup.h 4 * 5 * Copyright (C) 1997-1999 Russell King 6 * 7 * Structure passed to kernel to tell it abou 8 * hardware it's running on. See Documentati 9 * for more info. 10 */ 11 #ifndef __ASMARM_SETUP_H 12 #define __ASMARM_SETUP_H 13 14 #include <linux/screen_info.h> 15 #include <uapi/asm/setup.h> 16 17 18 #define __tag __used __section(".taglist.init" 19 #define __tagtable(tag, fn) \ 20 static const struct tagtable __tagtable_##fn _ 21 22 extern int arm_add_memory(u64 start, u64 size) 23 extern __printf(1, 2) void early_print(const c 24 extern void dump_machine_table(void); 25 26 #ifdef CONFIG_ATAGS_PROC 27 extern void save_atags(const struct tag *tags) 28 #else 29 static inline void save_atags(const struct tag 30 #endif 31 32 struct machine_desc; 33 void init_default_cache_policy(unsigned long); 34 void paging_init(const struct machine_desc *de 35 void early_mm_init(const struct machine_desc * 36 void adjust_lowmem_bounds(void); 37 void setup_dma_zone(const struct machine_desc 38 39 #ifdef CONFIG_VGA_CONSOLE 40 extern struct screen_info vgacon_screen_info; 41 #endif 42 43 #endif 44
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.