search for: mmio_space

Displaying 4 results from an estimated 4 matches for "mmio_space".

2007 Jun 28
5
One question on MMIO
...io only when paging_vcpu_mode_translate(v)? Thanks Yunhong Jiang /* What mfn is the guest trying to access? */ gfn = guest_l1e_get_gfn(gw.eff_l1e); gmfn = vcpu_gfn_to_mfn(v, gfn); mmio = (is_hvm_domain(d) && paging_vcpu_mode_translate(v) && mmio_space(gfn_to_paddr(gfn))); if ( !mmio && !mfn_valid(gmfn) ) { perfc_incr(shadow_fault_bail_bad_gfn); SHADOW_PRINTK("BAD gfn=%"SH_PRI_gfn" gmfn=%"PRI_mfn"\n", gfn_x(gfn), mfn_x(gmfn)); goto not_a_shadow_fault; }...
2005 Jun 30
0
[PATCH][2/10] Extend the VMX intercept mechanism to include mmio as well as portio.
...@ extern void handle_mmio(unsigned long, unsigned long); extern void vmx_wait_io(void); extern int vmx_setup_platform(struct vcpu *, struct cpu_user_regs *); +extern void vmx_io_assist(struct vcpu *v); // XXX - think about this -- maybe use bit 30 of the mfn to signify an MMIO frame. #define mmio_space(gpa) (!VALID_MFN(phys_to_machine_mapping((gpa) >> PAGE_SHIFT))) diff -r febfcd0a1a0a -r 9a43d5c12b95 xen/arch/x86/vmx.c --- a/xen/arch/x86/vmx.c Thu Jun 30 03:20:48 2005 +++ b/xen/arch/x86/vmx.c Thu Jun 30 04:08:50 2005 @@ -135,17 +135,20 @@ } #endif - if (!vmx_paging_enabled(curre...
2005 Mar 14
4
[patch/unstable] page table cleanups
...entry_val(gpte) >> PAGE_SHIFT; unsigned long mfn = __gpfn_to_mfn(d, pfn); #if SHADOW_VERBOSE_DEBUG - unsigned long old_spte = spte; + l1_pgentry_t old_spte = spte; #endif /* Use 1:1 page table to identify MMIO address space */ - if ( shadow_mode_external(d) && mmio_space(gpte) ) { - *spte_p = 0; + if ( shadow_mode_external(d) && mmio_space(l1_pgentry_val(gpte)) ) { + *spte_p = mk_l1_pgentry(0); return; } - spte = 0; - if ( (gpte & (_PAGE_PRESENT|_PAGE_ACCESSED) ) == + spte = mk_l1_pgentry(0); + if ( (l1_...
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all, this is the long awaited patch series to add xen device model support in qemu; the main author is Anthony Perard. Developing this series we tried to come up with the cleanest possible solution from the qemu point of view, limiting the amount of changes to common code as much as possible. The end result still requires a couple of hooks in piix_pci but overall the impact should be very