Home
last modified time | relevance | path

Searched refs:xpcr (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c348 struct xpcr { struct
354 unmake_pcr(uint64_t pcr, int cpuver, struct xpcr *xpcr) in unmake_pcr() argument
371 xpcr->pic[0] = (uint8_t)((pcr >> kv[D_pic0].kv_shift) & in unmake_pcr()
373 xpcr->pic[1] = (uint8_t)((pcr >> kv[D_pic1].kv_shift) & in unmake_pcr()
375 xpcr->usr = (pcr >> kv[D_nouser].kv_shift) & in unmake_pcr()
377 xpcr->sys = (pcr >> kv[D_sys].kv_shift) & in unmake_pcr()
384 struct xpcr xpcr; in cpc_eventtostr() local
400 unmake_pcr(event->ce_pcr, event->ce_cpuver, &xpcr); in cpc_eventtostr()
401 if ((pic[0] = regtostr(event->ce_cpuver, 0, xpcr.pic[0])) == NULL) in cpc_eventtostr()
403 if ((pic[1] = regtostr(event->ce_cpuver, 1, xpcr.pic[1])) == NULL) { in cpc_eventtostr()
[all …]