Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/include The return address register ($ra) is ...



details:   https://anonhg.NetBSD.org/src/rev/0099bf6dc144
branches:  trunk
changeset: 514580:0099bf6dc144
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Wed Sep 05 20:12:53 2001 +0000

description:
The return address register ($ra) is callee-saved, not caller-saved.

diffstat:

 sys/arch/alpha/include/asm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ead96450f7b8 -r 0099bf6dc144 sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h      Wed Sep 05 19:48:12 2001 +0000
+++ b/sys/arch/alpha/include/asm.h      Wed Sep 05 20:12:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.23 2000/06/23 12:18:45 kleink Exp $ */
+/* $NetBSD: asm.h,v 1.24 2001/09/05 20:12:53 nathanw Exp $ */
 
 /* 
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -82,7 +82,7 @@
 #define t9     $23
 #define t10    $24
 #define t11    $25
-#define ra     $26     /* (T)          return address          */
+#define ra     $26     /* (S)          return address          */
 #define t12    $27     /* (T)          another temporary       */
 #define at_reg $28     /* (T)          assembler scratch       */
 #define        gp      $29     /* (T)          (local) data pointer    */



Home | Main Index | Thread Index | Old Index