Lines Matching refs:tmp
19 .macro check_uaccess, addr:req, size:req, limit:req, tmp:req, bad:req
21 adds \tmp, \addr, #\size - 1
22 sbcscc \tmp, \tmp, \limit
31 .macro uaccess_mask_range_ptr, addr:req, size:req, limit:req, tmp:req
33 sub \tmp, \limit, #1
34 subs \tmp, \tmp, \addr @ tmp = limit - 1 - addr
35 addhs \tmp, \tmp, #1 @ if (tmp >= 0) {
36 subshs \tmp, \tmp, \size @ tmp = limit - (addr + size) }
37 movlo \addr, #0 @ if (tmp < 0) addr = NULL
42 .macro uaccess_disable, tmp, isb=1
48 mov \tmp, #DACR_UACCESS_DISABLE
49 mcr p15, 0, \tmp, c3, c0, 0 @ Set domain register
56 .macro uaccess_enable, tmp, isb=1
62 mov \tmp, #DACR_UACCESS_ENABLE
63 mcr p15, 0, \tmp, c3, c0, 0