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