# HG changeset patch # User dietmar.hahn@xxxxxxxxxxxxxxxxxxx # 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); }