From: Dietmar Hahn Subject: [PATCH]: domain-builder: add new arch_hook Date: Mon, 26 Feb 2007 11:14:05 +0100 Message-ID: <200702261114.05815.dietmar.hahn@fujitsu-siemens.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_tLr4F6JTkGCA3vy" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: xen-devel Cc: xen-ia64-devel List-Id: xen-devel@lists.xenproject.org --Boundary-00=_tLr4F6JTkGCA3vy Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, attached is a small patch to the domain builder therewidth starting of big endian images on xen-ia64 is possible. Please send comments or apply the patch! Thanks. Dietmar. --Boundary-00=_tLr4F6JTkGCA3vy Content-Type: text/x-diff; charset="iso-8859-15"; name="ia64-arch_hook.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ia64-arch_hook.patch" # HG changeset patch # User dietmar.hahn@fujitsu-siemens.com # Date 1172484012 -3600 # Node ID 90738abc851a6967da19ce6b5280a0abd879ea2b # Parent 2c3a13993b0d1c6b374e96c5a365fe615dca2f72 Added new arch_hook for registering ia64 big endian images. Signed-off-by: Dietmar Hahn diff -r 2c3a13993b0d -r 90738abc851a tools/libxc/xc_dom_ia64.c --- a/tools/libxc/xc_dom_ia64.c Fri Feb 23 14:44:07 2007 +0000 +++ b/tools/libxc/xc_dom_ia64.c Mon Feb 26 11:00:12 2007 +0100 @@ -113,7 +113,17 @@ static struct xc_dom_arch xc_dom_arch = .vcpu = vcpu_ia64, }; +static struct xc_dom_arch xc_dom_arch_ia64be = { + .guest_type = "xen-3.0-ia64be", + .page_shift = PAGE_SHIFT_IA64, + .alloc_magic_pages = alloc_magic_pages, + .start_info = start_info_ia64, + .shared_info = shared_info_ia64, + .vcpu = vcpu_ia64, +}; + static void __init register_arch_hooks(void) { xc_dom_register_arch_hooks(&xc_dom_arch); + xc_dom_register_arch_hooks(&xc_dom_arch_ia64be); } --Boundary-00=_tLr4F6JTkGCA3vy Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel --Boundary-00=_tLr4F6JTkGCA3vy--