ia64/xen-unstable

changeset 9862:cf66d644b4d6

[IA64] Fixed print_md

This patch fixed the domain memory information that print_md()
output.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Mon May 08 12:52:12 2006 -0600 (2006-05-08)
parents 70b7d520bda4
children cd1df13fb1c4
files xen/arch/ia64/xen/dom_fw.c
line diff
     1.1 --- a/xen/arch/ia64/xen/dom_fw.c	Mon May 08 12:49:53 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/dom_fw.c	Mon May 08 12:52:12 2006 -0600
     1.3 @@ -462,7 +462,7 @@ xen_pal_emulator(unsigned long index, u6
     1.4  static void print_md(efi_memory_desc_t *md)
     1.5  {
     1.6  #if 1
     1.7 -	printk("domain mem: type=%u, attr=0x%lx, range=[0x%016lx-0x%016lx) (%luMB)\n",
     1.8 +	printk("domain mem: type=%2u, attr=0x%016lx, range=[0x%016lx-0x%016lx) (%luMB)\n",
     1.9  		md->type, md->attribute, md->phys_addr,
    1.10  		md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT),
    1.11  		md->num_pages >> (20 - EFI_PAGE_SHIFT));