WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [POWERPC][FIRMWARE] Increase stack and mo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [POWERPC][FIRMWARE] Increase stack and move it to the biging of the data section.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jul 2007 04:21:10 -0700
Delivery-date: Mon, 09 Jul 2007 04:19:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [POWERPC][FIRMWARE] Increase stack and move it to the biging of the data section., Xen patchbot-unstable <=