Lines Matching refs:g4
409 andn %g3, EN_REG_NCEEN + EN_REG_CEEN, %g4
410 stxa %g4, [%g0]ASI_ESTATE_ERR
417 * into this macro via %g4. Output only valid if cpu_private
420 * %g4 = Trap information stored in the cpu logout flags field
424 * %g4 = scr4
426 and %g3, EN_REG_CEEN, %g4 ! store the CEEN value, TL=0
428 DO_CPU_LOGOUT(%g3, %g2, %g6, %g4, %g5, %g6, %g3, %g4)
435 CPU_INDEX(%g4, %g5)
436 mulx %g4, CPU_NODE_SIZE, %g4
438 add %g4, %g5, %g4
439 ld [%g4 + ECACHE_LINESIZE], %g5
440 ld [%g4 + ECACHE_SIZE], %g4
449 ECACHE_FLUSHALL(%g4, %g5, %g6, %g7)
480 CH_ICACHE_FLUSHALL(%g5, %g6, %g7, %g4)
524 rdpr %pil, %g4
525 cmp %g4, PIL_14
527 movl %icc, PIL_14, %g4
566 * Get the diagnostic logout data. %g4 must be initialized to
571 ldxa [%g0]ASI_ESTATE_ERR, %g4
572 and %g4, EN_REG_CEEN, %g4
574 DO_TL1_CPU_LOGOUT(%g3, %g2, %g4, %g5, %g6, %g3, %g4)
598 set JP_ECACHE_MAX_SIZE, %g4
607 ECACHE_FLUSHALL(%g4, JP_ECACHE_MAX_LSIZE, %g5, %g6)
634 ASM_LD(%g4, dcache_size)
636 CH_DCACHE_FLUSHALL(%g4, %g5, %g6)
657 ASM_LD(%g4, icache_size)
659 CH_ICACHE_FLUSHALL(%g4, %g5, %g6, %g3)
683 ld [%g6 + TRAPTR_OFFSET], %g4
684 add %g5, %g4, %g5
691 rd STICK, %g4
692 stxa %g4, [%g5 + TRAP_ENT_TICK]%asi
693 rdpr %tl, %g4
694 stha %g4, [%g5 + TRAP_ENT_TL]%asi
695 rdpr %tt, %g4
696 stha %g4, [%g5 + TRAP_ENT_TT]%asi
697 rdpr %tpc, %g4
698 stna %g4, [%g5 + TRAP_ENT_TPC]%asi
699 rdpr %tstate, %g4
700 stxa %g4, [%g5 + TRAP_ENT_TSTATE]%asi
705 ldxa [%g1 + CH_ERR_TL1_SDW_AFSR]%asi, %g4
708 stna %g4, [%g5 + TRAP_ENT_F2]%asi
711 ldxa [%g1 + CH_ERR_TL1_AFSR]%asi, %g4
714 stna %g4, [%g5 + TRAP_ENT_F4]%asi
721 ld [%g6 + TRAPTR_LIMIT], %g4
724 sub %g4, TRAP_ENT_SIZE, %g4
725 cmp %g5, %g4
745 set 1, %g4
746 sllx %g4, C_AFSR_UCU_SHIFT, %g4
747 btst %g4, %g3 ! UCU in original AFSR?
750 ldxa [%g0]ASI_AFSR, %g4 ! current AFSR
751 or %g3, %g4, %g3 ! %g3 = original + current AFSR
752 set 1, %g4
753 sllx %g4, C_AFSR_WDU_SHIFT, %g4
754 btst %g4, %g3 ! WDU in original or current AFSR?