Deleted Added
full compact
1/* $FreeBSD: head/sys/ia64/include/proc.h 93264 2002-03-27 05:39:23Z dillon $ */
2/* From: NetBSD: proc.h,v 1.3 1997/04/06 08:47:36 cgd Exp */
3
4/*
5 * Copyright (c) 1994, 1995 Carnegie-Mellon University.
6 * All rights reserved.
7 *
8 * Author: Chris G. Demetriou
9 *
10 * Permission to use, copy, modify and distribute this software and
11 * its documentation is hereby granted, provided that both the copyright
12 * notice and this permission notice appear in all copies of the
13 * software, derivative works or modified versions, and any portions
14 * thereof, and that both notices appear in supporting documentation.
15 *
16 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
17 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
18 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
19 *
20 * Carnegie Mellon requests users of this software to return to
21 *
22 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
23 * School of Computer Science
24 * Carnegie Mellon University
25 * Pittsburgh PA 15213-3890
26 *
27 * any improvements or extensions that they make and grant Carnegie the
28 * rights to redistribute these changes.
29 */
30
31#ifndef _MACHINE_PROC_H_
32#define _MACHINE_PROC_H_
33
34/*
35 * Machine-dependent part of the proc struct for the Alpha.
36 */
37
38struct mdthread {
39 u_long md_flags;
40 void *md_kstackvirt; /* virtual address of td_kstack */
41 vm_offset_t md_bspstore; /* initial ar.bspstore */
42 register_t md_savecrit;
43};
44
45#define MDP_FPUSED 0x0001 /* Process used the FPU */
46#define MDP_UAC_NOPRINT 0x0010 /* Don't print unaligned traps */
47#define MDP_UAC_NOFIX 0x0020 /* Don't fixup unaligned traps */
48#define MDP_UAC_SIGBUS 0x0040 /* Deliver SIGBUS upon
49 unaligned access */
50#define MDP_UAC_MASK (MDP_UAC_NOPRINT | MDP_UAC_NOFIX | MDP_UAC_SIGBUS)
51
52struct mdproc {
53 struct user *md_uservirt; /* virtual address of p_addr */
54};
55
56#endif /* !_MACHINE_PROC_H_ */