Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
setup.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  tag_header
 
struct  tag_core
 
struct  tag_mem32
 
struct  tag_videotext
 
struct  tag_ramdisk
 
struct  tag_initrd
 
struct  tag_serialnr
 
struct  tag_revision
 
struct  tag_videolfb
 
struct  tag_cmdline
 
struct  tag_acorn
 
struct  tag_memclk
 
struct  tag
 
struct  tagtable
 

Macros

#define COMMAND_LINE_SIZE   1024
 
#define ATAG_NONE   0x00000000
 
#define ATAG_CORE   0x54410001
 
#define ATAG_MEM   0x54410002
 
#define ATAG_VIDEOTEXT   0x54410003
 
#define ATAG_RAMDISK   0x54410004
 
#define ATAG_INITRD   0x54410005
 
#define ATAG_INITRD2   0x54420005
 
#define ATAG_SERIAL   0x54410006
 
#define ATAG_REVISION   0x54410007
 
#define ATAG_VIDEOLFB   0x54410008
 
#define ATAG_CMDLINE   0x54410009
 
#define ATAG_ACORN   0x41000101
 
#define ATAG_MEMCLK   0x41000402
 
#define tag_member_present(tag, member)
 
#define tag_next(t)   ((struct tag *)((__u32 *)(t) + (t)->hdr.size))
 
#define tag_size(type)   ((sizeof(struct tag_header) + sizeof(struct type)) >> 2)
 
#define for_each_tag(t, base)   for (t = base; t->hdr.size; t = tag_next(t))
 

Macro Definition Documentation

#define ATAG_ACORN   0x41000101

Definition at line 130 of file setup.h.

#define ATAG_CMDLINE   0x54410009

Definition at line 123 of file setup.h.

#define ATAG_CORE   0x54410001

Definition at line 30 of file setup.h.

#define ATAG_INITRD   0x54410005

Definition at line 75 of file setup.h.

#define ATAG_INITRD2   0x54420005

Definition at line 78 of file setup.h.

#define ATAG_MEM   0x54410002

Definition at line 39 of file setup.h.

#define ATAG_MEMCLK   0x41000402

Definition at line 140 of file setup.h.

#define ATAG_NONE   0x00000000

Definition at line 22 of file setup.h.

#define ATAG_RAMDISK   0x54410004

Definition at line 62 of file setup.h.

#define ATAG_REVISION   0x54410007

Definition at line 94 of file setup.h.

#define ATAG_SERIAL   0x54410006

Definition at line 86 of file setup.h.

#define ATAG_VIDEOLFB   0x54410008

Definition at line 103 of file setup.h.

#define ATAG_VIDEOTEXT   0x54410003

Definition at line 47 of file setup.h.

#define COMMAND_LINE_SIZE   1024

Definition at line 19 of file setup.h.

#define for_each_tag (   t,
  base 
)    for (t = base; t->hdr.size; t = tag_next(t))

Definition at line 183 of file setup.h.

#define tag_member_present (   tag,
  member 
)
Value:
((unsigned long)(&((struct tag *)0L)->member + 1) \
<= (tag)->hdr.size * 4)

Definition at line 176 of file setup.h.

#define tag_next (   t)    ((struct tag *)((__u32 *)(t) + (t)->hdr.size))

Definition at line 180 of file setup.h.

#define tag_size (   type)    ((sizeof(struct tag_header) + sizeof(struct type)) >> 2)

Definition at line 181 of file setup.h.