direct-io.hg

changeset 15488:6d2645b78975

[POWERPC][FIRMWARE] Increase stack and move it to the biging of the data section.

RTAS code needs more stack and moving the stack out of the text section makes oger debuggers (gdb) happy.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Sun Jun 03 10:20:02 2007 -0400 (2007-06-03)
parents cb40299a0733
children 7205c65add2d
files xen/arch/powerpc/of_handler/head.S
line diff
     1.1 --- a/xen/arch/powerpc/of_handler/head.S	Sun Jun 03 10:15:50 2007 -0400
     1.2 +++ b/xen/arch/powerpc/of_handler/head.S	Sun Jun 03 10:20:02 2007 -0400
     1.3 @@ -1,25 +1,28 @@
     1.4  /*
     1.5 - * Copyright (C) 2005 Jimi Xenidis <jimix@watson.ibm.com>, IBM Corporation
     1.6 - *
     1.7   * This program is free software; you can redistribute it and/or modify
     1.8   * it under the terms of the GNU General Public License as published by
     1.9   * the Free Software Foundation; either version 2 of the License, or
    1.10   * (at your option) any later version.
    1.11 - * 
    1.12 + *
    1.13   * This program is distributed in the hope that it will be useful,
    1.14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.16   * GNU General Public License for more details.
    1.17 - * 
    1.18 + *
    1.19   * You should have received a copy of the GNU General Public License
    1.20   * along with this program; if not, write to the Free Software
    1.21 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
    1.22 + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    1.23 + *
    1.24 + * Copyright (C) IBM Corp. 2005, 2007
    1.25 + *
    1.26 + * Authors: Jimi Xenidis <jimix@watson.ibm.com>
    1.27   */
    1.28 +
    1.29  /*
    1.30   * Glue code for open-firmware client interface implementation.
    1.31   */
    1.32  
    1.33 -#define OF_STACK_SIZE (32*1024)
    1.34 +#define OF_STACK_SIZE (64*1024)
    1.35  
    1.36  #include <asm/config.h>
    1.37  #include <asm/processor.h>
    1.38 @@ -62,11 +65,6 @@
    1.39  	.long 0x0	
    1.40  	.long 0x0	
    1.41  	
    1.42 -	. = 0x30
    1.43 -_ofh_cih_stack_end:
    1.44 -	.space	OF_STACK_SIZE
    1.45 -_ofh_cih_stack:
    1.46 -   
    1.47  _ofh_cih_continue:
    1.48  	mflr	r12				# r12 = &_ofh_work_space
    1.49  	mr	r11, r1				# r11 = orig stk ptr
    1.50 @@ -150,3 +148,9 @@ 1:	mflr	r5
    1.51  	subf	r3,r4,r5
    1.52  	mtlr	r0
    1.53  	blr
    1.54 +
    1.55 +	.data
    1.56 +	.p2align 3
    1.57 +_ofh_cih_stack_end:
    1.58 +	.space	OF_STACK_SIZE
    1.59 +_ofh_cih_stack: