Lines Matching defs:tmp1
15 .macro __uaccess_ttbr0_disable, tmp1
16 mrs \tmp1, ttbr1_el1 // swapper_pg_dir
17 bic \tmp1, \tmp1, #TTBR_ASID_MASK
18 sub \tmp1, \tmp1, #PAGE_SIZE // reserved_pg_dir just before swapper_pg_dir
19 msr ttbr0_el1, \tmp1 // set reserved TTBR0_EL1
21 add \tmp1, \tmp1, #PAGE_SIZE
22 msr ttbr1_el1, \tmp1 // set reserved ASID
26 .macro __uaccess_ttbr0_enable, tmp1, tmp2
27 get_current_task \tmp1
28 ldr \tmp1, [\tmp1, #TSK_TI_TTBR0] // load saved TTBR0_EL1
30 extr \tmp2, \tmp2, \tmp1, #48
34 msr ttbr0_el1, \tmp1 // set the non-PAN TTBR0_EL1
38 .macro uaccess_ttbr0_disable, tmp1, tmp2
41 __uaccess_ttbr0_disable \tmp1
46 .macro uaccess_ttbr0_enable, tmp1, tmp2, tmp3
49 __uaccess_ttbr0_enable \tmp1, \tmp2
54 .macro uaccess_ttbr0_disable, tmp1, tmp2
57 .macro uaccess_ttbr0_enable, tmp1, tmp2, tmp3