#include <xen/interface/sched.h>
#include <xen/hvc-console.h>
#include <xen/xenbus.h>
+#include <asm/mach/map.h>
#include "hvc_console.h"
return -ENODEV;
}
mfn = v;
- info->intf = ioremap(mfn << PAGE_SHIFT, PAGE_SIZE);
+ info->intf = __arm_ioremap(mfn << PAGE_SHIFT, PAGE_SIZE, MT_MEMORY);
if (info->intf == NULL) {
kfree(info);
return -ENODEV;
#include <xen/hvc-console.h>
#include <asm/xen/hypercall.h>
#include <asm/xen/interface.h>
+#include <asm/io.h>
+#include <asm/mach/map.h>
#include <asm/pgtable.h>
#include <asm/sync_bitops.h>
return gnttab_map(0, nr_grant_frames - 1);
if (gnttab_shared.addr == NULL) {
- gnttab_shared.addr = ioremap(xen_hvm_resume_frames,
- PAGE_SIZE * max_nr_gframes);
+ gnttab_shared.addr = __arm_ioremap(xen_hvm_resume_frames,
+ PAGE_SIZE * max_nr_gframes, MT_MEMORY);
if (gnttab_shared.addr == NULL) {
printk(KERN_WARNING
"Failed to ioremap gnttab share frames!");
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/xen/hypervisor.h>
+#include <asm/io.h>
+#include <asm/mach/map.h>
#include <xen/xen.h>
#include <xen/xenbus.h>
goto out_error;
xen_store_mfn = (unsigned long)v;
xen_store_interface =
- ioremap(xen_store_mfn << PAGE_SHIFT, PAGE_SIZE);
+ __arm_ioremap(xen_store_mfn << PAGE_SHIFT, PAGE_SIZE, MT_MEMORY);
+ printk("DEBUG %s %d mfn=%lx virt=%lx evtchn=%lu content=%lx\n",__func__,__LINE__,(unsigned long)xen_store_mfn,(unsigned long)xen_store_interface,(unsigned long)xen_store_evtchn,*((unsigned long*)xen_store_interface));
break;
default:
pr_warn("Xenstore state unknown\n");