Lines Matching refs:next
733 uint32_t next; in get_physical_address() local
760 next = env->mmu.srp; in get_physical_address()
762 next = env->mmu.urp; in get_physical_address()
766 entry = M68K_POINTER_BASE(next) | M68K_ROOT_INDEX(address); in get_physical_address()
768 next = address_space_ldl(cs->as, entry, MEMTXATTRS_UNSPECIFIED, &txres); in get_physical_address()
772 if (!M68K_UDT_VALID(next)) { in get_physical_address()
775 if (!(next & M68K_DESC_USED) && !debug) { in get_physical_address()
776 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address()
782 if (next & M68K_DESC_WRITEPROT) { in get_physical_address()
793 entry = M68K_POINTER_BASE(next) | M68K_POINTER_INDEX(address); in get_physical_address()
795 next = address_space_ldl(cs->as, entry, MEMTXATTRS_UNSPECIFIED, &txres); in get_physical_address()
799 if (!M68K_UDT_VALID(next)) { in get_physical_address()
802 if (!(next & M68K_DESC_USED) && !debug) { in get_physical_address()
803 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address()
809 if (next & M68K_DESC_WRITEPROT) { in get_physical_address()
821 entry = M68K_8K_PAGE_BASE(next) | M68K_8K_PAGE_INDEX(address); in get_physical_address()
823 entry = M68K_4K_PAGE_BASE(next) | M68K_4K_PAGE_INDEX(address); in get_physical_address()
826 next = address_space_ldl(cs->as, entry, MEMTXATTRS_UNSPECIFIED, &txres); in get_physical_address()
831 if (!M68K_PDT_VALID(next)) { in get_physical_address()
834 if (M68K_PDT_INDIRECT(next)) { in get_physical_address()
835 next = address_space_ldl(cs->as, M68K_INDIRECT_POINTER(next), in get_physical_address()
842 if (next & M68K_DESC_WRITEPROT) { in get_physical_address()
843 if (!(next & M68K_DESC_USED) && !debug) { in get_physical_address()
844 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address()
850 } else if ((next & (M68K_DESC_MODIFIED | M68K_DESC_USED)) != in get_physical_address()
853 next | (M68K_DESC_MODIFIED | M68K_DESC_USED), in get_physical_address()
860 if (!(next & M68K_DESC_USED) && !debug) { in get_physical_address()
861 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address()
876 *physical = (next & page_mask) + (address & (*page_size - 1)); in get_physical_address()
879 env->mmu.mmusr |= next & M68K_MMU_SR_MASK_040; in get_physical_address()
884 if (next & M68K_DESC_WRITEPROT) { in get_physical_address()
890 if (next & M68K_DESC_SUPERONLY) { in get_physical_address()