125cf1a30Sjl\ 2*4fe85d41SJames Anderson\ Copyright 2008 Sun Microsystems, Inc. All rights reserved. 325cf1a30Sjl\ Use is subject to license terms. 425cf1a30Sjl\ 525cf1a30Sjl\ CDDL HEADER START 625cf1a30Sjl\ 725cf1a30Sjl\ The contents of this file are subject to the terms of the 825cf1a30Sjl\ Common Development and Distribution License (the "License"). 925cf1a30Sjl\ You may not use this file except in compliance with the License. 1025cf1a30Sjl\ 1125cf1a30Sjl\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 1225cf1a30Sjl\ or http://www.opensolaris.org/os/licensing. 1325cf1a30Sjl\ See the License for the specific language governing permissions 1425cf1a30Sjl\ and limitations under the License. 1525cf1a30Sjl\ 1625cf1a30Sjl\ When distributing Covered Code, include this CDDL HEADER in each 1725cf1a30Sjl\ file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1825cf1a30Sjl\ If applicable, add the following below this CDDL HEADER, with the 1925cf1a30Sjl\ fields enclosed by brackets "[]" replaced with your own identifying 2025cf1a30Sjl\ information: Portions Copyright [yyyy] [name of copyright owner] 2125cf1a30Sjl\ 2225cf1a30Sjl\ CDDL HEADER END 2325cf1a30Sjl\ 2425cf1a30Sjl 2525cf1a30Sjl#include <sys/types.h> 2625cf1a30Sjl#include <sys/sysmacros.h> 2725cf1a30Sjl#include <sys/param.h> 2825cf1a30Sjl#include <sys/machparam.h> 2925cf1a30Sjl#include <sys/systm.h> 3025cf1a30Sjl#include <sys/machsystm.h> 3125cf1a30Sjl#include <sys/cpuvar.h> 3225cf1a30Sjl 3325cf1a30Sjl#include <sys/drmach.h> 3425cf1a30Sjl 3525cf1a30Sjldrmach_copy_rename_critical_t DRMACH_COPY_RENAME_CRITICAL_SIZE 3625cf1a30Sjl scf_reg_base 3725cf1a30Sjl scf_td 3825cf1a30Sjl save_log 3925cf1a30Sjl save_local 4025cf1a30Sjl pstate 4125cf1a30Sjl delay 4225cf1a30Sjl run 4325cf1a30Sjl fmem 4425cf1a30Sjl loop 4525cf1a30Sjl loop_rtn 4625cf1a30Sjl inst_loop_ret 4725cf1a30Sjl fmem_issued 4825cf1a30Sjl 4925cf1a30Sjldrmach_scf_regs_t SCF_REG_SIZE 5025cf1a30Sjl scf_command 5125cf1a30Sjl scf_status 5225cf1a30Sjl scf_version 5325cf1a30Sjl scf_tdata 5425cf1a30Sjl scf_rdata 55*4fe85d41SJames Anderson scf_status_ex 5625cf1a30Sjl 5725cf1a30Sjldrmach_fmem_mbox_t FMEM_MBOX_SIZE 5825cf1a30Sjl stat 5925cf1a30Sjl error 60