Home | History | Annotate | Line # | Download | only in include
reg.h revision 1.15.12.1
      1  1.15.12.1  jdolecek /*	$NetBSD: reg.h,v 1.15.12.1 2017/12/03 11:36:27 jdolecek Exp $	*/
      2        1.4       cgd 
      3        1.1   deraadt /*
      4       1.14     rmind  * Copyright (c) 1988 University of Utah.
      5        1.2     glass  * Copyright (c) 1992, 1993
      6        1.2     glass  *	The Regents of the University of California.  All rights reserved.
      7       1.11       agc  *
      8       1.11       agc  * This code is derived from software contributed to Berkeley by
      9       1.11       agc  * the Systems Programming Group of the University of Utah Computer
     10       1.11       agc  * Science Department and Ralph Campbell.
     11       1.11       agc  *
     12       1.11       agc  * Redistribution and use in source and binary forms, with or without
     13       1.11       agc  * modification, are permitted provided that the following conditions
     14       1.11       agc  * are met:
     15       1.11       agc  * 1. Redistributions of source code must retain the above copyright
     16       1.11       agc  *    notice, this list of conditions and the following disclaimer.
     17       1.11       agc  * 2. Redistributions in binary form must reproduce the above copyright
     18       1.11       agc  *    notice, this list of conditions and the following disclaimer in the
     19       1.11       agc  *    documentation and/or other materials provided with the distribution.
     20       1.11       agc  * 3. Neither the name of the University nor the names of its contributors
     21       1.11       agc  *    may be used to endorse or promote products derived from this software
     22       1.11       agc  *    without specific prior written permission.
     23       1.11       agc  *
     24       1.11       agc  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     25       1.11       agc  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     26       1.11       agc  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     27       1.11       agc  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     28       1.11       agc  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     29       1.11       agc  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     30       1.11       agc  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     31       1.11       agc  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     32       1.11       agc  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     33       1.11       agc  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     34       1.11       agc  * SUCH DAMAGE.
     35       1.11       agc  *
     36       1.11       agc  * from: Utah Hdr: reg.h 1.1 90/07/09
     37       1.11       agc  *
     38       1.11       agc  *	@(#)reg.h	8.2 (Berkeley) 1/11/94
     39       1.11       agc  */
     40        1.1   deraadt 
     41       1.10    simonb #ifndef _MIPS_REG_H_
     42       1.10    simonb #define _MIPS_REG_H_
     43        1.2     glass 
     44        1.9    castor 
     45        1.2     glass struct reg {
     46  1.15.12.1  jdolecek 	__register_t	r_regs[38];
     47        1.2     glass };
     48        1.7    mhitch 
     49        1.7    mhitch struct fpreg {
     50  1.15.12.1  jdolecek 	__fpregister_t	r_regs[33];
     51        1.7    mhitch };
     52        1.7    mhitch 
     53       1.15      matt struct dspreg {
     54  1.15.12.1  jdolecek 	__register_t	r_regs[8];
     55       1.15      matt };
     56       1.15      matt 
     57       1.13      matt #if defined(__mips_n32) || defined(__mips_n64)
     58       1.13      matt struct fpreg_oabi {
     59       1.13      matt 	int32_t		r_regs[33];
     60       1.13      matt };
     61       1.13      matt #endif
     62       1.13      matt 
     63       1.10    simonb #endif /*_MIPS_REG_H_*/
     64