Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include Document the calculation of CC64FSZ



details:   https://anonhg.NetBSD.org/src/rev/21b26378f7f8
branches:  trunk
changeset: 361578:21b26378f7f8
user:      palle <palle%NetBSD.org@localhost>
date:      Tue Feb 15 20:35:37 2022 +0000

description:
Document the calculation of CC64FSZ

diffstat:

 sys/arch/sparc/include/frame.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 96a621d66af5 -r 21b26378f7f8 sys/arch/sparc/include/frame.h
--- a/sys/arch/sparc/include/frame.h    Tue Feb 15 18:14:18 2022 +0000
+++ b/sys/arch/sparc/include/frame.h    Tue Feb 15 20:35:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frame.h,v 1.10 2018/04/11 19:37:58 palle Exp $ */
+/*     $NetBSD: frame.h,v 1.11 2022/02/15 20:35:37 palle Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -125,7 +125,8 @@
 
 /*
  * CC64FSZ (C Compiler 64-bit Frame SiZe) is the size of a stack frame used
- * by the compiler in 64-bit mode.  It is (16)*8; space for 8 ins, 8 outs.
+ * by the compiler in 64-bit mode (see struct frame64 above).
+ * It is 8*8 + 6*8 + 8 + 8 + 6*8 + 0*8 = 176 bytes.
  */
 #define CC64FSZ                176
 



Home | Main Index | Thread Index | Old Index