Lines Matching full:g1

174 	rdpr		%pstate, %g1
175 wrpr %g1, PSTATE_IE, %pstate
184 wrpr %g1, 0, %pstate
194 sethi %hi(PAGE_OFFSET), %g1
197 ldx [%g1 + %lo(PAGE_OFFSET)], %g1
198 add %o0, %g1, %o0
219 sethi %hi(PAGE_OFFSET), %g1
220 ldx [%g1 + %lo(PAGE_OFFSET)], %g1
221 sub %o0, %g1, %o0 ! physical address
362 sethi %hi(PAGE_OFFSET), %g1
363 ldx [%g1 + %lo(PAGE_OFFSET)], %g1
364 sub %o0, %g1, %o0
432 sllx %o1, 3, %g1
435 1: sub %g1, (1 << 3), %g1
436 ldx [%g2 + %g1], %o0 /* ARG0: vaddr + IMMU-bit */
444 brnz,pt %g1, 1b
467 mov %o0, %g1
470 1: add %g1, %g2, %o0 /* ARG0: virtual address */
505 1: lduw [%o1], %g1
506 stw %g1, [%o0]
521 * %g1 address arg 1 (tlb page and range flushes)
559 /* %g5=context, %g1=vaddr */
567 andcc %g1, 0x1, %g0
569 andn %g1, 0x1, %g5
585 andn %g1, %g2, %g1
587 sub %g7, %g1, %g3
592 or %g1, 0x20, %g1 ! Nucleus
593 1: stxa %g0, [%g1 + %g3] ASI_DMMU_DEMAP
594 stxa %g0, [%g1 + %g3] ASI_IMMU_DEMAP
599 2: mov 63 * 8, %g1
600 1: ldxa [%g1] ASI_ITLB_DATA_ACCESS, %g2
605 stxa %g0, [%g1] ASI_ITLB_DATA_ACCESS
607 2: ldxa [%g1] ASI_DTLB_DATA_ACCESS, %g2
612 stxa %g0, [%g1] ASI_DTLB_DATA_ACCESS
614 2: sub %g1, 8, %g1
615 brgez,pt %g1, 1b
658 sethi %hi(global_cpu_snapshot), %g1
659 or %g1, %lo(global_cpu_snapshot), %g1
662 add %g1, %g3, %g1
664 stx %g7, [%g1 + GR_SNAP_TSTATE]
666 stx %g7, [%g1 + GR_SNAP_TPC]
668 stx %g7, [%g1 + GR_SNAP_TNPC]
669 stx %o7, [%g1 + GR_SNAP_O7]
670 stx %i7, [%g1 + GR_SNAP_I7]
677 stx %g7, [%g1 + GR_SNAP_RPC]
683 stx %g3, [%g1 + GR_SNAP_THREAD]
688 sethi %hi(global_cpu_snapshot), %g1
689 or %g1, %lo(global_cpu_snapshot), %g1
692 add %g1, %g3, %g1
694 stx %g7, [%g1 + (4 * 8)]
696 stx %g7, [%g1 + (0 * 8)]
701 sethi %hi(global_cpu_snapshot), %g1
702 or %g1, %lo(global_cpu_snapshot), %g1
705 add %g1, %g3, %g1
708 stx %g7, [%g1 + (4 * 8)]
711 stx %g7, [%g1 + (5 * 8)]
714 stx %g7, [%g1 + (6 * 8)]
717 stx %g7, [%g1 + (7 * 8)]
726 stx %o1, [%g1 + (3 * 8)]
730 stx %o1, [%g1 + (2 * 8)]
734 stx %o1, [%g1 + (1 * 8)]
738 stx %o1, [%g1 + (0 * 8)]
749 andn %g1, %g2, %g1
751 sub %g7, %g1, %g3
756 or %g1, 0x20, %g1 ! Nucleus
757 1: stxa %g0, [%g1 + %g3] ASI_DMMU_DEMAP
758 stxa %g0, [%g1 + %g3] ASI_IMMU_DEMAP
795 xcall_flush_dcache_page_cheetah: /* %g1 == physical page address */
798 stxa %g0, [%g1 + %g3] ASI_DCACHE_INVALIDATE
807 xcall_flush_dcache_page_spitfire: /* %g1 == physical page address
811 srlx %g1, (13 - 2), %g1 ! Form tag comparitor
818 cmp %g2, %g1
856 /* %g5=ctx, g1,g2,g3,g4,g7=scratch, %g6=unusable */
860 mov %o3, %g1
874 mov %g1, %o3
884 /* %g5=ctx, %g1=vaddr */
888 mov %g1, %o0 /* ARG0: virtual address */
908 /* %g1=start, %g7=end, g2,g3,g4,g5,g6=scratch */
911 andn %g1, %g2, %g1
913 sub %g7, %g1, %g3
921 1: add %g1, %g3, %o0 /* ARG0: virtual address */
939 2: mov %o3, %g1
947 mov %g1, %o3