1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ARCS hardware/memory inventory/configuration and system ID definitions.
5 #ifndef _ASM_ARC_HINV_H
6 #define _ASM_ARC_HINV_H
8 #include <asm/sgidefs.h>
9 #include <asm/fw/arc/types.h>
11 /* configuration query defines */
12 typedef enum configclass
{
29 typedef enum configtype
{
74 /* new stuff for IP30 */
75 /* added without moving anything */
76 /* except ANONYMOUS. */
96 #ifndef NULL /* for GetChild(NULL); */
103 unsigned char c_bsize
; /* block size in lines */
104 unsigned char c_lsize
; /* line size in bytes/tag */
105 unsigned short c_size
; /* cache size in 4K pages */
107 unsigned short c_size
; /* cache size in 4K pages */
108 unsigned char c_lsize
; /* line size in bytes/tag */
109 unsigned char c_bsize
; /* block size in lines */
115 #if _MIPS_SIM == _MIPS_SIM_ABI64
116 #define SGI_ARCS_VERS 64 /* sgi 64-bit version */
117 #define SGI_ARCS_REV 0 /* rev .00 */
119 #define SGI_ARCS_VERS 1 /* first version */
120 #define SGI_ARCS_REV 10 /* rev .10, 3/04/92 */
126 IDENTIFIERFLAG Flags
;
131 ULONG ConfigurationDataSize
;
132 ULONG IdentifierLength
;
136 /* internal structure that holds pathname parsing data */
138 char *name
; /* full name */
139 int minlen
; /* minimum length to match */
140 CONFIGTYPE type
; /* type of token */
149 /* memory query functions */
150 typedef enum memorytype
{
152 SPBPage
, /* ARCS == SystemParameterBlock */
167 #endif /* _NT_PROM */
176 #endif /* _ASM_ARC_HINV_H */