|
Last change
on this file since 43 was
43,
checked in by megakiss, 11 years ago
|
|
광주방송 OTC 주파수 369Mhz로 변경
|
-
Property svn:executable set to
*
|
|
File size:
963 bytes
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * IRIX prctl interface |
|---|
| 3 | * |
|---|
| 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 | */ |
|---|
| 7 | |
|---|
| 8 | #ifndef __PRCTL_H__ |
|---|
| 9 | #define __PRCTL_H__ |
|---|
| 10 | |
|---|
| 11 | #define PRDA_ADDRESS 0x200000L |
|---|
| 12 | #define PRDA ((struct prda *) PRDA_ADDRESS) |
|---|
| 13 | |
|---|
| 14 | struct prda_sys { |
|---|
| 15 | pid_t t_pid; |
|---|
| 16 | __u32 t_hint; |
|---|
| 17 | __u32 t_dlactseq; |
|---|
| 18 | __u32 t_fpflags; |
|---|
| 19 | __u32 t_prid; /* processor type, $prid CP0 register */ |
|---|
| 20 | __u32 t_dlendseq; |
|---|
| 21 | __u64 t_unused1[5]; |
|---|
| 22 | pid_t t_rpid; |
|---|
| 23 | __s32 t_resched; |
|---|
| 24 | __u32 t_unused[8]; |
|---|
| 25 | __u32 t_cpu; /* current/last cpu */ |
|---|
| 26 | |
|---|
| 27 | /* FIXME: The signal information, not supported by Linux now */ |
|---|
| 28 | __u32 t_flags; /* if true, then the sigprocmask is in userspace */ |
|---|
| 29 | __u32 t_sigprocmask [1]; /* the sigprocmask */ |
|---|
| 30 | }; |
|---|
| 31 | |
|---|
| 32 | struct prda { |
|---|
| 33 | char fill [0xe00]; |
|---|
| 34 | struct prda_sys prda_sys; |
|---|
| 35 | }; |
|---|
| 36 | |
|---|
| 37 | #define t_sys prda_sys |
|---|
| 38 | |
|---|
| 39 | ptrdiff_t prctl (int op, int v1, int v2); |
|---|
| 40 | |
|---|
| 41 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.