Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
gda.h File Reference
#include <asm/sn/addrs.h>

Go to the source code of this file.

Data Structures

struct  gda
 

Macros

#define GDA_MAGIC   0x58464552
 
#define GDA_VERSION   2 /* Current GDA version # */
 
#define G_MAGICOFF   0
 
#define G_VERSIONOFF   4
 
#define G_PROMOPOFF   6
 
#define G_MASTEROFF   8
 
#define G_VDSOFF   12
 
#define G_HKDNORMOFF   16
 
#define G_HKDUTLBOFF   24
 
#define G_HKDXUTLBOFF   32
 
#define G_PARTIDOFF   40
 
#define G_TABLEOFF   128
 
#define GDA   ((gda_t*) GDA_ADDR(get_nasid()))
 
#define PART_GDA_VERSION   2
 
#define PROMOP_MAGIC   0x0ead0000
 
#define PROMOP_MAGIC_MASK   0x0fff0000
 
#define PROMOP_BIST_SHIFT   11
 
#define PROMOP_BIST_MASK   (0x3 << 11)
 
#define PROMOP_REG   PI_ERR_STACK_ADDR_A
 
#define PROMOP_INVALID   (PROMOP_MAGIC | 0x00)
 
#define PROMOP_HALT   (PROMOP_MAGIC | 0x10)
 
#define PROMOP_POWERDOWN   (PROMOP_MAGIC | 0x20)
 
#define PROMOP_RESTART   (PROMOP_MAGIC | 0x30)
 
#define PROMOP_REBOOT   (PROMOP_MAGIC | 0x40)
 
#define PROMOP_IMODE   (PROMOP_MAGIC | 0x50)
 
#define PROMOP_CMD_MASK   0x00f0
 
#define PROMOP_OPTIONS_MASK   0xfff0
 
#define PROMOP_SKIP_DIAGS   0x0100 /* don't bother running diags */
 
#define PROMOP_SKIP_MEMINIT   0x0200 /* don't bother initing memory */
 
#define PROMOP_SKIP_DEVINIT   0x0400 /* don't bother initing devices */
 
#define PROMOP_BIST1   0x0800 /* keep track of which BIST ran */
 
#define PROMOP_BIST2   0x1000 /* keep track of which BIST ran */
 

Typedefs

typedef struct gda gda_t
 

Macro Definition Documentation

#define G_HKDNORMOFF   16

Definition at line 38 of file gda.h.

#define G_HKDUTLBOFF   24

Definition at line 39 of file gda.h.

#define G_HKDXUTLBOFF   32

Definition at line 40 of file gda.h.

#define G_MAGICOFF   0

Definition at line 33 of file gda.h.

#define G_MASTEROFF   8

Definition at line 36 of file gda.h.

#define G_PARTIDOFF   40

Definition at line 41 of file gda.h.

#define G_PROMOPOFF   6

Definition at line 35 of file gda.h.

#define G_TABLEOFF   128

Definition at line 42 of file gda.h.

#define G_VDSOFF   12

Definition at line 37 of file gda.h.

#define G_VERSIONOFF   4

Definition at line 34 of file gda.h.

#define GDA   ((gda_t*) GDA_ADDR(get_nasid()))

Definition at line 68 of file gda.h.

#define GDA_MAGIC   0x58464552

Definition at line 19 of file gda.h.

#define GDA_VERSION   2 /* Current GDA version # */

Definition at line 31 of file gda.h.

#define PART_GDA_VERSION   2

Definition at line 77 of file gda.h.

#define PROMOP_BIST1   0x0800 /* keep track of which BIST ran */

Definition at line 104 of file gda.h.

#define PROMOP_BIST2   0x1000 /* keep track of which BIST ran */

Definition at line 105 of file gda.h.

#define PROMOP_BIST_MASK   (0x3 << 11)

Definition at line 87 of file gda.h.

#define PROMOP_BIST_SHIFT   11

Definition at line 86 of file gda.h.

#define PROMOP_CMD_MASK   0x00f0

Definition at line 98 of file gda.h.

#define PROMOP_HALT   (PROMOP_MAGIC | 0x10)

Definition at line 92 of file gda.h.

#define PROMOP_IMODE   (PROMOP_MAGIC | 0x50)

Definition at line 96 of file gda.h.

#define PROMOP_INVALID   (PROMOP_MAGIC | 0x00)

Definition at line 91 of file gda.h.

#define PROMOP_MAGIC   0x0ead0000

Definition at line 83 of file gda.h.

#define PROMOP_MAGIC_MASK   0x0fff0000

Definition at line 84 of file gda.h.

#define PROMOP_OPTIONS_MASK   0xfff0

Definition at line 99 of file gda.h.

#define PROMOP_POWERDOWN   (PROMOP_MAGIC | 0x20)

Definition at line 93 of file gda.h.

#define PROMOP_REBOOT   (PROMOP_MAGIC | 0x40)

Definition at line 95 of file gda.h.

#define PROMOP_REG   PI_ERR_STACK_ADDR_A

Definition at line 89 of file gda.h.

#define PROMOP_RESTART   (PROMOP_MAGIC | 0x30)

Definition at line 94 of file gda.h.

#define PROMOP_SKIP_DEVINIT   0x0400 /* don't bother initing devices */

Definition at line 103 of file gda.h.

#define PROMOP_SKIP_DIAGS   0x0100 /* don't bother running diags */

Definition at line 101 of file gda.h.

#define PROMOP_SKIP_MEMINIT   0x0200 /* don't bother initing memory */

Definition at line 102 of file gda.h.

Typedef Documentation

typedef struct gda gda_t