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/arc/types.h>
9 /* configuration query defines */
10 typedef enum configclass
{
27 typedef enum configtype
{
72 /* new stuff for IP30 */
73 /* added without moving anything */
74 /* except ANONYMOUS. */
94 #ifndef NULL /* for GetChild(NULL); */
101 unsigned char c_bsize
; /* block size in lines */
102 unsigned char c_lsize
; /* line size in bytes/tag */
103 unsigned short c_size
; /* cache size in 4K pages */
105 unsigned short c_size
; /* cache size in 4K pages */
106 unsigned char c_lsize
; /* line size in bytes/tag */
107 unsigned char c_bsize
; /* block size in lines */
113 #if _MIPS_SIM == _ABI64
114 #define SGI_ARCS_VERS 64 /* sgi 64-bit version */
115 #define SGI_ARCS_REV 0 /* rev .00 */
117 #define SGI_ARCS_VERS 1 /* first version */
118 #define SGI_ARCS_REV 10 /* rev .10, 3/04/92 */
121 typedef struct component
{
124 IDENTIFIERFLAG Flags
;
129 ULONG ConfigurationDataSize
;
130 ULONG IdentifierLength
;
134 /* internal structure that holds pathname parsing data */
136 char *name
; /* full name */
137 int minlen
; /* minimum length to match */
138 CONFIGTYPE type
; /* type of token */
142 typedef struct systemid
{
147 /* memory query functions */
148 typedef enum memorytype
{
150 SPBPage
, /* ARCS == SystemParameterBlock */
165 #endif /* _NT_PROM */
168 typedef struct memorydescriptor
{
174 #endif /* _ASM_ARC_HINV_H */