Print this page
XXXX remove i86xpv platform code
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>

*** 36,48 **** #if !defined(_ASM) #include <sys/types.h> #include <sys/inttypes.h> #include <sys/dditypes.h> - #include <sys/xpv_impl.h> - #include <sys/xen_mmu.h> #define IPL_DEBUG 15 /* domain debug interrupt */ #define IPL_CONS 9 #define IPL_VIF 6 #define IPL_VBD 5 #define IPL_EVTCHN 1 --- 36,54 ---- #if !defined(_ASM) #include <sys/types.h> #include <sys/inttypes.h> #include <sys/dditypes.h> + /* + * XXX These originally were in retired xen_mmu.h and are likely to be not + * needed once all of the xpv related code is removed. + */ + typedef uint64_t maddr_t; + typedef ulong_t mfn_t; + #define mfn_to_ma(mfn) ((maddr_t)(mfn) << MMU_PAGESHIFT) + #define IPL_DEBUG 15 /* domain debug interrupt */ #define IPL_CONS 9 #define IPL_VIF 6 #define IPL_VBD 5 #define IPL_EVTCHN 1
*** 73,83 **** extern void balloon_drv_added(int64_t); extern long balloon_free_pages(uint_t, mfn_t *, caddr_t, pfn_t *); extern void xen_release_pfn(pfn_t); extern void reassign_pfn(pfn_t, mfn_t); - extern shared_info_t *HYPERVISOR_shared_info; extern pfn_t xen_shared_info_frame; /* * Argument to xpv_feature(). This function will return -1 if a feature * is not available, 1 if a boolean feature is available, and a value >= 0 --- 79,88 ----