xref: /openbsd-src/sys/arch/hppa/include/proc.h (revision f5d56f6d1abf3988ecad6e5bcc0d9e60de25e475)
1*f5d56f6dSguenther /*	$OpenBSD: proc.h,v 1.6 2017/04/13 03:52:25 guenther Exp $	*/
2e55ab885Smickey 
3e55ab885Smickey /*
4e55ab885Smickey  * Copyright (c) 1992, 1993
5e55ab885Smickey  *	The Regents of the University of California.  All rights reserved.
6e55ab885Smickey  *
7e55ab885Smickey  * Redistribution and use in source and binary forms, with or without
8e55ab885Smickey  * modification, are permitted provided that the following conditions
9e55ab885Smickey  * are met:
10e55ab885Smickey  * 1. Redistributions of source code must retain the above copyright
11e55ab885Smickey  *    notice, this list of conditions and the following disclaimer.
12e55ab885Smickey  * 2. Redistributions in binary form must reproduce the above copyright
13e55ab885Smickey  *    notice, this list of conditions and the following disclaimer in the
14e55ab885Smickey  *    documentation and/or other materials provided with the distribution.
1529295d1cSmillert  * 3. Neither the name of the University nor the names of its contributors
16e55ab885Smickey  *    may be used to endorse or promote products derived from this software
17e55ab885Smickey  *    without specific prior written permission.
18e55ab885Smickey  *
19e55ab885Smickey  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20e55ab885Smickey  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21e55ab885Smickey  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22e55ab885Smickey  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23e55ab885Smickey  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24e55ab885Smickey  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25e55ab885Smickey  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26e55ab885Smickey  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27e55ab885Smickey  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28e55ab885Smickey  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29e55ab885Smickey  * SUCH DAMAGE.
30e55ab885Smickey  *
31e55ab885Smickey  *	@(#)proc.h      7.1 (Berkeley) 5/15/91
32e55ab885Smickey  */
33e55ab885Smickey 
34e55ab885Smickey /*
35e55ab885Smickey  * Machine-dependent part of the proc structure for hppa.
36e55ab885Smickey  */
37e55ab885Smickey struct mdproc {
38e55ab885Smickey 	struct trapframe *md_regs;	/* registers on current frame */
39da6814fdSjsing 	volatile int md_astpending;	/* AST pending for this process */
40e55ab885Smickey 	int	md_flags;		/* machine-dependent flags */
417bfbef72Skettenis 
427bfbef72Skettenis 	vaddr_t md_bpva;
437bfbef72Skettenis 	u_int	md_bpsave[2];
44e55ab885Smickey };
45e55ab885Smickey 
46e55ab885Smickey /* md_flags */
47e55ab885Smickey 
48