1131N/A * The contents of this file are subject to the terms of the 1131N/A * Common Development and Distribution License (the "License"). 1131N/A * You may not use this file except in compliance with the License. 1131N/A * See the License for the specific language governing permissions 1131N/A * and limitations under the License. 1131N/A * When distributing Covered Code, include this CDDL HEADER in each 1131N/A * If applicable, add the following below this CDDL HEADER, with the 1131N/A * fields enclosed by brackets "[]" replaced with your own identifying 1131N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1131N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 1131N/A * Use is subject to license terms. 1131N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1828N/A * --------------------------------------- 1828N/A * | 1 | LSB ID | CHIP | CORE | CPU | 1828N/A * --------------------------------------- 1131N/A * Dummy address space for a chip. 1131N/A * ------------------------------------- 1828N/A * ------------------------------------- 1828N/A * Dummy address space for a pseudo memory node 1828N/A * This library gets loaded into the user-level fcode interpreter 1828N/A * and provides bus-specific methods that are used by the Oberon 1828N/A * and the CMU-channel fcode drivers. 1389N/A * --------------------------------------- 1828N/A * | 0 0 | LSB ID | IO CHAN | LEAF | 1389N/A * --------------------------------------- 1828N/A (!(((
hi) >>
7) &
0x1) && (((
lo) >>
20) ==
0x7))
1828N/A * We store the pointers to the following device nodes in this structure: 1828N/A * These nodes represent the different branches we create in the device 1828N/A * tree for each board during probe. We store them so that when a board 1828N/A * is unprobed, we can easily locate the branches and destroy them. 1828N/A * Prototypes for the callback functions used in the DDI functions 1828N/A * used to perform device tree operations. 1828N/A * init functions are used to find device nodes that are created 1828N/A * create functions are used to initialize device nodes during DR. 1893N/A * The following probe structure carries all the information required 1893N/A * at various points during probe. This structure serves two purposes: 1389N/A * 1. It allows us to streamline functions and have them accept just 1131N/A * 2. It allows us to pass information to the DDI callbacks. DDI 1131N/A * callbacks are allowed only one argument. It also allows 1828N/A * us to return information from those callbacks. 1893N/A * The probe structure carries a snapshot of the hardware descriptor 1893N/A * taken at the beginning of a probe. 1389N/A * Convenience macros for DDI property operations. The functions that 1389N/A * DDI provides for getting and updating properties are not symmetric 1389N/A * either in their names or in the number of arguments. These macros 1389N/A * hide the gory details and provide a symmetric way to get and 1828N/A * Node names for the different nodes supported in OPL.