Go to the documentation of this file.
17 #include <asm/sn/addrs.h>
19 #define GDA_MAGIC 0x58464552
34 #define G_VERSIONOFF 4
38 #define G_HKDNORMOFF 16
39 #define G_HKDUTLBOFF 24
40 #define G_HKDXUTLBOFF 32
41 #define G_PARTIDOFF 40
42 #define G_TABLEOFF 128
68 #define GDA ((gda_t*) GDA_ADDR(get_nasid()))
77 #define PART_GDA_VERSION 2
83 #define PROMOP_MAGIC 0x0ead0000
84 #define PROMOP_MAGIC_MASK 0x0fff0000
86 #define PROMOP_BIST_SHIFT 11
87 #define PROMOP_BIST_MASK (0x3 << 11)
89 #define PROMOP_REG PI_ERR_STACK_ADDR_A
91 #define PROMOP_INVALID (PROMOP_MAGIC | 0x00)
92 #define PROMOP_HALT (PROMOP_MAGIC | 0x10)
93 #define PROMOP_POWERDOWN (PROMOP_MAGIC | 0x20)
94 #define PROMOP_RESTART (PROMOP_MAGIC | 0x30)
95 #define PROMOP_REBOOT (PROMOP_MAGIC | 0x40)
96 #define PROMOP_IMODE (PROMOP_MAGIC | 0x50)
98 #define PROMOP_CMD_MASK 0x00f0
99 #define PROMOP_OPTIONS_MASK 0xfff0
101 #define PROMOP_SKIP_DIAGS 0x0100
102 #define PROMOP_SKIP_MEMINIT 0x0200
103 #define PROMOP_SKIP_DEVINIT 0x0400
104 #define PROMOP_BIST1 0x0800
105 #define PROMOP_BIST2 0x1000