* tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move

REGISTER_U_ADDR to corresponding xm- file.  Sugg. by Peter Schauer.
This commit is contained in:
John Gilmore 1991-10-12 07:11:48 +00:00
parent 96eb46258b
commit df6335e19f
10 changed files with 133 additions and 149 deletions

View file

@ -136,20 +136,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define DO_REGISTERS_INFO(_regnum, fp) mips_do_registers_info(_regnum, fp)
#define REGISTER_U_ADDR(addr, blockend, regno) \
if (blockend == 0) { \
if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\
else addr = 0; /* ..somewhere in the pcb */ \
} else if (regno < 32) addr = regno; \
else if (regno == PC_REGNUM) addr = 96; \
else if (regno == 36) addr = 97; \
else if (regno == HI_REGNUM) addr = 98; \
else if (regno == LO_REGNUM) addr = 99; \
else if (regno == FCRCS_REGNUM) addr = 100; \
else if (regno == FCRIR_REGNUM) addr = 101; \
else if (regno >= FP0_REGNUM) addr = regno - (FP0_REGNUM-32);\
else addr = 0;
/* Total amount of space needed to store our copies of the machine's
register state, the array `registers'. */
#define REGISTER_BYTES (NUM_REGS*4)