Lines Matching refs:g6

71 	!	%g6	head ptr
74 ldxa [%g3]ASI_QUEUE, %g6 ! %g6 = head ptr
77 cmp %g6, %g7
98 ldxa [%g3 + %g6]ASI_MEM, %g5 ! get PC from q base + head
99 add %g6, 0x8, %g6 ! inc head
100 ldxa [%g3 + %g6]ASI_MEM, %g1 ! read data word 1
101 add %g6, 0x8, %g6 ! inc head
102 ldxa [%g3 + %g6]ASI_MEM, %g2 ! read data word 2
103 add %g6, (INTR_REPORT_SIZE - 16) , %g6 ! inc head to next record
104 and %g6, %g4, %g6 ! and size mask for wrap around
106 stxa %g6, [%g3]ASI_QUEUE ! store head pointer
110 TRACE_PTR(%g4, %g6)
111 GET_TRACE_TICK(%g6, %g3)
112 stxa %g6, [%g4 + TRAP_ENT_TICK]%asi
113 TRACE_SAVE_TL_GL_REGS(%g4, %g6)
114 rdpr %tt, %g6
115 stha %g6, [%g4 + TRAP_ENT_TT]%asi
116 rdpr %tpc, %g6
117 stna %g6, [%g4 + TRAP_ENT_TPC]%asi
118 rdpr %tstate, %g6
119 stxa %g6, [%g4 + TRAP_ENT_TSTATE]%asi
124 mov CPU_MONDO_Q_HD, %g6
125 ldxa [%g6]ASI_QUEUE, %g6 ! new head offset
126 stna %g6, [%g4 + TRAP_ENT_F2]%asi
128 TRACE_NEXT(%g4, %g6, %g3)
174 mov %o5, %g6
183 mov %g6, %o5
225 ! %g6 head ptr
228 ldxa [%g3]ASI_QUEUE, %g6 ! %g6 = head ptr
231 cmp %g6, %g7
243 ldxa [%g3 + %g6]ASI_MEM, %g5 ! get inum from q base + head
279 mov %g6, %g7 ! %g7 = head ptr
306 add %g6, INTR_REPORT_SIZE , %g6 ! inc head to next record
307 and %g6, %g4, %g6 ! and mask for wrap around
309 stxa %g6, [%g3]ASI_QUEUE ! increment head offset
313 TRACE_PTR(%g4, %g6)
314 GET_TRACE_TICK(%g6, %g3)
315 stxa %g6, [%g4 + TRAP_ENT_TICK]%asi
316 TRACE_SAVE_TL_GL_REGS(%g4, %g6)
317 rdpr %tt, %g6
318 stha %g6, [%g4 + TRAP_ENT_TT]%asi
319 rdpr %tpc, %g6
320 stna %g6, [%g4 + TRAP_ENT_TPC]%asi
321 rdpr %tstate, %g6
322 stxa %g6, [%g4 + TRAP_ENT_TSTATE]%asi
324 ldx [%g2 + MCPU_DEV_Q_BASE], %g6
325 stna %g6, [%g4 + TRAP_ENT_SP]%asi ! Device Queue Base PA
327 mov DEV_MONDO_Q_HD, %g6
328 ldxa [%g6]ASI_QUEUE, %g6 ! New head offset
329 stna %g6, [%g4 + TRAP_ENT_F1]%asi
330 ldx [%g2 + MCPU_DEV_Q_SIZE], %g6
331 stna %g6, [%g4 + TRAP_ENT_F2]%asi ! Q Size
334 TRACE_NEXT(%g4, %g6, %g3)
383 mov %g2, %g6 ! save head in %g2
385 cmp %g6, %g3
393 add %g6, %g4, %g4 ! %g4 = PA of ER in Q
431 add %g6, Q_ENTRY_SIZE, %g6 ! increment q head to next
432 and %g6, %g5, %g6 ! size mask for warp around
433 cmp %g6, %g3 ! head == tail ??
443 stxa %g6, [%g4]ASI_QUEUE ! update head offset
469 * Set %g2 to %g6, which is current head offset. %g2
474 mov %g6, %g2
519 mov %g2, %g6 ! save head in %g2
525 add %g6, %g4, %g4 ! %g4 = PA of ER in Q
563 add %g6, Q_ENTRY_SIZE, %g6 ! increment q head to next
564 and %g6, %g5, %g6 ! size mask for warp around
565 cmp %g6, %g3 ! head == tail ??
575 stxa %g6, [%g4]ASI_QUEUE ! update head offset