home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / ixemulsrc.lha / ixemul / include / machine / reg.h < prev    next >
C/C++ Source or Header  |  1996-12-11  |  537b  |  21 lines

  1. #ifndef _M68K_REG_H_
  2. #define _M68K_REG_H_
  3.  
  4. /* Interface between ptrace.c:ptrace() and kern_sig.c:stopped_process_handler().
  5.    Register set accessible via ptrace(). */
  6. struct reg
  7.   {
  8.     /* Registers, d0-d7/a0-a7.  D0 is r_regs[0], a0 is r_regs[8].  */
  9.     int r_regs[16];
  10.     caddr_t r_pc;                  /* program counter */
  11.     unsigned short r_sr;                  /* status register */
  12.   };
  13.  
  14. struct fpreg
  15.   {
  16.     int r_fpregs[8 * 3];    /* Registers fp0-fp7 */
  17.     int r_fpcontrol[3];        /* fpcr/fpsr/fpiar */
  18.   };
  19.  
  20. #endif /* !_M68K_REG_H_ */
  21.