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

[Xen-devel] Re: [RFC][PATCH] synchronize console on BUG()

To: Horms <horms@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [RFC][PATCH] synchronize console on BUG()
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Thu, 29 Jun 2006 07:22:52 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Jun 2006 04:23:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060629100103.6D54A3402E@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060629100103.6D54A3402E@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On Jun 29, 2006, at 6:01 AM, Horms wrote:

In article <E1Fvahf-0001xr-ME@xxxxxxxxxxxxxxxxxxxxx> you wrote:

The following patch syncs (and unsync) the console while we are in the
BUG() macro.

The separate externs (which I dislike) for these console calls are
there because including <xen/console.h> breaks all sorts of files, any
suggestions on how to solve this is welcome.

Is this breakage because <xen/console.h> doesn't #include all the
headers for the stuff it uses itself? If so could someone coment on
if that is intentional, or if it is something that (generally) wants
fixing.


Methinks it includes to much, for some of the more finikier files.
My suggestion is that we should have a minimal header that contains prototypes for console_sync(), panic(), ASSERT, BUG, and whatever else there is (perhaps remove the redundant ones if there are any).

thoughts?
-JX



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