/*
* 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
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* String conversion routine for hardware capabilities types.
*/
#include <strings.h>
#include <stdio.h>
#include <elfcap.h>
#include "cap_msg.h"
#include "_conv.h"
const conv_ds_t **
{
#error "CA_SUNW_NUM has grown"
#endif
};
};
}
void *uvalue)
{
}
/*
* Given an array of elfcap_desc_t, and a count, call the specified
* iteration for each value in the array.
*/
static conv_iter_ret_t
{
const char *str;
/*
* Skip "reserved" bits. These are unassigned bits in the
* middle of the assigned range.
*/
continue;
switch (fmt_flags) {
default:
break;
case CONV_FMT_ALT_CFNP:
break;
case CONV_FMT_ALT_NF:
break;
}
return (CONV_ITER_DONE);
}
return (CONV_ITER_CONT);
}
/*
* Iterate the strings for CA_SUNW_HW.
*/
{
return (CONV_ITER_DONE);
return (CONV_ITER_DONE);
return (CONV_ITER_CONT);
}
/* ARGSUSED0 */
{
return (CONV_ITER_DONE);
}
/*
* Iterate the strings for CA_SUNW_SF1
*/
void *uvalue)
{
}