home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / USER.H < prev    next >
C/C++ Source or Header  |  1992-08-28  |  815b  |  38 lines

  1. /* user.h (emx+gcc) */
  2.  
  3. #if !defined (_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.   unsigned long  u_reserved3[23];
  34.   unsigned long  u_regs[19];
  35. };
  36.  
  37. #endif /* !defined (_SYS_USER_H) */
  38.