1234285Sdim/* $NetBSD: rmixl_cpuvar.h,v 1.1.2.2 2010/04/13 18:15:16 cliff Exp $ */ 2234285Sdim/*- 3234285Sdim * Copyright (c) 2010 The NetBSD Foundation, Inc. 4234285Sdim * All rights reserved. 5234285Sdim * 6234285Sdim * This code is derived from software contributed to The NetBSD Foundation 7234285Sdim * by Cliff Neighbors. 8234285Sdim * 9234285Sdim * Redistribution and use in source and binary forms, with or without 10234285Sdim * modification, are permitted provided that the following conditions 11234285Sdim * are met: 12234285Sdim * 1. Redistributions of source code must retain the above copyright 13234285Sdim * notice, this list of conditions and the following disclaimer. 14234285Sdim * 2. Redistributions in binary form must reproduce the above copyright 15280031Sdim * notice, this list of conditions and the following disclaimer in the 16280031Sdim * documentation and/or other materials provided with the distribution. 17234285Sdim * 18327952Sdim * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19234285Sdim * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20234285Sdim * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21234285Sdim * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22234285Sdim * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23234285Sdim * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24314564Sdim * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25314564Sdim * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26314564Sdim * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27314564Sdim * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28314564Sdim * POSSIBILITY OF SUCH DAMAGE. 29314564Sdim */ 30288943Sdim 31288943Sdim#ifndef _ARCH_MIPS_RMI_RMIXL_CPUVAR_H_ 32327952Sdim#define _ARCH_MIPS_RMI_RMIXL_CPUVAR_H_ 33234285Sdim 34234285Sdimstruct rmixl_cpu_trampoline_args { 35288943Sdim uint64_t ta_sp; 36288943Sdim uint64_t ta_lwp; 37321369Sdim uint64_t ta_cpuinfo; 38321369Sdim}; 39234285Sdim 40276479Sdimstruct rmixl_cpu_softc { 41234285Sdim device_t sc_dev; 42341825Sdim struct cpu_info *sc_ci; 43341825Sdim struct evcnt sc_vec_evcnts[64]; 44288943Sdim}; 45288943Sdim 46234285Sdim#endif /* _ARCH_MIPS_RMI_RMIXL_CPUVAR_H_ */ 47288943Sdim