1*d9e22319Spefo /* $OpenBSD: mips64.h,v 1.1 2004/08/11 11:25:16 pefo Exp $ */ 2*d9e22319Spefo /* $NetBSD: mips.h,v 1.3 1995/04/19 07:16:12 cgd Exp $ */ 3*d9e22319Spefo 4*d9e22319Spefo /*- 5*d9e22319Spefo * Copyright (c) 1992, 1993 6*d9e22319Spefo * The Regents of the University of California. All rights reserved. 7*d9e22319Spefo * 8*d9e22319Spefo * This software was developed by the Computer Systems Engineering group 9*d9e22319Spefo * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 10*d9e22319Spefo * contributed to Berkeley. Modified by Ralph Campbell for mips. 11*d9e22319Spefo * 12*d9e22319Spefo * Redistribution and use in source and binary forms, with or without 13*d9e22319Spefo * modification, are permitted provided that the following conditions 14*d9e22319Spefo * are met: 15*d9e22319Spefo * 1. Redistributions of source code must retain the above copyright 16*d9e22319Spefo * notice, this list of conditions and the following disclaimer. 17*d9e22319Spefo * 2. Redistributions in binary form must reproduce the above copyright 18*d9e22319Spefo * notice, this list of conditions and the following disclaimer in the 19*d9e22319Spefo * documentation and/or other materials provided with the distribution. 20*d9e22319Spefo * 3. Neither the name of the University nor the names of its contributors 21*d9e22319Spefo * may be used to endorse or promote products derived from this software 22*d9e22319Spefo * without specific prior written permission. 23*d9e22319Spefo * 24*d9e22319Spefo * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25*d9e22319Spefo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26*d9e22319Spefo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27*d9e22319Spefo * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 28*d9e22319Spefo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29*d9e22319Spefo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30*d9e22319Spefo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31*d9e22319Spefo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32*d9e22319Spefo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33*d9e22319Spefo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34*d9e22319Spefo * SUCH DAMAGE. 35*d9e22319Spefo * 36*d9e22319Spefo * @(#)mips.h 8.1 (Berkeley) 6/6/93 37*d9e22319Spefo * 38*d9e22319Spefo * From: @(#)sparc.h 5.1 (Berkeley) 7/8/92 39*d9e22319Spefo */ 40*d9e22319Spefo 41*d9e22319Spefo /* 42*d9e22319Spefo * offset (in bytes) of the code from the entry address of a routine. 43*d9e22319Spefo * (see asgnsamples for use and explanation.) 44*d9e22319Spefo */ 45*d9e22319Spefo #define OFFSET_OF_CODE 0 46*d9e22319Spefo #define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) 47*d9e22319Spefo 48*d9e22319Spefo enum opermodes { dummy }; 49*d9e22319Spefo typedef enum opermodes operandenum; 50