1N/A * The contents of this file are subject to the terms of the 1N/A * Common Development and Distribution License (the "License"). 1N/A * You may not use this file except in compliance with the License. 1N/A * See the License for the specific language governing permissions 1N/A * and limitations under the License. 1N/A * When distributing Covered Code, include this CDDL HEADER in each 1N/A * If applicable, add the following below this CDDL HEADER, with the 1N/A * fields enclosed by brackets "[]" replaced with your own identifying 1N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1N/A * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 1N/A * This enumerator creates cpu-schemed nodes for each strand found in the 1N/A * sun4v Physical Rource Inventory (PRI). 1N/A * Each node export three methods expand() presence_state() and service_state(). 1N/A/* Forward declaration */ 1N/A * Get the physical cpuid * If the input nvl contains a serial number, the cpu is identified * by a tuple <cpuid, cpuserial> * Otherwise, the cpu is identified by the <cpuid>. /* return the presence_state status */ /* Find the cpuid entry */ /* part number + dash number */ /* return the service state */ "Unable to make nvlist for %s bind: %s.\n",
"topo_node_bind (%s%d/%s%d) failed: %s\n",
* find the min/max id of cpus per this cmp and create a cpu range "failed to create a cpu=%d node: %s\n",