Print this page
4764 Need a way to get tsc deltas
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Richard Lowe <richlowe@richlowe.net>


 213 /*
 214  * Used to communicate DR updates to platform lgroup framework
 215  */
 216 typedef struct {
 217         uint64_t        u_base;
 218         uint64_t        u_length;
 219         uint32_t        u_domain;
 220         uint32_t        u_device_id;
 221         uint32_t        u_sli_cnt;
 222         uchar_t         *u_sli_ptr;
 223 } update_membounds_t;
 224 
 225 /* Maximum physical page number (PFN) for memory DR operations. */
 226 extern uint64_t plat_dr_physmax;
 227 
 228 #ifdef __xpv
 229 #include <sys/xen_mmu.h>
 230 extern page_t *page_get_high_mfn(mfn_t);
 231 #endif
 232 

 233 
 234 #endif /* _KERNEL */
 235 
 236 #ifdef __cplusplus
 237 }
 238 #endif
 239 
 240 #endif  /* _SYS_MACHSYSTM_H */


 213 /*
 214  * Used to communicate DR updates to platform lgroup framework
 215  */
 216 typedef struct {
 217         uint64_t        u_base;
 218         uint64_t        u_length;
 219         uint32_t        u_domain;
 220         uint32_t        u_device_id;
 221         uint32_t        u_sli_cnt;
 222         uchar_t         *u_sli_ptr;
 223 } update_membounds_t;
 224 
 225 /* Maximum physical page number (PFN) for memory DR operations. */
 226 extern uint64_t plat_dr_physmax;
 227 
 228 #ifdef __xpv
 229 #include <sys/xen_mmu.h>
 230 extern page_t *page_get_high_mfn(mfn_t);
 231 #endif
 232 
 233 extern hrtime_t tsc_gethrtime_tick_delta(void);
 234 
 235 #endif /* _KERNEL */
 236 
 237 #ifdef __cplusplus
 238 }
 239 #endif
 240 
 241 #endif  /* _SYS_MACHSYSTM_H */