Displaying 2 results from an estimated 2 matches for "xen_phys_machine".
2006 Mar 09
1
FreeBSD netfront.c / problem
...rx_pfn_array[i] = vtomach(mtod(m_new,vm_offset_t)) >> PAGE_SHIFT;
The above call fails gives -1 (i.e., an invalid virtual -> machine
translation) time since some mbufs are placed on the same page.
71
72 /* Remove this page from pseudo phys map before passing back to Xen. */
73 xen_phys_machine[((unsigned long)m_new->m_ext.ext_args >> PAGE_SHIFT)]
74 = INVALID_P2M_ENTRY;
... because this invalidates that mapping. I therefore get every
second entry in rx_pfn_array set to -1.
75
76 rx_mcl[i].op = __HYPERVISOR_update_va_mapping;
77 rx_mcl[i].args[0] = (unsigned l...
2013 Oct 28
5
FreeBSD PVH guest support
...n/xen_machdep.c
@@ -89,6 +89,7 @@ IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl),
int xendebug_flags;
start_info_t *xen_start_info;
+start_info_t *HYPERVISOR_start_info;
shared_info_t *HYPERVISOR_shared_info;
xen_pfn_t *xen_machine_phys = machine_to_phys_mapping;
xen_pfn_t *xen_phys_machine;
@@ -744,7 +745,7 @@ void initvalues(start_info_t *startinfo);
struct xenstore_domain_interface;
extern struct xenstore_domain_interface *xen_store;
-char *console_page;
+extern char *console_page;
void *
bootmem_alloc(unsigned int size)
@@ -927,6 +928,7 @@ initvalues(start_info_t *startin...