[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC][PATCH] Isolating ACM's architecture-dependent parts



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.