[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [POWERPC][FIRMWARE] Increase stack and move it to the biging of the data section.
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Date 1180880402 14400 # Node ID 6d2645b78975643db862152144d0969d362ddbe8 # Parent cb40299a0733d9bd26250c5aa785393a7848882a [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@xxxxxxxxxxxxxx> --- xen/arch/powerpc/of_handler/head.S | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff -r cb40299a0733 -r 6d2645b78975 xen/arch/powerpc/of_handler/head.S --- a/xen/arch/powerpc/of_handler/head.S Sun Jun 03 10:15:50 2007 -0400 +++ b/xen/arch/powerpc/of_handler/head.S Sun Jun 03 10:20:02 2007 -0400 @@ -1,25 +1,28 @@ /* - * Copyright (C) 2005 Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, IBM Corporation - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Copyright (C) IBM Corp. 2005, 2007 + * + * Authors: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> */ + /* * Glue code for open-firmware client interface implementation. */ -#define OF_STACK_SIZE (32*1024) +#define OF_STACK_SIZE (64*1024) #include <asm/config.h> #include <asm/processor.h> @@ -62,11 +65,6 @@ _ofh_lastarg: .long 0x0 .long 0x0 - . = 0x30 -_ofh_cih_stack_end: - .space OF_STACK_SIZE -_ofh_cih_stack: - _ofh_cih_continue: mflr r12 # r12 = &_ofh_work_space mr r11, r1 # r11 = orig stk ptr @@ -150,3 +148,9 @@ 1: mflr r5 subf r3,r4,r5 mtlr r0 blr + + .data + .p2align 3 +_ofh_cih_stack_end: + .space OF_STACK_SIZE +_ofh_cih_stack: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |