155120Storek /* 2*63320Sbostic * Copyright (c) 1992, 1993 3*63320Sbostic * The Regents of the University of California. All rights reserved. 455120Storek * 555120Storek * This software was developed by the Computer Systems Engineering group 655120Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 755120Storek * contributed to Berkeley. 855120Storek * 955501Sbostic * All advertising materials mentioning features or use of this software 1055501Sbostic * must display the following acknowledgement: 1155501Sbostic * This product includes software developed by the University of 1259209Storek * California, Lawrence Berkeley Laboratory. 1355501Sbostic * 1455120Storek * %sccs.include.redist.c% 1555120Storek * 16*63320Sbostic * @(#)frame.h 8.1 (Berkeley) 06/11/93 1755120Storek * 1859209Storek * from: $Header: frame.h,v 1.5 92/11/26 02:04:35 torek Exp $ 1955120Storek */ 2055120Storek 2155120Storek /* 2255120Storek * Sparc stack frame format. 2355120Storek * 2455120Storek * Note that the contents of each stack frame may be held only in 2555120Storek * machine register windows. In order to get an accurate picture 2655120Storek * of the frame, you must first force the kernel to write any such 2755120Storek * windows to the stack. 2855120Storek */ 2955120Storek struct frame { 3055120Storek int fr_local[8]; /* space to save locals (%l0..%l7) */ 3155120Storek int fr_arg[6]; /* space to save arguments (%i0..%i5) */ 3255120Storek struct frame *fr_fp; /* space to save frame pointer (%i6) */ 3355120Storek int fr_pc; /* space to save return pc (%i7) */ 3455120Storek /* 3555120Storek * SunOS reserves another 8 words here; this is pointless 3655120Storek * but we do it for compatibility. 3755120Storek */ 3855120Storek int fr_xxx; /* `structure return pointer' (unused) */ 3955120Storek int fr_argd[6]; /* `arg dump area' (lunacy) */ 4055120Storek int fr_argx[1]; /* arg extension (args 7..n; variable size) */ 4155120Storek }; 42