2 * ARCS hardware/memory inventory/configuration and system ID definitions.
4 #ifndef _ASM_ARC_HINV_H
5 #define _ASM_ARC_HINV_H
7 #include <asm/sgidefs.h>
8 #include <asm/arc/types.h>
10 /* configuration query defines */
11 typedef enum configclass {
28 typedef enum configtype {
73 /* new stuff for IP30 */
74 /* added without moving anything */
75 /* except ANONYMOUS. */
95 #ifndef NULL /* for GetChild(NULL); */
102 unsigned char c_bsize; /* block size in lines */
103 unsigned char c_lsize; /* line size in bytes/tag */
104 unsigned short c_size; /* cache size in 4K pages */
106 unsigned short c_size; /* cache size in 4K pages */
107 unsigned char c_lsize; /* line size in bytes/tag */
108 unsigned char c_bsize; /* block size in lines */
114 #if _MIPS_SIM == _MIPS_SIM_ABI64
115 #define SGI_ARCS_VERS 64 /* sgi 64-bit version */
116 #define SGI_ARCS_REV 0 /* rev .00 */
118 #define SGI_ARCS_VERS 1 /* first version */
119 #define SGI_ARCS_REV 10 /* rev .10, 3/04/92 */
122 typedef struct component {
125 IDENTIFIERFLAG Flags;
130 ULONG ConfigurationDataSize;
131 ULONG IdentifierLength;
135 /* internal structure that holds pathname parsing data */
137 char *name; /* full name */
138 int minlen; /* minimum length to match */
139 CONFIGTYPE type; /* type of token */
143 typedef struct systemid {
148 /* memory query functions */
149 typedef enum memorytype {
151 SPBPage, /* ARCS == SystemParameterBlock */
166 #endif /* _NT_PROM */
169 typedef struct memorydescriptor {
175 #endif /* _ASM_ARC_HINV_H */