Home | History | Annotate | Line # | Download | only in include
proc.h revision 1.2
      1  1.2  dbj /*	$NetBSD: proc.h,v 1.2 1998/08/28 23:05:53 dbj Exp $	*/
      2  1.1  dbj 
      3  1.1  dbj /*
      4  1.2  dbj  * This file was taken from from mvme68k/include/proc.h and
      5  1.2  dbj  * should probably be re-synced when needed.
      6  1.2  dbj  * Darrin B Jewell <jewell (at) mit.edu>  Fri Aug 28 03:22:07 1998
      7  1.2  dbj  * original cvs id: NetBSD: proc.h,v 1.1.1.1 1995/07/25 23:12:16 chuck Exp
      8  1.2  dbj  */
      9  1.2  dbj 
     10  1.2  dbj 
     11  1.2  dbj /*
     12  1.2  dbj  * Copyright (c) 1991, 1993
     13  1.2  dbj  *	The Regents of the University of California.  All rights reserved.
     14  1.1  dbj  *
     15  1.1  dbj  * Redistribution and use in source and binary forms, with or without
     16  1.1  dbj  * modification, are permitted provided that the following conditions
     17  1.1  dbj  * are met:
     18  1.1  dbj  * 1. Redistributions of source code must retain the above copyright
     19  1.1  dbj  *    notice, this list of conditions and the following disclaimer.
     20  1.1  dbj  * 2. Redistributions in binary form must reproduce the above copyright
     21  1.1  dbj  *    notice, this list of conditions and the following disclaimer in the
     22  1.1  dbj  *    documentation and/or other materials provided with the distribution.
     23  1.1  dbj  * 3. All advertising materials mentioning features or use of this software
     24  1.1  dbj  *    must display the following acknowledgement:
     25  1.1  dbj  *	This product includes software developed by the University of
     26  1.1  dbj  *	California, Berkeley and its contributors.
     27  1.1  dbj  * 4. Neither the name of the University nor the names of its contributors
     28  1.1  dbj  *    may be used to endorse or promote products derived from this software
     29  1.1  dbj  *    without specific prior written permission.
     30  1.1  dbj  *
     31  1.1  dbj  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     32  1.1  dbj  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     33  1.1  dbj  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     34  1.1  dbj  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     35  1.1  dbj  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     36  1.1  dbj  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     37  1.1  dbj  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     38  1.1  dbj  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     39  1.1  dbj  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     40  1.1  dbj  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     41  1.1  dbj  * SUCH DAMAGE.
     42  1.1  dbj  *
     43  1.2  dbj  *	@(#)proc.h	8.1 (Berkeley) 6/10/93
     44  1.1  dbj  */
     45  1.1  dbj 
     46  1.1  dbj /*
     47  1.2  dbj  * Machine-dependent part of the proc structure for mvme68k.
     48  1.1  dbj  */
     49  1.1  dbj struct mdproc {
     50  1.2  dbj 	int	*md_regs;		/* registers on current frame */
     51  1.1  dbj 	int	md_flags;		/* machine-dependent flags */
     52  1.1  dbj };
     53  1.1  dbj 
     54  1.1  dbj /* md_flags */
     55  1.2  dbj #define MDP_STACKADJ    0x0002  /* frame SP adjusted, might have to
     56  1.2  dbj                                    undo when system call returns
     57  1.2  dbj                                    ERESTART. */
     58  1.2  dbj #define	MDP_HPUXTRACE	0x0004	/* being traced by HP-UX process */
     59  1.2  dbj #define	MDP_HPUXMMAP	0x0008	/* VA space is multiply mapped */
     60  1.2  dbj #define	MDP_CCBDATA	0x0010	/* copyback caching of data (68040) */
     61  1.2  dbj #define	MDP_CCBSTACK	0x0020	/* copyback caching of stack (68040) */
     62