24 #ifndef __PFMLIB_COREDUO_H__ 25 #define __PFMLIB_COREDUO_H__ 41 #define PMU_COREDUO_NUM_COUNTERS 2 44 unsigned long long val;
46 unsigned long sel_event_select : 8;
47 unsigned long sel_unit_mask : 8;
48 unsigned long sel_usr : 1;
49 unsigned long sel_os : 1;
50 unsigned long sel_edge : 1;
51 unsigned long sel_pc : 1;
52 unsigned long sel_int : 1;
53 unsigned long sel_res1 : 1;
54 unsigned long sel_en : 1;
55 unsigned long sel_inv : 1;
56 unsigned long sel_cnt_mask : 8;
57 unsigned long sel_res2 : 32;
66 #define PFM_COREDUO_SEL_INV 0x1 67 #define PFM_COREDUO_SEL_EDGE 0x2
unsigned long long uint64_t
#define PMU_COREDUO_NUM_COUNTERS