* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / include / asm-mips / prctl.h
blob0e009bfb9c7ddd467a10779ddcbeea0e13e2fd3b
1 /*
2 * IRIX prctl interface
4 * The IRIX kernel maps a page at PRDA_ADDRESS with the
5 * contents of prda and fills it the bits on prda_sys.
6 * $Id: prctl.h,v 1.1 1997/12/02 02:28:28 ralf Exp $
7 */
9 #ifndef __PRCTL_H__
10 #define __PRCTL_H__
12 #define PRDA_ADDRESS 0x200000L
13 #define PRDA ((struct prda *) PRDA_ADDRESS)
15 struct prda_sys {
16 pid_t t_pid;
17 u32 t_hint;
18 u32 t_dlactseq;
19 u32 t_fpflags;
20 u32 t_prid; /* processor type, $prid CP0 register */
21 u32 t_dlendseq;
22 u64 t_unused1[5];
23 pid_t t_rpid;
24 s32 t_resched;
25 u32 t_unused[8];
26 u32 t_cpu; /* current/last cpu */
28 /* FIXME: The signal information, not supported by Linux now */
29 u32 t_flags; /* if true, then the sigprocmask is in userspace */
30 u32 t_sigprocmask [1]; /* the sigprocmask */
33 struct prda {
34 char fill [0xe00];
35 struct prda_sys prda_sys;
38 #define t_sys prda_sys
40 ptrdiff_t prctl (int op, int v1, int v2);
42 #endif