ia64/xen-unstable

changeset 83:7c48a158429c

bitkeeper revision 1.7.3.58 (3e14aa78jPxKgtkJQt93U8n0Lfr_Og)

debug
author lynx@idefix.cl.cam.ac.uk
date Thu Jan 02 21:09:12 2003 +0000 (2003-01-02)
parents 29334f27f404
children 336647fd8f40
files xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c
line diff
     1.1 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Mon Dec 30 10:33:04 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Thu Jan 02 21:09:12 2003 +0000
     1.3 @@ -174,8 +174,6 @@ static ssize_t dom_mem_read(struct file 
     1.4      addr = direct_mmap(mem_data->pfn << PAGE_SHIFT, mem_data->tot_pages << PAGE_SHIFT, prot, 0, 0);
     1.5  	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.6  
     1.7 -    //addr = direct_mmap(mem_data->pfn, mem_data->tot_pages << PAGE_SHIFT, prot, 1, 
     1.8 -    //                mem_data->tot_pages);
     1.9      copy_to_user((unsigned long *)buff, &addr, sizeof(addr));
    1.10  
    1.11  	printk(KERN_ALERT "bd240 debug: exiting dom_mem_read\n");
     2.1 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c	Mon Dec 30 10:33:04 2002 +0000
     2.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c	Thu Jan 02 21:09:12 2003 +0000
     2.3 @@ -184,10 +184,10 @@ unsigned long direct_mmap(unsigned long 
     2.4  	entry = find_direct(&current->mm->context.direct_list, addr);
     2.5  	if(entry != &current->mm->context.direct_list){
     2.6  		list_add_tail(&dmmap->list, entry);
     2.7 -		printk(KERN_ALERT "bd240 debug: added node %lx in the middle\n", dmmap->vm_start);
     2.8 +		printk(KERN_ALERT "bd240 debug: added node %lx, size %lx in the middle\n", dmmap->vm_start, size);
     2.9  	} else {
    2.10      	list_add_tail(&dmmap->list, &current->mm->context.direct_list);
    2.11 -		printk(KERN_ALERT "bd240 debug: added node %lx at tail\n", dmmap->vm_start);
    2.12 +		printk(KERN_ALERT "bd240 debug: added node %lx, size %lx at tail\n", dmmap->vm_start, size);
    2.13  	}
    2.14  
    2.15      /* and perform the mapping */