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] [RFC][PATCH] Isolating ACM's architecture-dependent parts

To: tristan.gingold@xxxxxxxx, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [RFC][PATCH] Isolating ACM's architecture-dependent parts
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Tue, 12 Sep 2006 21:41:58 -0400
Delivery-date: Tue, 12 Sep 2006 18:42:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This is a modification of Tristan's previously posted patch. I have
tried to isolate architecture-dependent parts into functions that are
kept in architecture-specific include files. For example, the code that
deals with starting up ACM on the x86 architecture has been moved to
include/asm-x86/acm.h. There the policy is tried to be picked from the
multiboot structure. 
If other architectures can recycle some of the x86-specific code, such
as for example the multiboot-related code, then I guess this could be
moved to shared code areas. 
The easiest way to support ACM is to call acm_init(NULL,0); from within
the setup function if for some reason the machine cannot be started with
a policy.


Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
(patch based on previously posted patch by Tristan on 9/5/6)


Attachment: xen-acm2-2.diff
Description: Text Data

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