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] stubdom: Save main_thread value by moving

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] stubdom: Save main_thread value by moving it out from app_bss which
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 May 2008 08:20:11 -0700
Delivery-date: Wed, 28 May 2008 08:20:19 -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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211963464 -3600
# Node ID 38ec0d6748429050a349fb9e73b948389df0616d
# Parent  460f72ca97b6544e36c2fbe264d2d690ce0e815d
stubdom: Save main_thread value by moving it out from app_bss which
gets cleared.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/main.c  |    2 --
 extras/mini-os/sched.c |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 460f72ca97b6 -r 38ec0d674842 extras/mini-os/main.c
--- a/extras/mini-os/main.c     Wed May 28 09:30:48 2008 +0100
+++ b/extras/mini-os/main.c     Wed May 28 09:31:04 2008 +0100
@@ -20,8 +20,6 @@ extern void __libc_fini_array(void);
 extern void __libc_fini_array(void);
 extern unsigned long __CTOR_LIST__[];
 extern unsigned long __DTOR_LIST__[];
-
-struct thread *main_thread;
 
 #if 0
 #include <stdio.h>
diff -r 460f72ca97b6 -r 38ec0d674842 extras/mini-os/sched.c
--- a/extras/mini-os/sched.c    Wed May 28 09:30:48 2008 +0100
+++ b/extras/mini-os/sched.c    Wed May 28 09:31:04 2008 +0100
@@ -57,6 +57,8 @@ struct thread *idle_thread = NULL;
 struct thread *idle_thread = NULL;
 LIST_HEAD(exited_threads);
 static int threads_started;
+
+struct thread *main_thread;
 
 void inline print_runqueue(void)
 {

_______________________________________________
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] stubdom: Save main_thread value by moving it out from app_bss which, Xen patchbot-unstable <=