2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Create Base Board (MB) topology node from SMBIOS Type 2 structure 2N/A/* base board ID counts */ 2N/A/* base baoed type values to hc-canonical-name */ 2N/A char *f =
"x86pi_gen_bboard";
2N/A /* SMBIOS Base Board struct */ 2N/A /* SMBIOS Base Board strings */ 2N/A * populate string entries 2N/A * We don't set "product" because it may contain characters 2N/A * unacceptable by fmri. topo_mod_auth() will set the product-name 2N/A * for us and call topo_cleanup_auth_str() when necessary. 2N/A /* asset tag string contains the part number */ 2N/A /* determine the hc-name */ 2N/A * Enumerate any other baseboard type 2N/A /* free up strings */ 2N/A * If there are missing SMB_TYPE_PROCESSOR structures 2N/A * contained within SMB_TYPE_BASEBOARD, and if the 2N/A * system has only one baseboard we enumerate 2N/A * all processors under it. 2N/A " (or) no processors are contained" 2N/A " within baseboard instance %d, unable to" 2N/A /* SMBIOS Base Board struct */ 2N/A /* Set Baseboard - Chassis Relationship */ 2N/A " the chassis handle\n");
2N/A /* SMBIOS contained object handles */ 2N/A /* allocate space for and get contained handles */ 2N/A /* attach contained handles */