Go to the documentation of this file.
14 #ifndef _UAPI__ASMARM_SETUP_H
15 #define _UAPI__ASMARM_SETUP_H
17 #include <linux/types.h>
19 #define COMMAND_LINE_SIZE 1024
22 #define ATAG_NONE 0x00000000
30 #define ATAG_CORE 0x54410001
39 #define ATAG_MEM 0x54410002
47 #define ATAG_VIDEOTEXT 0x54410003
62 #define ATAG_RAMDISK 0x54410004
75 #define ATAG_INITRD 0x54410005
78 #define ATAG_INITRD2 0x54420005
86 #define ATAG_SERIAL 0x54410006
94 #define ATAG_REVISION 0x54410007
103 #define ATAG_VIDEOLFB 0x54410008
123 #define ATAG_CMDLINE 0x54410009
130 #define ATAG_ACORN 0x41000101
140 #define ATAG_MEMCLK 0x41000402
176 #define tag_member_present(tag,member) \
177 ((unsigned long)(&((struct tag *)0L)->member + 1) \
178 <= (tag)->hdr.size * 4)
180 #define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size))
181 #define tag_size(type) ((sizeof(struct tag_header) + sizeof(struct type)) >> 2)
183 #define for_each_tag(t,base) \
184 for (t = base; t->hdr.size; t = tag_next(t))