diff options
Diffstat (limited to 'arch/mips/include/asm/sn/kldir.h')
-rw-r--r-- | arch/mips/include/asm/sn/kldir.h | 182 |
1 files changed, 91 insertions, 91 deletions
diff --git a/arch/mips/include/asm/sn/kldir.h b/arch/mips/include/asm/sn/kldir.h index 1327e12e9645..bfb3aec94539 100644 --- a/arch/mips/include/asm/sn/kldir.h +++ b/arch/mips/include/asm/sn/kldir.h | |||
@@ -16,8 +16,8 @@ | |||
16 | * The kldir memory area resides at a fixed place in each node's memory and | 16 | * The kldir memory area resides at a fixed place in each node's memory and |
17 | * provides pointers to most other IP27 memory areas. This allows us to | 17 | * provides pointers to most other IP27 memory areas. This allows us to |
18 | * resize and/or relocate memory areas at a later time without breaking all | 18 | * resize and/or relocate memory areas at a later time without breaking all |
19 | * firmware and kernels that use them. Indices in the array are | 19 | * firmware and kernels that use them. Indices in the array are |
20 | * permanently dedicated to areas listed below. Some memory areas (marked | 20 | * permanently dedicated to areas listed below. Some memory areas (marked |
21 | * below) reside at a permanently fixed location, but are included in the | 21 | * below) reside at a permanently fixed location, but are included in the |
22 | * directory for completeness. | 22 | * directory for completeness. |
23 | */ | 23 | */ |
@@ -28,98 +28,98 @@ | |||
28 | * The upper portion of the memory map applies during boot | 28 | * The upper portion of the memory map applies during boot |
29 | * only and is overwritten by IRIX/SYMMON. | 29 | * only and is overwritten by IRIX/SYMMON. |
30 | * | 30 | * |
31 | * MEMORY MAP PER NODE | 31 | * MEMORY MAP PER NODE |
32 | * | 32 | * |
33 | * 0x2000000 (32M) +-----------------------------------------+ | 33 | * 0x2000000 (32M) +-----------------------------------------+ |
34 | * | IO6 BUFFERS FOR FLASH ENET IOC3 | | 34 | * | IO6 BUFFERS FOR FLASH ENET IOC3 | |
35 | * 0x1F80000 (31.5M) +-----------------------------------------+ | 35 | * 0x1F80000 (31.5M) +-----------------------------------------+ |
36 | * | IO6 TEXT/DATA/BSS/stack | | 36 | * | IO6 TEXT/DATA/BSS/stack | |
37 | * 0x1C00000 (30M) +-----------------------------------------+ | 37 | * 0x1C00000 (30M) +-----------------------------------------+ |
38 | * | IO6 PROM DEBUG TEXT/DATA/BSS/stack | | 38 | * | IO6 PROM DEBUG TEXT/DATA/BSS/stack | |
39 | * 0x0800000 (28M) +-----------------------------------------+ | 39 | * 0x0800000 (28M) +-----------------------------------------+ |
40 | * | IP27 PROM TEXT/DATA/BSS/stack | | 40 | * | IP27 PROM TEXT/DATA/BSS/stack | |
41 | * 0x1B00000 (27M) +-----------------------------------------+ | 41 | * 0x1B00000 (27M) +-----------------------------------------+ |
42 | * | IP27 CFG | | 42 | * | IP27 CFG | |
43 | * 0x1A00000 (26M) +-----------------------------------------+ | 43 | * 0x1A00000 (26M) +-----------------------------------------+ |
44 | * | Graphics PROM | | 44 | * | Graphics PROM | |
45 | * 0x1800000 (24M) +-----------------------------------------+ | 45 | * 0x1800000 (24M) +-----------------------------------------+ |
46 | * | 3rd Party PROM drivers | | 46 | * | 3rd Party PROM drivers | |
47 | * 0x1600000 (22M) +-----------------------------------------+ | 47 | * 0x1600000 (22M) +-----------------------------------------+ |
48 | * | | | 48 | * | | |
49 | * | Free | | 49 | * | Free | |
50 | * | | | 50 | * | | |
51 | * +-----------------------------------------+ | 51 | * +-----------------------------------------+ |
52 | * | UNIX DEBUG Version | | 52 | * | UNIX DEBUG Version | |
53 | * 0x190000 (2M--) +-----------------------------------------+ | 53 | * 0x190000 (2M--) +-----------------------------------------+ |
54 | * | SYMMON | | 54 | * | SYMMON | |
55 | * | (For UNIX Debug only) | | 55 | * | (For UNIX Debug only) | |
56 | * 0x34000 (208K) +-----------------------------------------+ | 56 | * 0x34000 (208K) +-----------------------------------------+ |
57 | * | SYMMON STACK [NUM_CPU_PER_NODE] | | 57 | * | SYMMON STACK [NUM_CPU_PER_NODE] | |
58 | * | (For UNIX Debug only) | | 58 | * | (For UNIX Debug only) | |
59 | * 0x25000 (148K) +-----------------------------------------+ | 59 | * 0x25000 (148K) +-----------------------------------------+ |
60 | * | KLCONFIG - II (temp) | | 60 | * | KLCONFIG - II (temp) | |
61 | * | | | 61 | * | | |
62 | * | ---------------------------- | | 62 | * | ---------------------------- | |
63 | * | | | 63 | * | | |
64 | * | UNIX NON-DEBUG Version | | 64 | * | UNIX NON-DEBUG Version | |
65 | * 0x19000 (100K) +-----------------------------------------+ | 65 | * 0x19000 (100K) +-----------------------------------------+ |
66 | * | 66 | * |
67 | * | 67 | * |
68 | * The lower portion of the memory map contains information that is | 68 | * The lower portion of the memory map contains information that is |
69 | * permanent and is used by the IP27PROM, IO6PROM and IRIX. | 69 | * permanent and is used by the IP27PROM, IO6PROM and IRIX. |
70 | * | 70 | * |
71 | * 0x19000 (100K) +-----------------------------------------+ | 71 | * 0x19000 (100K) +-----------------------------------------+ |
72 | * | | | 72 | * | | |
73 | * | PI Error Spools (32K) | | 73 | * | PI Error Spools (32K) | |
74 | * | | | 74 | * | | |
75 | * 0x12000 (72K) +-----------------------------------------+ | 75 | * 0x12000 (72K) +-----------------------------------------+ |
76 | * | Unused | | 76 | * | Unused | |
77 | * 0x11c00 (71K) +-----------------------------------------+ | 77 | * 0x11c00 (71K) +-----------------------------------------+ |
78 | * | CPU 1 NMI Eframe area | | 78 | * | CPU 1 NMI Eframe area | |
79 | * 0x11a00 (70.5K) +-----------------------------------------+ | 79 | * 0x11a00 (70.5K) +-----------------------------------------+ |
80 | * | CPU 0 NMI Eframe area | | 80 | * | CPU 0 NMI Eframe area | |
81 | * 0x11800 (70K) +-----------------------------------------+ | 81 | * 0x11800 (70K) +-----------------------------------------+ |
82 | * | CPU 1 NMI Register save area | | 82 | * | CPU 1 NMI Register save area | |
83 | * 0x11600 (69.5K) +-----------------------------------------+ | 83 | * 0x11600 (69.5K) +-----------------------------------------+ |
84 | * | CPU 0 NMI Register save area | | 84 | * | CPU 0 NMI Register save area | |
85 | * 0x11400 (69K) +-----------------------------------------+ | 85 | * 0x11400 (69K) +-----------------------------------------+ |
86 | * | GDA (1k) | | 86 | * | GDA (1k) | |
87 | * 0x11000 (68K) +-----------------------------------------+ | 87 | * 0x11000 (68K) +-----------------------------------------+ |
88 | * | Early cache Exception stack | | 88 | * | Early cache Exception stack | |
89 | * | and/or | | 89 | * | and/or | |
90 | * | kernel/io6prom nmi registers | | 90 | * | kernel/io6prom nmi registers | |
91 | * 0x10800 (66k) +-----------------------------------------+ | 91 | * 0x10800 (66k) +-----------------------------------------+ |
92 | * | cache error eframe | | 92 | * | cache error eframe | |
93 | * 0x10400 (65K) +-----------------------------------------+ | 93 | * 0x10400 (65K) +-----------------------------------------+ |
94 | * | Exception Handlers (UALIAS copy) | | 94 | * | Exception Handlers (UALIAS copy) | |
95 | * 0x10000 (64K) +-----------------------------------------+ | 95 | * 0x10000 (64K) +-----------------------------------------+ |
96 | * | | | 96 | * | | |
97 | * | | | 97 | * | | |
98 | * | KLCONFIG - I (permanent) (48K) | | 98 | * | KLCONFIG - I (permanent) (48K) | |
99 | * | | | 99 | * | | |
100 | * | | | 100 | * | | |
101 | * | | | 101 | * | | |
102 | * 0x4000 (16K) +-----------------------------------------+ | 102 | * 0x4000 (16K) +-----------------------------------------+ |
103 | * | NMI Handler (Protected Page) | | 103 | * | NMI Handler (Protected Page) | |
104 | * 0x3000 (12K) +-----------------------------------------+ | 104 | * 0x3000 (12K) +-----------------------------------------+ |
105 | * | ARCS PVECTORS (master node only) | | 105 | * | ARCS PVECTORS (master node only) | |
106 | * 0x2c00 (11K) +-----------------------------------------+ | 106 | * 0x2c00 (11K) +-----------------------------------------+ |
107 | * | ARCS TVECTORS (master node only) | | 107 | * | ARCS TVECTORS (master node only) | |
108 | * 0x2800 (10K) +-----------------------------------------+ | 108 | * 0x2800 (10K) +-----------------------------------------+ |
109 | * | LAUNCH [NUM_CPU] | | 109 | * | LAUNCH [NUM_CPU] | |
110 | * 0x2400 (9K) +-----------------------------------------+ | 110 | * 0x2400 (9K) +-----------------------------------------+ |
111 | * | Low memory directory (KLDIR) | | 111 | * | Low memory directory (KLDIR) | |
112 | * 0x2000 (8K) +-----------------------------------------+ | 112 | * 0x2000 (8K) +-----------------------------------------+ |
113 | * | ARCS SPB (1K) | | 113 | * | ARCS SPB (1K) | |
114 | * 0x1000 (4K) +-----------------------------------------+ | 114 | * 0x1000 (4K) +-----------------------------------------+ |
115 | * | Early cache Exception stack | | 115 | * | Early cache Exception stack | |
116 | * | and/or | | 116 | * | and/or | |
117 | * | kernel/io6prom nmi registers | | 117 | * | kernel/io6prom nmi registers | |
118 | * 0x800 (2k) +-----------------------------------------+ | 118 | * 0x800 (2k) +-----------------------------------------+ |
119 | * | cache error eframe | | 119 | * | cache error eframe | |
120 | * 0x400 (1K) +-----------------------------------------+ | 120 | * 0x400 (1K) +-----------------------------------------+ |
121 | * | Exception Handlers | | 121 | * | Exception Handlers | |
122 | * 0x0 (0K) +-----------------------------------------+ | 122 | * 0x0 (0K) +-----------------------------------------+ |
123 | */ | 123 | */ |
124 | 124 | ||
125 | #ifdef __ASSEMBLY__ | 125 | #ifdef __ASSEMBLY__ |
@@ -202,13 +202,13 @@ | |||
202 | 202 | ||
203 | #ifndef __ASSEMBLY__ | 203 | #ifndef __ASSEMBLY__ |
204 | typedef struct kldir_ent_s { | 204 | typedef struct kldir_ent_s { |
205 | u64 magic; /* Indicates validity of entry */ | 205 | u64 magic; /* Indicates validity of entry */ |
206 | off_t offset; /* Offset from start of node space */ | 206 | off_t offset; /* Offset from start of node space */ |
207 | unsigned long pointer; /* Pointer to area in some cases */ | 207 | unsigned long pointer; /* Pointer to area in some cases */ |
208 | size_t size; /* Size in bytes */ | 208 | size_t size; /* Size in bytes */ |
209 | u64 count; /* Repeat count if array, 1 if not */ | 209 | u64 count; /* Repeat count if array, 1 if not */ |
210 | size_t stride; /* Stride if array, 0 if not */ | 210 | size_t stride; /* Stride if array, 0 if not */ |
211 | char rsvd[16]; /* Pad entry to 0x40 bytes */ | 211 | char rsvd[16]; /* Pad entry to 0x40 bytes */ |
212 | /* NOTE: These 16 bytes are used in the Partition KLDIR | 212 | /* NOTE: These 16 bytes are used in the Partition KLDIR |
213 | entry to store partition info. Refer to klpart.h for this. */ | 213 | entry to store partition info. Refer to klpart.h for this. */ |
214 | } kldir_ent_t; | 214 | } kldir_ent_t; |