# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Node ID 7711b51e2cea8a3804411ee8b3405757b6a8f212 # Parent bc58172dd6da15b96709ffbb63592b3d7b1d331e temporal work around to boot domU. legacy device driver (e.g. i8042 keyboard) accesses to predefined region to check its existance. PATCHNAME: work_around_for_access_invalid_region Signed-off-by: Isaku Yamahata diff -r bc58172dd6da -r 7711b51e2cea xen/arch/ia64/xen/domain.c --- a/xen/arch/ia64/xen/domain.c Thu May 18 12:52:21 2006 +0900 +++ b/xen/arch/ia64/xen/domain.c Thu May 18 13:52:56 2006 +0900 @@ -1158,7 +1158,10 @@ unsigned long lookup_domain_mpa(struct d tr_entry_print_all(¤t->arch.dtlb, 1); #endif mpafoo(mpaddr); - return 0; + + //XXX This is a work around until the emulation memory access to a region + // where memory or device are attached is implemented. + return pte_val(pfn_pte(0, __pgprot(__DIRTY_BITS | _PAGE_PL_2 | _PAGE_AR_RWX))); } #ifdef CONFIG_XEN_IA64_DOM0_VP