Merge with Linux 2.4.0-test6-pre2.
[linux-2.6/linux-mips.git] / include / asm-mips64 / bootinfo.h
blobf62ec0e2f083b5b4dd161800ddaca3d07420dbaa
1 /* $Id: bootinfo.h,v 1.1 1999/08/18 23:37:50 ralf Exp $
3 * bootinfo.h -- Definition of the Linux/MIPS boot information structure
5 * Copyright (C) 1995 - 1999 by Ralf Baechle
6 * Copyright (C) 1995, 1996 by Stoned Elipot and Paul M. Antoine.
7 * Copyright (C) 1999 Ralf Baechle
9 * This file is subject to the terms and conditions of the GNU General Public
10 * License. See the file COPYING in the main directory of this archive
11 * for more details.
13 #ifndef _ASM_BOOTINFO_H
14 #define _ASM_BOOTINFO_H
17 * Values for machgroup
19 #define MACH_GROUP_UNKNOWN 0 /* whatever... */
20 #define MACH_GROUP_JAZZ 1 /* Jazz */
21 #define MACH_GROUP_DEC 2 /* Digital Equipment */
22 #define MACH_GROUP_ARC 3 /* Wreckstation Tyne, rPC44, possibly other */
23 #define MACH_GROUP_SNI_RM 4 /* Siemens Nixdorf RM series */
24 #define MACH_GROUP_ACN 5
25 #define MACH_GROUP_SGI 6 /* Silicon Graphics workstations and servers */
26 #define MACH_GROUP_COBALT 7 /* Cobalt servers */
28 #define GROUP_NAMES { "unknown", "Jazz", "Digital", "ARC", \
29 "SNI", "ACN", "SGI", "Cobalt" }
32 * Valid machtype values for group unknown (low order halfword of mips_machtype)
34 #define MACH_UNKNOWN 0 /* whatever... */
36 #define GROUP_UNKNOWN_NAMES { "unknown" }
39 * Valid machtype values for group JAZZ
41 #define MACH_ACER_PICA_61 0 /* Acer PICA-61 (PICA1) */
42 #define MACH_MIPS_MAGNUM_4000 1 /* Mips Magnum 4000 "RC4030" */
43 #define MACH_OLIVETTI_M700 2 /* Olivetti M700-10 (-15 ??) */
45 #define GROUP_JAZZ_NAMES { "Acer PICA 61", "Mips Magnum 4000", "Olivetti M700" }
48 * Valid machtype for group DEC
50 #define MACH_DSUNKNOWN 0
51 #define MACH_DS23100 1 /* DECstation 2100 or 3100 */
52 #define MACH_DS5100 2 /* DECstation 5100 */
53 #define MACH_DS5000_200 3 /* DECstation 5000/200 */
54 #define MACH_DS5000_1XX 4 /* DECstation 5000/120, 125, 133, 150 */
55 #define MACH_DS5000_XX 5 /* DECstation 5000/20, 25, 33, 50 */
56 #define MACH_DS5000_2X0 6 /* DECstation 5000/240, 260 */
57 #define MACH_DS5400 7 /* DECstation 5400 */
58 #define MACH_DS5500 8 /* DECstation 5500 */
59 #define MACH_DS5800 9 /* DECstation 5800 */
61 #define GROUP_DEC_NAMES { "unknown", "DECstation 2100/3100", "DECstation 5100", \
62 "DECstation 5000/200", "DECstation 5000/1xx", "Personal DECstation 5000/xx", \
63 "DECstation 5000/2x0", "DECstation 5400", "DECstation 5500", \
64 "DECstation 5800" }
67 * Valid machtype for group ARC
69 #define MACH_DESKSTATION_RPC44 0 /* Deskstation rPC44 */
70 #define MACH_DESKSTATION_TYNE 1 /* Deskstation Tyne */
72 #define GROUP_ARC_NAMES { "Deskstation rPC44", "Deskstation Tyne" }
75 * Valid machtype for group SNI_RM
77 #define MACH_SNI_RM200_PCI 0 /* RM200/RM300/RM400 PCI series */
79 #define GROUP_SNI_RM_NAMES { "RM200 PCI" }
82 * Valid machtype for group ACN
84 #define MACH_ACN_MIPS_BOARD 0 /* ACN MIPS single board */
86 #define GROUP_ACN_NAMES { "ACN" }
89 * Valid machtype for group SGI
91 #define MACH_SGI_INDY 0 /* R4?K and R5K Indy workstaions */
92 #define MACH_SGI_IP27 1 /* Origin 200, Origin 2000, Onyx 2 */
94 #define GROUP_SGI_NAMES { "Indy", "IP27" }
97 * Valid machtype for group COBALT
99 #define MACH_COBALT_27 0 /* Proto "27" hardware */
101 #define GROUP_COBALT_NAMES { "Microserver 27" }
104 * Valid cputype values
106 #define CPU_UNKNOWN 0
107 #define CPU_R2000 1
108 #define CPU_R3000 2
109 #define CPU_R3000A 3
110 #define CPU_R3041 4
111 #define CPU_R3051 5
112 #define CPU_R3052 6
113 #define CPU_R3081 7
114 #define CPU_R3081E 8
115 #define CPU_R4000PC 9
116 #define CPU_R4000SC 10
117 #define CPU_R4000MC 11
118 #define CPU_R4200 12
119 #define CPU_R4400PC 13
120 #define CPU_R4400SC 14
121 #define CPU_R4400MC 15
122 #define CPU_R4600 16
123 #define CPU_R6000 17
124 #define CPU_R6000A 18
125 #define CPU_R8000 19
126 #define CPU_R10000 20
127 #define CPU_R4300 21
128 #define CPU_R4650 22
129 #define CPU_R4700 23
130 #define CPU_R5000 24
131 #define CPU_R5000A 25
132 #define CPU_R4640 26
133 #define CPU_NEVADA 27 /* RM5230, RM5260 */
134 #define CPU_LAST 27
136 #define CPU_NAMES { "unknown", "R2000", "R3000", "R3000A", "R3041", "R3051", \
137 "R3052", "R3081", "R3081E", "R4000PC", "R4000SC", "R4000MC", \
138 "R4200", "R4400PC", "R4400SC", "R4400MC", "R4600", "R6000", \
139 "R6000A", "R8000", "R10000", "R4300", "R4650", "R4700", "R5000", \
140 "R5000A", "R4640", "Nevada" }
142 #define CL_SIZE (80)
144 #ifndef _LANGUAGE_ASSEMBLY
147 * Some machine parameters passed by the bootloaders.
150 struct drive_info_struct {
151 char dummy[32];
154 extern unsigned long mips_memory_upper;
155 extern unsigned long mips_cputype;
156 extern unsigned long mips_machtype;
157 extern unsigned long mips_machgroup;
158 extern unsigned long mips_tlb_entries;
160 #endif /* _LANGUAGE_ASSEMBLY */
162 #endif /* _ASM_BOOTINFO_H */