aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.16-sparse/arch
diff options
context:
space:
mode:
authorlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>2002-12-16 11:47:09 +0000
committerlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>2002-12-16 11:47:09 +0000
commit6fd6082b3d216e7bd70fe5c50e45f7d6f9d5c2f8 (patch)
treefabd0968ccb2eb8e58fb6104e7861752ccd2fcaa /xenolinux-2.4.16-sparse/arch
parent3999a39ba47f625c9f0d290021be288babb2fe2d (diff)
downloadxen-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.c6
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);
}