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-ppc-devel

[XenPPC] [pushed] [ppc] call console_start_sync() on halt and restart

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] call console_start_sync() on halt and restart
From: jimix@xxxxxxxxxxxxxx
Date: Thu, 30 Mar 2006 16:03:01 -0500
Delivery-date: Thu, 30 Mar 2006 21:02:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9713:ee8ecb4ba54ad07194e8578f26843b6c27de5e6a
tag:         tip
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Thu Mar 30 16:02:45 2006 -0500
files:       xen/arch/ppc/domain.c
description:
[ppc] call console_start_sync() on halt and restart


diff -r 11301521b11de329d23fd60b8b088db9b5a83c92 -r 
ee8ecb4ba54ad07194e8578f26843b6c27de5e6a xen/arch/ppc/domain.c
--- a/xen/arch/ppc/domain.c     Thu Mar 30 14:36:44 2006 -0500
+++ b/xen/arch/ppc/domain.c     Thu Mar 30 16:02:45 2006 -0500
@@ -23,6 +23,7 @@
 #include <xen/mm.h>
 #include <xen/serial.h>
 #include <xen/domain.h>
+#include <xen/console.h>
 #include <asm/htab.h>
 #include <asm/current.h>
 #include <asm/hcalls.h>
@@ -104,12 +105,14 @@ void machine_halt(void)
 void machine_halt(void)
 {
     printf("machine_halt called: spinning....\n");
+    console_start_sync();
     while(1);
 }
 
 void machine_restart(char * __unused)
 {
     printf("machine_restart called: spinning....\n");
+    console_start_sync();
     while(1);
 }
 



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] call console_start_sync() on halt and restart, jimix <=