Lines Matching refs:tmp1
16 .macro __uaccess_ttbr0_disable, tmp1
17 mrs \tmp1, ttbr1_el1 // swapper_pg_dir
18 bic \tmp1, \tmp1, #TTBR_ASID_MASK
19 sub \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET // reserved_pg_dir
20 msr ttbr0_el1, \tmp1 // set reserved TTBR0_EL1
22 add \tmp1, \tmp1, #RESERVED_SWAPPER_OFFSET
23 msr ttbr1_el1, \tmp1 // set reserved ASID
27 .macro __uaccess_ttbr0_enable, tmp1, tmp2
28 get_current_task \tmp1
29 ldr \tmp1, [\tmp1, #TSK_TI_TTBR0] // load saved TTBR0_EL1
31 extr \tmp2, \tmp2, \tmp1, #48
35 msr ttbr0_el1, \tmp1 // set the non-PAN TTBR0_EL1
39 .macro uaccess_ttbr0_disable, tmp1, tmp2
42 __uaccess_ttbr0_disable \tmp1
47 .macro uaccess_ttbr0_enable, tmp1, tmp2, tmp3
50 __uaccess_ttbr0_enable \tmp1, \tmp2
55 .macro uaccess_ttbr0_disable, tmp1, tmp2
58 .macro uaccess_ttbr0_enable, tmp1, tmp2, tmp3