2 * linux/include/asm-arm/mach/arch.h
4 * Copyright (C) 2000 Russell King
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.
13 #include <linux/compiler.h>
21 * Note! The first five elements are used
22 * by assembler code in head-armv.S
24 unsigned int nr; /* architecture number */
25 unsigned int __deprecated phys_ram; /* start of physical ram */
26 unsigned int phys_io; /* start of physical io */
27 unsigned int io_pg_offst; /* byte offset for io
30 const char *name; /* architecture name */
31 unsigned long boot_params; /* tagged list */
33 unsigned int video_start; /* start of video RAM */
34 unsigned int video_end; /* end of video RAM */
36 unsigned int reserve_lp0 :1; /* never has lp0 */
37 unsigned int reserve_lp1 :1; /* never has lp1 */
38 unsigned int reserve_lp2 :1; /* never has lp2 */
39 unsigned int soft_reboot :1; /* soft reboot */
40 void (*fixup)(struct machine_desc *,
41 struct tag *, char **,
43 void (*map_io)(void);/* IO mapping function */
44 void (*init_irq)(void);
45 struct sys_timer *timer; /* system tick timer */
46 void (*init_machine)(void);
50 * Set of macros to define architecture features. This is built into
51 * a table by the linker.
53 #define MACHINE_START(_type,_name) \
54 static const struct machine_desc __mach_desc_##_type \
56 __attribute__((__section__(".arch.info.init"))) = { \
57 .nr = MACH_TYPE_##_type, \