/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _GMEM_DIMM_H
#define _GMEM_DIMM_H
/*
* Memory modules are described by the gmem_dimm general-purpose state
* structure.
*
* Data structure P? Case? Notes
* ---------------- --- ----- ----------------------------------------------
* gmem_dimm_t Yes No Name is derived from the serial ("dimm_%s")
* gmem_case_ptr_t Yes Yes Name is case's UUID
* dimm_asru Yes No Name is derived from the serial
* ("dimm_asru_%s")
* dimm_serial No No Pointer into ASRU - relinked during restore
*/
#include <gmem_mem.h>
#include <values.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* GMEM_MAX_CKWDS denotes the highest number, across all covered
* SPARC architectures, of checkwords per cache line.
*/
#define FINDRSC 0
typedef struct gmem_dimm_0 {
typedef struct gmem_dimm_pers {
/*
* Index block for MQSC rules 4A and 4B correlation of memory CEs
* on a single DIMM. "Unit Position" refers to bit or nibble depending
* on the memory ECC. This structure is not persisted.
*/
typedef struct gmem_mq {
} gmem_mq_t;
typedef struct tstamp {
} tstamp_t;
struct gmem_dimm {
};
uint16_t);
extern void gmem_dimm_validate(fmd_hdl_t *);
extern void gmem_dimm_gc(fmd_hdl_t *);
extern void gmem_dimm_fini(fmd_hdl_t *);
#ifdef __cplusplus
}
#endif
#endif /* _GMEM_DIMM_H */