|
Last change
on this file was 18, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | /* user.h (emx+gcc) */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _SYS_USER_H
|
|---|
| 4 | #define _SYS_USER_H
|
|---|
| 5 |
|
|---|
| 6 | #define UMAGIC 0x10f
|
|---|
| 7 |
|
|---|
| 8 | struct fpstate
|
|---|
| 9 | {
|
|---|
| 10 | unsigned long state[27];
|
|---|
| 11 | unsigned long status;
|
|---|
| 12 | };
|
|---|
| 13 |
|
|---|
| 14 | struct user
|
|---|
| 15 | {
|
|---|
| 16 | unsigned short u_magic;
|
|---|
| 17 | unsigned short u_reserved1;
|
|---|
| 18 | unsigned long u_data_base;
|
|---|
| 19 | unsigned long u_data_end;
|
|---|
| 20 | unsigned long u_data_off;
|
|---|
| 21 | unsigned long u_heap_base;
|
|---|
| 22 | unsigned long u_heap_end;
|
|---|
| 23 | unsigned long u_heap_off;
|
|---|
| 24 | unsigned long u_heap_brk;
|
|---|
| 25 | unsigned long u_stack_base;
|
|---|
| 26 | unsigned long u_stack_end;
|
|---|
| 27 | unsigned long u_stack_off;
|
|---|
| 28 | unsigned long u_stack_low;
|
|---|
| 29 | int * u_ar0;
|
|---|
| 30 | char u_fpvalid;
|
|---|
| 31 | char u_reserved2[3];
|
|---|
| 32 | struct fpstate u_fpstate;
|
|---|
| 33 | char u_module[8];
|
|---|
| 34 | unsigned long u_heapobjs_off;
|
|---|
| 35 | unsigned long u_reserved3[20];
|
|---|
| 36 | unsigned long u_regs[19];
|
|---|
| 37 | };
|
|---|
| 38 |
|
|---|
| 39 | struct _user_heapobj
|
|---|
| 40 | {
|
|---|
| 41 | unsigned long u_base;
|
|---|
| 42 | unsigned long u_end;
|
|---|
| 43 | unsigned long u_off;
|
|---|
| 44 | unsigned long u_brk;
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | struct _user_heapobjs
|
|---|
| 48 | {
|
|---|
| 49 | unsigned long u_count;
|
|---|
| 50 | struct _user_heapobj u_objs[255];
|
|---|
| 51 | };
|
|---|
| 52 |
|
|---|
| 53 | #endif /* not _SYS_USER_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.