patch-1.3.48 linux/include/asm-mips/regdef.h

Next file: linux/include/asm-mips/resource.h
Previous file: linux/include/asm-mips/reg.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.47/linux/include/asm-mips/regdef.h linux/include/asm-mips/regdef.h
@@ -5,17 +5,17 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1994 by Ralf Baechle
+ * Copyright (C) 1994, 1995 by Ralf Baechle
  */
 
-#ifndef __ASM_MIPS_REGSDEFS_H
-#define __ASM_MIPS_REGSDEFS_H
+#ifndef __ASM_MIPS_REGDEF_H
+#define __ASM_MIPS_REGDEF_H
 
 /*
- * Symbolic register names
+ * Symbolic register names for 32 bit ABI
  */
 #define zero    $0      /* wired zero */
-#define AT      $1      /* assembler temp (uprcase, because ".set at") */
+#define AT      $1      /* assembler temp  - uppercase because of ".set at" */
 #define v0      $2      /* return value */
 #define v1      $3
 #define a0      $4      /* argument registers */
@@ -40,11 +40,13 @@
 #define s7      $23
 #define t8      $24     /* caller saved */
 #define t9      $25
+#define jp      $25     /* PIC jump register */
 #define k0      $26     /* kernel scratch */
 #define k1      $27
 #define gp      $28     /* global pointer */
 #define sp      $29     /* stack pointer */
 #define fp      $30     /* frame pointer */
+#define s8	$30	/* same like fp! */
 #define ra      $31     /* return address */
 
-#endif /* __ASM_MIPS_REGSDEFS_H */
+#endif /* __ASM_MIPS_REGDEF_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this