From: Dileep Kumar Date: Tue, 8 Apr 2008 17:22:32 +0530 Subject: [U-Boot-Users] regarding exception frame Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, In the uboot1.1.6 code , there are some constants like STACK_FRAME_OVERHEAD and STACK_UNDERHEAD in the file "\include\ppc_asm.tmpl " . Could you please tell me what are the use of those constants ? Here is one statement in the macro CRITICAL_EXCEPTION_PROLOG in the file "ppc_asm.tmpl" subi r21,r1,INT_FRAME_SIZE+STACK_UNDERHEAD; /* alloc exc. frame */\ what is the need of STACK_UNDERHEAD here ? In the macro STD_EXCEPTION there is a statement in the same file addi r3,r1,STACK_FRAME_OVERHEAD What is the need of STACK_FRAME_OVERHEAD here ? Please clarify my doubts .... Thanks Dileep Kumar