ia64/xen-unstable

changeset 28:796d13d4a0a2

bitkeeper revision 1.7.3.8 (3dfdbd3dhuFRdRQjN7qFzzloa39iSg)

even more debugging
author lynx@idefix.cl.cam.ac.uk
date Mon Dec 16 11:47:09 2002 +0000 (2002-12-16)
parents da7b87a5908c
children 78e310c5fd99
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	Mon Dec 16 10:58:57 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Mon Dec 16 11:47:09 2002 +0000
     1.3 @@ -164,8 +164,8 @@ static int dom_mem_mmap(struct file *fil
     1.4      return 0;
     1.5  }
     1.6  
     1.7 -static ssize_t dom_mem_write(struct file * file, const char * buff, size_t size , 
     1.8 -                loff_t * off)
     1.9 +static ssize_t dom_mem_write(struct file * file, const char * buff, 
    1.10 +	size_t size , loff_t * off)
    1.11  {
    1.12      unsigned long addr;
    1.13      proc_memdata_t * mem_data = (proc_memdata_t *)((struct proc_dir_entry *)file->f_dentry->d_inode->u.generic_ip)->data;
    1.14 @@ -292,6 +292,8 @@ static int cmd_write_proc(struct file *f
    1.15  
    1.16      } else {
    1.17  
    1.18 +		printk("bd240 debug: mapping dom %d, %lx, %lx\n", op.u.reqdommem.domain, op.u.reqdommem.start_pfn, op.u.reqdommem.tot_pages);
    1.19 +
    1.20          ret = dom_map_mem(op.u.reqdommem.domain, op.u.reqdommem.start_pfn, 
    1.21                          op.u.reqdommem.tot_pages); 
    1.22      }