Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/xen/xen-os.h
Show All 33 Lines | |||||
#define VM_MEMATTR_XEN VM_MEMATTR_WRITE_BACK | #define VM_MEMATTR_XEN VM_MEMATTR_WRITE_BACK | ||||
/* Everything below this point is not included by assembler (.S) files. */ | /* Everything below this point is not included by assembler (.S) files. */ | ||||
#ifndef __ASSEMBLY__ | #ifndef __ASSEMBLY__ | ||||
/* If non-zero, the hypervisor has been configured to use a direct vector */ | /* If non-zero, the hypervisor has been configured to use a direct vector */ | ||||
extern int xen_vector_callback_enabled; | extern int xen_vector_callback_enabled; | ||||
/* Function for allocating physical address resource to xenpv code */ | |||||
extern struct resource *xen_arch_alloc_addr(device_t, int *, size_t); | |||||
/* Function for releasing physical address resource from xenpv code */ | |||||
int xen_arch_release_addr(device_t, int, struct resource *); | |||||
#endif /* !__ASSEMBLY__ */ | #endif /* !__ASSEMBLY__ */ | ||||
#endif /* _MACHINE_X86_XEN_XEN_OS_H_ */ | #endif /* _MACHINE_X86_XEN_XEN_OS_H_ */ |