11ae0874heppo/*
21ae0874heppo * CDDL HEADER START
31ae0874heppo *
41ae0874heppo * The contents of this file are subject to the terms of the
51ae0874heppo * Common Development and Distribution License (the "License").
61ae0874heppo * You may not use this file except in compliance with the License.
71ae0874heppo *
81ae0874heppo * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91ae0874heppo * or http://www.opensolaris.org/os/licensing.
101ae0874heppo * See the License for the specific language governing permissions
111ae0874heppo * and limitations under the License.
121ae0874heppo *
131ae0874heppo * When distributing Covered Code, include this CDDL HEADER in each
141ae0874heppo * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151ae0874heppo * If applicable, add the following below this CDDL HEADER, with the
161ae0874heppo * fields enclosed by brackets "[]" replaced with your own identifying
171ae0874heppo * information: Portions Copyright [yyyy] [name of copyright owner]
181ae0874heppo *
191ae0874heppo * CDDL HEADER END
201ae0874heppo */
211ae0874heppo
221ae0874heppo/*
231ae0874heppo * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
241ae0874heppo * Use is subject to license terms.
251ae0874heppo */
261ae0874heppo
271ae0874heppo#pragma ident	"%Z%%M%	%I%	%E% SMI"
281ae0874heppo
291ae0874heppo#include <sys/promif_impl.h>
301ae0874heppo
311ae0874heppo/*
321ae0874heppo * The Automatic System Recovery (ASR) database present in some
331ae0874heppo * versions of firmware is not supported on sun4v platforms.
341ae0874heppo * However, there is an external interface to these prom interfaces
351ae0874heppo * from the openprom(7D) driver. They are not documented in the
361ae0874heppo * man page, but they should still be handled here, just enough
371ae0874heppo * so the user gets a sensible error back if they stumble onto
381ae0874heppo * them.
391ae0874heppo */
401ae0874heppo
411ae0874heppoint
421ae0874heppopromif_asr_list_keys_len(void *p)
431ae0874heppo{
441ae0874heppo	cell_t	*ci = (cell_t *)p;
451ae0874heppo
461ae0874heppo	ci[3] = p1275_int2cell(-1);
471ae0874heppo
481ae0874heppo	return (-1);
491ae0874heppo}
501ae0874heppo
511ae0874heppoint
521ae0874heppopromif_asr_list_keys(void *p)
531ae0874heppo{
541ae0874heppo	_NOTE(ARGUNUSED(p))
551ae0874heppo
561ae0874heppo	return (-1);
571ae0874heppo}
581ae0874heppo
591ae0874heppoint
601ae0874heppopromif_asr_export_len(void *p)
611ae0874heppo{
621ae0874heppo	cell_t	*ci = (cell_t *)p;
631ae0874heppo
641ae0874heppo	ci[3] = p1275_int2cell(-1);
651ae0874heppo
661ae0874heppo	return (-1);
671ae0874heppo}
681ae0874heppo
691ae0874heppoint
701ae0874heppopromif_asr_export(void *p)
711ae0874heppo{
721ae0874heppo	_NOTE(ARGUNUSED(p))
731ae0874heppo
741ae0874heppo	return (-1);
751ae0874heppo}
76