Lines Matching refs:a1

136 	s32i	a1, a2, PT_AREG1
139 mov a1, a2
150 s32i a3, a1, PT_SAR
151 s32i a2, a1, PT_ICOUNTLEVEL
155 s32i a2, a1, PT_THREADPTR
165 s32i a2, a1, PT_WINDOWBASE
166 s32i a3, a1, PT_WINDOWSTART
170 s32i a2, a1, PT_WMASK # needed for restoring registers
174 s32i a2, a1, PT_WINDOWBASE
175 s32i a3, a1, PT_WINDOWSTART
176 s32i a3, a1, PT_WMASK
182 s32i a4, a1, PT_AREG4
183 s32i a5, a1, PT_AREG5
184 s32i a6, a1, PT_AREG6
185 s32i a7, a1, PT_AREG7
187 s32i a8, a1, PT_AREG8
188 s32i a9, a1, PT_AREG9
189 s32i a10, a1, PT_AREG10
190 s32i a11, a1, PT_AREG11
192 s32i a12, a1, PT_AREG12
193 s32i a13, a1, PT_AREG13
194 s32i a14, a1, PT_AREG14
195 s32i a15, a1, PT_AREG15
228 s32i a2, a1, PT_WMASK # needed when we restore the reg-file
234 s32i a1, a5, PT_AREG_END - 12
238 addi a1, a5, -16
292 s32i a1, a2, PT_AREG1
295 mov a1, a2
305 s32i a3, a1, PT_SAR
306 s32i a2, a1, PT_ICOUNTLEVEL
519 2: l32i a4, a1, PT_DEPC
528 mov abi_arg0, a1
555 l32i abi_saved1, a1, PT_PS
566 l32i a4, a1, PT_DEPC
580 load_xtregs_opt a1 a2 a4 a5 a6 a7 PT_XTREGS_OPT
585 l32i a2, a1, PT_SCOMPARE1
599 l32i a2, a1, PT_WINDOWBASE
600 l32i a3, a1, PT_WINDOWSTART
601 wsr a1, depc # use DEPC as temp storage
606 rsr a1, depc # restore stack pointer
607 l32i a2, a1, PT_WMASK # register frames saved (in bits 4...9)
656 l32i a3, a1, PT_THREADPTR
694 l32i a2, a1, PT_WMASK
706 addi a0, a1, -16
709 s32i a3, a1, PT_SIZE+0
710 s32i a4, a1, PT_SIZE+4
713 s32i a3, a1, PT_SIZE+8
714 s32i a4, a1, PT_SIZE+12
731 l32i a4, a1, PT_AREG4
732 l32i a5, a1, PT_AREG5
733 l32i a6, a1, PT_AREG6
734 l32i a7, a1, PT_AREG7
736 l32i a8, a1, PT_AREG8
737 l32i a9, a1, PT_AREG9
738 l32i a10, a1, PT_AREG10
739 l32i a11, a1, PT_AREG11
741 l32i a12, a1, PT_AREG12
742 l32i a13, a1, PT_AREG13
743 l32i a14, a1, PT_AREG14
744 l32i a15, a1, PT_AREG15
748 1: l32i a2, a1, PT_PC
749 l32i a3, a1, PT_SAR
755 l32i a2, a1, PT_LBEG
756 l32i a3, a1, PT_LEND
758 l32i a2, a1, PT_LCOUNT
765 l32i a2, a1, PT_ICOUNTLEVEL
772 l32i a0, a1, PT_DEPC
773 l32i a3, a1, PT_AREG3
774 l32i a2, a1, PT_AREG2
779 l32i a0, a1, PT_AREG0
780 l32i a1, a1, PT_AREG1
784 l32i a0, a1, PT_AREG0
785 l32i a1, a1, PT_AREG1
824 addi a2, a1, -16-PT_SIZE # assume kernel stack
827 s32i a1, a2, PT_AREG1
835 mov a1, a2
843 GET_THREAD_INFO(a2, a1)
945 movi a1, 0
948 wsr a1, windowbase
952 movi a1, KERNEL_PS_WOE_MASK | LOCKLEVEL
953 wsr a1, ps
956 movi a1, init_task
958 addi a1, a1, PT_REGS_OFFSET
1020 l32i a1, a6, PT_DEPC
1022 wsr a1, depc
1617 s32i a1, a2, PT_AREG1
1636 GET_CURRENT(a1,a2)
1637 l32i a0, a1, TASK_MM # tsk->mm
1641 _PGD_OFFSET(a0, a3, a1)
1659 movi a1, (PHYS_OFFSET - PAGE_OFFSET) & 0xffffffff
1660 add a0, a0, a1 # pmdval - PAGE_OFFSET
1661 extui a1, a0, 0, PAGE_SHIFT # ... & PAGE_MASK
1662 xor a0, a0, a1
1664 movi a1, _PAGE_DIRECTORY
1665 or a0, a0, a1 # ... | PAGE_DIRECTORY
1678 rsr a1, ptevaddr
1680 srli a1, a1, PAGE_SHIFT
1682 slli a1, a1, PAGE_SHIFT # ptevaddr & PAGE_MASK
1684 add a1, a1, a3 # ... + way_number
1686 3: wdtlb a0, a1
1698 l32i a1, a2, PT_AREG1
1715 9: l32i a0, a1, TASK_ACTIVE_MM # unlikely case mm == 0
1753 addi a1, a0, -TLBTEMP_SIZE
1754 bgeu a1, a3, 2f
1758 movi a1, __tlbtemp_mapping_itlb
1760 sub a3, a3, a1
1764 movi a1, PAGE_MASK
1765 and a1, a1, a0
1774 add a1, a3, a1
1784 1: witlb a6, a1
1794 rsr a1, depc
1795 s32i a1, a2, PT_AREG2
1796 mov a1, a2
1827 s32i a1, a2, PT_AREG1
1830 GET_CURRENT(a1,a2)
1831 l32i a0, a1, TASK_MM # tsk->mm
1834 8: rsr a1, excvaddr # fault address
1835 _PGD_OFFSET(a0, a1, a3)
1844 _PTE_OFFSET(a0, a1, a3)
1846 movi a1, _PAGE_CA_INVALID
1847 ball a3, a1, 2f
1850 movi a1, _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_HW_WRITE
1851 or a3, a3, a1
1852 rsr a1, excvaddr
1859 pdtlb a0, a1
1871 l32i a1, a2, PT_AREG1
1886 9: l32i a0, a1, TASK_ACTIVE_MM # unlikely case mm == 0
1893 mov a1, a2
1933 GET_THREAD_INFO(a4, a1)
2004 _entry a1, 48
2008 _entry a1, 48
2012 _entry a1, 16
2058 s32i a1, a10, THREAD_SP - TASK_THREAD # save stack pointer
2061 s32i a1, a2, THREAD_SP # save stack pointer
2108 l32i a1, a11, THREAD_SP # restore stack pointer
2136 mov abi_arg0, a1