Optimize andes_clear_page() and andes_copy_page() with prefetch
[linux-2.6/linux-mips.git] / include / asm-mips / prctl.h
blob941f96feace0f127bba20a09042a6a2d93309679
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$
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