diff options
author | lynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk> | 2002-12-16 11:47:09 +0000 |
---|---|---|
committer | lynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk> | 2002-12-16 11:47:09 +0000 |
commit | 6fd6082b3d216e7bd70fe5c50e45f7d6f9d5c2f8 (patch) | |
tree | fabd0968ccb2eb8e58fb6104e7861752ccd2fcaa /xenolinux-2.4.16-sparse/arch | |
parent | 3999a39ba47f625c9f0d290021be288babb2fe2d (diff) | |
download | xen-6fd6082b3d216e7bd70fe5c50e45f7d6f9d5c2f8.tar.gz xen-6fd6082b3d216e7bd70fe5c50e45f7d6f9d5c2f8.tar.bz2 xen-6fd6082b3d216e7bd70fe5c50e45f7d6f9d5c2f8.zip |
bitkeeper revision 1.7.3.8 (3dfdbd3dhuFRdRQjN7qFzzloa39iSg)
even more debugging
Diffstat (limited to 'xenolinux-2.4.16-sparse/arch')
-rw-r--r-- | xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c index 19b022252b..23c3e404ad 100644 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c @@ -164,8 +164,8 @@ static int dom_mem_mmap(struct file *file, struct vm_area_struct *vma) return 0; } -static ssize_t dom_mem_write(struct file * file, const char * buff, size_t size , - loff_t * off) +static ssize_t dom_mem_write(struct file * file, const char * buff, + size_t size , loff_t * off) { unsigned long addr; proc_memdata_t * mem_data = (proc_memdata_t *)((struct proc_dir_entry *)file->f_dentry->d_inode->u.generic_ip)->data; @@ -292,6 +292,8 @@ static int cmd_write_proc(struct file *file, const char *buffer, } else { + printk("bd240 debug: mapping dom %d, %lx, %lx\n", op.u.reqdommem.domain, op.u.reqdommem.start_pfn, op.u.reqdommem.tot_pages); + ret = dom_map_mem(op.u.reqdommem.domain, op.u.reqdommem.start_pfn, op.u.reqdommem.tot_pages); } |