# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID dc99944b9bd0bd1984d869bdd8db3fde808ce5f8
# Parent 2f4911432398044adbaeee02dbd9a7f8a6300b4d
[IA64] dummy IO memmap entry
Create a dummy IO ports memmap entry for domU, so that
IO accesses are trapped by Xen. Otherwise, they could
pollute memory.
Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>
diff -r 2f4911432398 -r dc99944b9bd0 xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c Wed Mar 15 15:20:28 2006
+++ b/xen/arch/ia64/xen/dom_fw.c Wed Mar 15 15:22:03 2006
@@ -860,7 +860,10 @@
/* hypercall patches live here, masquerade as reserved PAL
memory */
MAKE_MD(EFI_PAL_CODE,EFI_MEMORY_WB,HYPERCALL_START,HYPERCALL_END, 1);
MAKE_MD(EFI_CONVENTIONAL_MEMORY,EFI_MEMORY_WB,HYPERCALL_END,maxmem, 1);
- MAKE_MD(EFI_RESERVED_TYPE,0,0,0,0);
+ /* Create a dummy entry for IO ports, so that IO accesses are
+ trapped by Xen. */
+ MAKE_MD(EFI_MEMORY_MAPPED_IO_PORT_SPACE,EFI_MEMORY_UC,
+ 0x00000ffffc000000, 0x00000fffffffffff, 1);
MAKE_MD(EFI_RESERVED_TYPE,0,0,0,0);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|