Lines Matching full:xn
89 int user_rw, int prot_rw, int xn, int pxn,
1146 uint32_t xn; in get_phys_addr_v6() local
1210 xn = desc & (1 << 4); in get_phys_addr_v6()
1234 xn = desc & (1 << 15); in get_phys_addr_v6()
1239 xn = desc & 1; in get_phys_addr_v6()
1277 xn, pxn, result->f.attrs.space, out_space); in get_phys_addr_v6()
1298 * @xn: XN (execute-never) bits
1314 static int get_S2prot(CPUARMState *env, int s2ap, int xn, bool s1_is_el0) in get_S2prot() argument
1319 switch (xn) { in get_S2prot()
1339 if (!extract32(xn, 1, 1)) { in get_S2prot()
1355 * @xn: XN (execute-never) bit
1361 int user_rw, int prot_rw, int xn, int pxn, in get_S1prot() argument
1378 * Note that for AArch64 the 'user can exec' case is exactly !xn. in get_S1prot()
1386 (regime_sctlr(env, mmu_idx) & SCTLR_EPAN) && !xn) { in get_S1prot()
1439 xn = pxn || (user_rw & PAGE_WRITE); in get_S1prot()
1446 xn = xn || !(user_rw & PAGE_READ); in get_S1prot()
1452 xn = xn || !(prot_rw & PAGE_READ) || pxn || in get_S1prot()
1460 xn = wxn = 0; in get_S1prot()
1463 if (xn || (wxn && (prot_rw & PAGE_WRITE))) { in get_S1prot()
1700 int ap, xn, pxn; in get_phys_addr_lpae() local
1998 attrs |= extract64(tableattrs, 0, 2) << 53; /* XN, PXN */ in get_phys_addr_lpae()
2021 xn = extract64(attrs, 53, 2); in get_phys_addr_lpae()
2022 result->f.prot = get_S2prot(env, ap, xn, ptw->in_s1_is_el0); in get_phys_addr_lpae()
2086 xn = extract64(attrs, 54, 1); in get_phys_addr_lpae()
2100 pxn = xn; in get_phys_addr_lpae()
2101 xn = 0; in get_phys_addr_lpae()
2112 xn, pxn, result->f.attrs.space, out_space); in get_phys_addr_lpae()
2504 uint32_t xn = extract32(env->pmsav7.dracr[n], 12, 1); in get_phys_addr_pmsav7() local
2508 xn = 1; in get_phys_addr_pmsav7()
2564 if (xn) { in get_phys_addr_pmsav7()
2733 uint32_t xn = extract32(matched_rbar, 0, 1); in pmsav8_mpu_lookup() local
2742 xn = 1; in pmsav8_mpu_lookup()
2759 xn = 0x1; in pmsav8_mpu_lookup()
2772 if (result->f.prot && !xn && !(pxn && !is_user)) { in pmsav8_mpu_lookup()