Lines Matching refs:g1

77 	PANIC_IF_INTR_DISABLED_PSTR(%o5, opl_di_l3, %g1)
111 SFMMU_CPU_CNUM(%o1, %g1, %g2) ! %g1 = sfmmu cnum on this CPU
115 or %g1, %o4, %g1 ! %g1 = primary pgsz | cnum
123 or %g1, %o1, %g1 ! %g1 = nucleus pgsz | primary pgsz | cnum
124 stxa %g1, [%o4]ASI_DMMU ! wr new ctxum
142 set DEMAP_ALL_TYPE, %g1
143 stxa %g0, [%g1]ASI_DTLB_DEMAP
144 stxa %g0, [%g1]ASI_ITLB_DEMAP
161 srln %g1, MMU_PAGESHIFT, %g1
167 slln %g1, MMU_PAGESHIFT, %g1 /* g1 = vaddr */
170 or DEMAP_NUCLEUS | DEMAP_PAGE_TYPE, %g1, %g1
171 stxa %g0, [%g1]ASI_DTLB_DEMAP
172 stxa %g0, [%g1]ASI_ITLB_DEMAP
176 or DEMAP_PRIMARY | DEMAP_PAGE_TYPE, %g1, %g1
190 stxa %g0, [%g1]ASI_DTLB_DEMAP
191 stxa %g0, [%g1]ASI_ITLB_DEMAP
217 srln %g1, MMU_PAGESHIFT, %g1
223 slln %g1, MMU_PAGESHIFT, %g1 /* g1 = vaddr */
226 or DEMAP_NUCLEUS | DEMAP_PAGE_TYPE, %g1, %g1
230 stxa %g0, [%g1]ASI_DTLB_DEMAP
231 stxa %g0, [%g1]ASI_ITLB_DEMAP
236 add %g1, %g2, %g1 /* next page */
247 or DEMAP_PRIMARY | DEMAP_PAGE_TYPE, %g1, %g1
263 stxa %g0, [%g1]ASI_DTLB_DEMAP
264 stxa %g0, [%g1]ASI_ITLB_DEMAP
269 add %g1, %g2, %g1 /* next page */
320 ldxa [%g0]ASI_INTR_DISPATCH_STATUS, %g1
322 btst IDSR_BUSY, %g1
348 ldxa [%g0]ASI_INTR_DISPATCH_STATUS, %g1
349 btst IDSR_BUSY, %g1
362 mov IDDR_0, %g1
365 stxa %o0, [%g1]ASI_INTR_DISPATCH
388 sll %o0, IDCR_PID_SHIFT, %g1 ! IDCR<23:14> = agent id
390 or %g1, IDCR_OFFSET, %g1 ! IDCR<13:0> = 0x70
391 or %g1, %g2, %g1
392 stxa %g0, [%g1]ASI_INTR_DISPATCH ! interrupt vector dispatch
709 mov %g0, %g1 ;\
958 mov AFSR_ECR, %g1
959 ldxa [%g1]ASI_ECR, %g1
960 andcc %g1, ASI_ECR_RTE_UE | ASI_ECR_RTE_CEDG, %g0
969 set trap, %g1
981 set trap, %g1
996 set trap, %g1
1072 OPL_TRAPTRACE(%g1, %g2, %g3, opl_sync_trap_lb)
1073 rdpr %tt, %g1
1075 cmp %g1, T_INSTR_ERROR
1078 ldxa [%g3]ASI_IMMU, %g1 ! IAE trap case tt = 0xa
1079 andcc %g1, SFSR_FV, %g0
1084 andcc %g1, %g3, %g0 ! Check for UE/BERR/TO errors
1091 ldxa [%g3]ASI_DMMU, %g1 ! DAE trap case tt = 0x32
1092 andcc %g1, SFSR_FV, %g0
1099 andcc %g1, %g3, %g0 ! Check UE/BERR/TO for valid SFPAR
1104 andcc %g1, %g3, %g0
1119 LOG_SYNC_REG(%g1, %g2, %g3) ! Record into the error log
1124 OPL_RESTORE_GLOBAL(%g1, %g2, %g3)
1128 andcc %g1, %g3, %g0
1138 mov %g1, %g5 ! %g5 = SFSR
1140 LOG_SYNC_REG(%g1, %g2, %g3) ! Record into the error log
1155 rdpr %tl, %g1 ! %g1 == tl
1156 cmp %g1, 1 ! Check if TL == 1
1165 RESET_WINREG(%g1) ! reset windows to prevent spills
1171 set opl_cpu_isync_tl1_error, %g1
1174 movne %icc, %g6, %g1
1180 set opl_cpu_isync_tl0_error, %g1
1183 movne %icc, %g6, %g1
1233 ldxa [%g2]ASI_AFSR, %g1 ! Read the UGERSR reg
1236 andcc %g1, %g2, %g0 ! Check for Multi-errs
1248 andcc %g1, %g2, %g0 ! errors i.e.IUG_DTLB,
1266 srlx %g1, 4, %g2 ! shift INSTEND[5:4] -> [1:0]
1280 LOG_UGER_REG(%g1, %g2, %g3) ! Log the error info
1282 OPL_TRAPTRACE(%g1, %g2, %g3, opl_uger_trap_lb)
1297 andcc %g1, %g2, %g0
1310 andcc %g1, %g2, %g0
1325 andcc %g1, %g2, %g0
1346 andcc %g1, %g2, %g0
1355 andcc %g1, %g2, %g0
1364 andcc %g1, %g2, %g0
1373 andcc %g1, %g2, %g0
1381 mov %g1, %g2 ! %g2 = arg #1
1382 LOG_UGER_REG(%g1, %g3, %g4)
1387 mov %g1, %g2 ! %g2 = arg #1
1388 LOG_UGER_REG(%g1, %g3, %g4)
1389 RESET_TO_PRIV(%g1, %g3, %g4, %l0)
1399 set opl_cpu_urgent_error, %g1 ! pc
1466 set trap, %g1
1484 set trap, %g1
1505 OPL_SAVE_GLOBAL(%g1,%g2,%g3)
1508 rdpr %tt, %g1
1546 rd STICK, %g1 ! read stick reg
1547 sllx %g1, 1, %g1
1548 srlx %g1, 1, %g1 ! clear npt bit
1551 stx %g1, [%o0] ! store the timestamp
1556 rdpr %pstate, %g1 ! save processor state
1557 andn %g1, PSTATE_IE, %g3
1569 wrpr %g1, %pstate ! restore processor state
1573 rd STICK, %g1
1574 stx %g1, [%o0]
1726 rdpr %pstate, %g1 /* save processor state */
1727 andn %g1, PSTATE_IE, %g3 /* turn off */
1752 wrpr %g0, %g1, %pstate /* restore processor state */