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) 2008, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * Enumerate a CPU node 2N/A * Create the basic topology node for the CPU using the generic 2N/A /* Error messages are printed by the generic routine */ 2N/A * If the hc_name is "chip" or "core", a topo method is set to compute 2N/A * asru, otherwise for "cpu" and "strand", set asru to CPU scheme FMRI. 2N/A "%s node_0x%llx failed to get resource: %s\n",
2N/A "%s node_0x%llx failed to set ASRU: %s\n",
2N/A * Compute ASRU for "cpu" and "strand" node. 2N/A * Get the parameters required to create an FMRI. The cpumask 2N/A * is on the chip itself and while it may be part of an ereport 2N/A * payload is unavailable here, so we set it to zero. 2N/A * Find the serial number, which is on the "chip" node, not the 2N/A "%s node_0x%llx failed to find serial number.\n",
2N/A * Create a CPU scheme FMRI and set it as the ASRU for the CPU 2N/A "compute cpu scheme ASRU: %s\n",
2N/A /* Set the ASRU on the node without flags (the 0) */ 2N/A * Search backwards through the PRI graph, starting at the current 2N/A * strand (aka cpu) mde_node, and find the MD_STR_CHIP node. This 2N/A * node has the serial number for the cpu.