From f08a540ec9e2a44cd490aa22095270eb60f49a9b Mon Sep 17 00:00:00 2001 From: palle Date: Tue, 15 Feb 2022 20:35:37 +0000 Subject: [PATCH] Document the calculation of CC64FSZ --- sys/arch/sparc/include/frame.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/include/frame.h b/sys/arch/sparc/include/frame.h index f9a13e4945c0..690666022065 100644 --- a/sys/arch/sparc/include/frame.h +++ b/sys/arch/sparc/include/frame.h @@ -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 @@ struct frame64 { /* * 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