Lines Matching refs:code

240 gcpu_disp_match(uint16_t code)
250 if ((code & on) == on && (code & off) == 0)
258 bit_strip(uint16_t code, uint16_t mask, uint16_t shift)
260 return ((code & mask) >> shift);
263 #define BIT_STRIP(code, name) \
264 bit_strip(code, MCAX86_ERRCODE_##name##_MASK, \
392 #define GCPU_MNEMONIC(code, name, nspace) \
395 BIT_STRIP(code, name), nspace)
401 uint16_t code = MCAX86_ERRCODE(status);
408 mn[0] = GCPU_MNEMONIC(code, TT, nspace);
409 mn[1] = GCPU_MNEMONIC(code, LL, nspace);
410 mn[2] = GCPU_MNEMONIC(code, RRRR, nspace);
411 mn[3] = GCPU_MNEMONIC(code, PP, nspace);
412 mn[4] = GCPU_MNEMONIC(code, II, nspace);
413 mn[5] = GCPU_MNEMONIC(code, T, nspace);
415 mn[7] = GCPU_MNEMONIC(code, CCCC, nspace);
416 mn[8] = GCPU_MNEMONIC(code, MMM, nspace);
629 uint_t bankno, const gcpu_error_disp_t *ged, uint16_t code)
646 gcpu_mn_fmt(ged->ged_compound_fmt, buf, sizeof (buf), code,
723 * Add an indication of whether the trap occured during privileged code.
768 /* Error code */
771 /* Model-specific error code */
825 uint16_t code = MCAX86_ERRCODE(status);
896 gcpu_ereport_add_logout(ereport, gcl, bankidx, ged, code);
899 * Allow model-specific code to add ereport members.
954 uint16_t code = MCAX86_ERRCODE(gbl->gbl_status);
960 gened = gcpu_disp_match(code); /* may be NULL */
991 * The following code is ready to make a weak attempt at growing the
1070 * CPU startup code only calls cmi_mca_init if x86_featureset indicates
1181 * code we will only read those banks which we initialize here.
1798 * Allow the model-specific code to extract bank telemetry.
2021 * CPU startup code only calls cmi_mca_init if x86_featureset indicates