Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c554 scsb_ks_state_t *pks_state; in do_scsb_kstat() local
608 pks_state = (scsb_ks_state_t *)ksp_state->ks_data; in do_scsb_kstat()
609 scsb_ks_state = *pks_state; /* set the global for future */ in do_scsb_kstat()
613 pks_state->scb_present ? " " : " not ", 0); in do_scsb_kstat()
615 pks_state->ssb_present ? " " : " not ", 0); in do_scsb_kstat()
617 pks_state->scsb_frozen ? " " : " not ", 0); in do_scsb_kstat()
619 switch (pks_state->scsb_mode) { in do_scsb_kstat()
630 log_printf("\tscsb event code: 0x%x\n", pks_state->event_code, 0); in do_scsb_kstat()
/titanic_41/usr/src/uts/sun4u/montecarlo/io/
H A Dscsb.c5795 scsb_ks_state_t *pks_state; in update_ks_state() local
5837 pks_state = (scsb_ks_state_t *)ksp->ks_data; in update_ks_state()
5838 pks_state->scb_present = (scsb->scsb_state & SCSB_SCB_PRESENT) ? 1 : 0; in update_ks_state()
5839 pks_state->ssb_present = (scsb->scsb_state & SCSB_SSB_PRESENT) ? 1 : 0; in update_ks_state()
5840 pks_state->scsb_frozen = (scsb->scsb_state & SCSB_FROZEN) ? 1 : 0; in update_ks_state()
5842 pks_state->scsb_mode = (uint8_t)ENVC_DEBUG_MODE; in update_ks_state()
5844 pks_state->scsb_mode = (uint8_t)ENVCTRL_DIAG_MODE; in update_ks_state()
5846 pks_state->scsb_mode = (uint8_t)ENVCTRL_NORMAL_MODE; in update_ks_state()
5854 pks_state->event_code = 0; in update_ks_state()
5859 pks_state->event_code = current_evc; in update_ks_state()
[all …]