3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
7 * Copyright (C) 2000-2001 Silicon Graphics, Inc. All rights reserved.
13 * ARCS hardware/memory inventory/configuration and system ID definitions.
15 #ifndef _ASM_SN_ARC_HINV_H
16 #define _ASM_SN_ARC_HINV_H
18 #include <asm/sn/arc/types.h>
20 /* configuration query defines */
21 typedef enum configclass {
38 typedef enum configtype {
83 /* new stuff for IP30 */
84 /* added without moving anything */
85 /* except ANONYMOUS. */
105 #ifndef NULL /* for GetChild(NULL); */
112 unsigned char c_bsize; /* block size in lines */
113 unsigned char c_lsize; /* line size in bytes/tag */
114 unsigned short c_size; /* cache size in 4K pages */
116 unsigned short c_size; /* cache size in 4K pages */
117 unsigned char c_lsize; /* line size in bytes/tag */
118 unsigned char c_bsize; /* block size in lines */
124 #if _MIPS_SIM == _ABI64
125 #define SGI_ARCS_VERS 64 /* sgi 64-bit version */
126 #define SGI_ARCS_REV 0 /* rev .00 */
128 #define SGI_ARCS_VERS 1 /* first version */
129 #define SGI_ARCS_REV 10 /* rev .10, 3/04/92 */
132 typedef struct component {
135 IDENTIFIERFLAG Flags;
140 ULONG ConfigurationDataSize;
141 ULONG IdentifierLength;
145 /* internal structure that holds pathname parsing data */
147 char *name; /* full name */
148 int minlen; /* minimum length to match */
149 CONFIGTYPE type; /* type of token */
153 typedef struct systemid {
158 /* memory query functions */
159 typedef enum memorytype {
161 SPBPage, /* ARCS == SystemParameterBlock */
176 #endif /* _NT_PROM */
179 typedef struct memorydescriptor {
185 #endif /* _ASM_SN_ARC_HINV_H */