17aec1d6eScindi /*
27aec1d6eScindi * CDDL HEADER START
37aec1d6eScindi *
47aec1d6eScindi * The contents of this file are subject to the terms of the
5*fbd1c0daSsd77468 * Common Development and Distribution License (the "License").
6*fbd1c0daSsd77468 * You may not use this file except in compliance with the License.
77aec1d6eScindi *
87aec1d6eScindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97aec1d6eScindi * or http://www.opensolaris.org/os/licensing.
107aec1d6eScindi * See the License for the specific language governing permissions
117aec1d6eScindi * and limitations under the License.
127aec1d6eScindi *
137aec1d6eScindi * When distributing Covered Code, include this CDDL HEADER in each
147aec1d6eScindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157aec1d6eScindi * If applicable, add the following below this CDDL HEADER, with the
167aec1d6eScindi * fields enclosed by brackets "[]" replaced with your own identifying
177aec1d6eScindi * information: Portions Copyright [yyyy] [name of copyright owner]
187aec1d6eScindi *
197aec1d6eScindi * CDDL HEADER END
207aec1d6eScindi */
217aec1d6eScindi
227aec1d6eScindi /*
23*fbd1c0daSsd77468 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
247aec1d6eScindi * Use is subject to license terms.
257aec1d6eScindi */
267aec1d6eScindi
27*fbd1c0daSsd77468 #include <mem.h>
28*fbd1c0daSsd77468 #include <fm/fmd_fmri.h>
29*fbd1c0daSsd77468
307aec1d6eScindi /*
317aec1d6eScindi * We do not yet support DIMM enumeration in the x86 mem scheme because our
327aec1d6eScindi * diagnosis is using the new libtopo functionality and hopefully won't need
337aec1d6eScindi * this before we eventually replace scheme plug-ins entirely w/ libtopo.
347aec1d6eScindi */
357aec1d6eScindi int
mem_discover(void)367aec1d6eScindi mem_discover(void)
377aec1d6eScindi {
387aec1d6eScindi return (0);
397aec1d6eScindi }
40*fbd1c0daSsd77468
41*fbd1c0daSsd77468 /*
42*fbd1c0daSsd77468 * The following two routines are stubs for corresponding SPARC-only code.
43*fbd1c0daSsd77468 */
44*fbd1c0daSsd77468
45*fbd1c0daSsd77468 /*ARGSUSED*/
46*fbd1c0daSsd77468 int
mem_get_serids_by_unum(const char * unum,char *** seridsp,size_t * nseridsp)47*fbd1c0daSsd77468 mem_get_serids_by_unum(const char *unum, char ***seridsp, size_t *nseridsp)
48*fbd1c0daSsd77468 {
49*fbd1c0daSsd77468 errno = ENOTSUP;
50*fbd1c0daSsd77468 return (-1);
51*fbd1c0daSsd77468 }
52*fbd1c0daSsd77468
53*fbd1c0daSsd77468 /*ARGSUSED*/
54*fbd1c0daSsd77468 void
mem_expand_opt(nvlist_t * nvl,char * unum,char ** serids)55*fbd1c0daSsd77468 mem_expand_opt(nvlist_t *nvl, char *unum, char **serids)
56*fbd1c0daSsd77468 {
57*fbd1c0daSsd77468 }
58