/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 302 #define MAPCPUVER(cpuver) (cpuvermap[(cpuver) - CPC_PENTIUM]) 305 validargs(int cpuver, int regno) argument 309 cpuver -= CPC_PENTIUM; 310 if (cpuver < 0 || 311 cpuver >= sizeof (cpuvermap) / sizeof (cpuvermap[0])) 318 versionmatch(int cpuver, int regno, const struct nametable *n) argument 320 if (!validargs(cpuver, regno) || (n->ver & MAPCPUVER(cpuver)) == 0) 323 switch (MAPCPUVER(cpuver)) { 356 getnametable(int cpuver, int regno) argument 381 cpc_walk_names(int cpuver, int regno, void *arg, void (*action)(void *, int, const char *, uint8_t)) argument 394 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits) argument 410 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits) argument 435 cpc_getcciname(int cpuver) argument 454 cpc_getcpuref(int cpuver) argument 480 cpc_getnpic(int cpuver) argument [all...] |
H A D | event_pentium.c | 72 cpc_getusage(int cpuver) argument 74 switch (cpuver) { 110 const struct keyval *kv, int cpuver, char *value, uint32_t *bits) 131 const struct keyval *kv, int cpuver, char *value, uint32_t *bits) 144 if (__cpc_name_to_reg(cpuver, regno, value, &val8) != 0) { 145 switch (cpuver) { 170 const struct keyval *kv, int cpuver, char *value, uint32_t *bits) 183 const struct keyval *kv, int cpuver, char *value, uint32_t *bits) 195 const struct keyval *kv, int cpuver, char *value, uint32_t *bits) 204 if ((rv = kv->kv_action(fn, kv, cpuver, valu 109 eightbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument 130 picbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument 169 bitclr(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument 182 bitset(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument 194 nextpair(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument 368 cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event) argument 527 regtostr(int cpuver, int regno, uint8_t bits) argument 543 unmake_pes(uint32_t pes, int cpuver, struct xpes *xpes) argument 563 unmake_cesr(uint32_t cesr, int cpuver, struct xcesr *xcesr) argument 591 int cpuver = event->ce_cpuver; local 694 int cpuver = event->ce_cpuver; local [all...] |
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | conf_ultra.c | 399 #define MAPCPUVER(cpuver) (cpuvermap[(cpuver) - CPC_ULTRA1]) 402 validargs(int cpuver, int regno) argument 406 cpuver -= CPC_ULTRA1; 407 if (cpuver < 0 || 408 cpuver >= sizeof (cpuvermap) / sizeof (cpuvermap[0])) 415 versionmatch(int cpuver, int regno, const struct nametable *n) argument 417 if (!validargs(cpuver, regno) || n->ver != MAPCPUVER(cpuver)) 423 getnametable(int cpuver, in argument 454 cpc_walk_names(int cpuver, int regno, void *arg, void (*action)(void *, int, const char *, uint8_t)) argument 467 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits) argument 483 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits) argument 509 cpc_getcciname(int cpuver) argument 533 cpc_getcpuref(int cpuver) argument 568 cpc_getnpic(int cpuver) argument [all...] |
H A D | event_ultra.c | 66 cpc_getusage(int cpuver) argument 68 switch (cpuver) { 97 const struct keyval *kv, int cpuver, char *value, uint64_t *bits) 109 if (__cpc_name_to_reg(cpuver, regno, value, &val8) != 0) { 121 const struct keyval *kv, int cpuver, char *value, uint64_t *bits) 134 const struct keyval *kv, int cpuver, char *value, uint64_t *bits) 204 cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event) argument 219 switch (event->ce_cpuver = cpuver) { 249 if (kv->kv_action(fn, kv, cpuver, value, bits) != 0) { 281 kv, cpuver, valu 96 picbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument 120 bitclr(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument 133 bitset(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument 339 regtostr(int cpuver, int regno, uint8_t bits) argument 354 unmake_pcr(uint64_t pcr, int cpuver, struct xpcr *xpcr) argument [all...] |
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cputrack.c | 49 int cpuver; member in struct:options
|