|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] stubdom: Save main_thread value by moving
# 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 <=
|
|
|
|
|