ARM: Ensure experimental options are so marked
[deliverable/linux.git] / arch / arm / include / asm / mach / arch.h
CommitLineData
1da177e4 1/*
4baa9922 2 * arch/arm/include/asm/mach/arch.h
1da177e4
LT
3 *
4 * Copyright (C) 2000 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
11#ifndef __ASSEMBLY__
12
13struct tag;
14struct meminfo;
15struct sys_timer;
16
17struct machine_desc {
18 /*
6451d778 19 * Note! The first two elements are used
717a54ad 20 * by assembler code in head.S, head-common.S
1da177e4
LT
21 */
22 unsigned int nr; /* architecture number */
1da177e4 23 const char *name; /* architecture name */
f9bd6ea4 24 unsigned long boot_params; /* tagged list */
1da177e4 25
d71e3eb5
NP
26 unsigned int nr_irqs; /* number of IRQs */
27
1da177e4
LT
28 unsigned int video_start; /* start of video RAM */
29 unsigned int video_end; /* end of video RAM */
30
31 unsigned int reserve_lp0 :1; /* never has lp0 */
32 unsigned int reserve_lp1 :1; /* never has lp1 */
33 unsigned int reserve_lp2 :1; /* never has lp2 */
34 unsigned int soft_reboot :1; /* soft reboot */
35 void (*fixup)(struct machine_desc *,
36 struct tag *, char **,
37 struct meminfo *);
98c672cf 38 void (*reserve)(void);/* reserve mem blocks */
1da177e4
LT
39 void (*map_io)(void);/* IO mapping function */
40 void (*init_irq)(void);
41 struct sys_timer *timer; /* system tick timer */
42 void (*init_machine)(void);
43};
44
45/*
46 * Set of macros to define architecture features. This is built into
47 * a table by the linker.
48 */
f339ab3d
RK
49#define MACHINE_START(_type,_name) \
50static const struct machine_desc __mach_desc_##_type \
b91d8a12 51 __used \
9d0fd1eb 52 __attribute__((__section__(".arch.info.init"))) = { \
f339ab3d 53 .nr = MACH_TYPE_##_type, \
1da177e4
LT
54 .name = _name,
55
1da177e4
LT
56#define MACHINE_END \
57};
58
59#endif
This page took 0.501306 seconds and 5 git commands to generate.