diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-09-09 22:21:42 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-09-09 22:21:42 +0000 |
commit | 6c3ce8600ec35afdbb168a95bc787f1a247392a0 (patch) | |
tree | 8bbdd687c55e26c2328a5c3c96089c62e77b27ab /sys/arch/mips64/include/regdef.h | |
parent | 3e2fc1bb21e67310e10ff7c7ea903a52d1d146c5 (diff) |
these should have gone in with the other 64 bit changes
Diffstat (limited to 'sys/arch/mips64/include/regdef.h')
-rw-r--r-- | sys/arch/mips64/include/regdef.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/regdef.h b/sys/arch/mips64/include/regdef.h index eec78c9b745..2b21ccd5751 100644 --- a/sys/arch/mips64/include/regdef.h +++ b/sys/arch/mips64/include/regdef.h @@ -1,4 +1,4 @@ -/* $OpenBSD: regdef.h,v 1.1 2004/08/06 20:56:02 pefo Exp $ */ +/* $OpenBSD: regdef.h,v 1.2 2004/09/09 22:21:41 pefo Exp $ */ /* * Copyright (c) 1992, 1993 @@ -49,6 +49,20 @@ #define a1 $5 #define a2 $6 #define a3 $7 +#if defined(__mips_n32) || defined(__mips_n64) +#define a4 $8 /* expanded register arguments */ +#define a5 $9 +#define a6 $10 +#define a7 $11 +#define ta0 $8 /* alias */ +#define ta1 $9 +#define ta2 $10 +#define ta3 $11 +#define t0 $12 /* temp registers (not saved across subroutine calls) */ +#define t1 $13 +#define t2 $14 +#define t3 $15 +#else #define t0 $8 /* temp registers (not saved across subroutine calls) */ #define t1 $9 #define t2 $10 @@ -57,6 +71,11 @@ #define t5 $13 #define t6 $14 #define t7 $15 +#define ta0 $12 /* alias */ +#define ta1 $13 +#define ta2 $14 +#define ta3 $15 +#endif #define s0 $16 /* saved across subroutine calls (callee saved) */ #define s1 $17 #define s2 $18 |