ia64/xen-unstable

changeset 62:aa76c4032ea1

bitkeeper revision 1.7.3.37 (3e01ced1r_xGOVsgAgFIOVMV7pdNDA)

debug
author lynx@idefix.cl.cam.ac.uk
date Thu Dec 19 13:51:13 2002 +0000 (2002-12-19)
parents 8edda1b8b040
children 9ad56dbe65c3
files xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c
line diff
     1.1 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Thu Dec 19 13:38:34 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Thu Dec 19 13:51:13 2002 +0000
     1.3 @@ -171,9 +171,9 @@ static ssize_t dom_mem_read(struct file 
     1.4  
     1.5      /* remap the range using xen specific routines */
     1.6  
     1.7 -	printk(KERN_ALERT "bd240 debug: dom_mem_read: %lx, %lx\n", mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT);
     1.8 +    addr = direct_mmap(mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, prot, 0, 0);
     1.9 +	printk(KERN_ALERT "bd240 debug: dom_mem_read: %lx, %lx @ %lx\n", mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, addr);
    1.10  
    1.11 -    addr = direct_mmap(mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, prot, 0, 0);
    1.12      //addr = direct_mmap(mem_data->pfn, mem_data->tot_pages << PAGE_SHIFT, prot, 1, 
    1.13      //                mem_data->tot_pages);
    1.14      copy_to_user((unsigned long *)buff, &addr, sizeof(addr));