Lines Matching full:full
68 static int get_physical_address(CPUSPARCState *env, CPUTLBEntryFull *full, in get_physical_address() argument
83 full->lg_page_size = TARGET_PAGE_BITS; in get_physical_address()
86 full->phys_addr = env->prom_addr | (address & 0x7ffffULL); in get_physical_address()
87 full->prot = PAGE_READ | PAGE_EXEC; in get_physical_address()
90 full->phys_addr = address; in get_physical_address()
91 full->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
96 full->phys_addr = 0xffffffffffff0000ULL; in get_physical_address()
160 full->lg_page_size = TARGET_PAGE_BITS; in get_physical_address()
164 full->lg_page_size = 18; in get_physical_address()
169 full->lg_page_size = 24; in get_physical_address()
192 full->prot = perm_table[is_user][access_perms]; in get_physical_address()
196 full->prot &= ~PAGE_WRITE; in get_physical_address()
201 full->phys_addr = ((hwaddr)(pde & PTE_ADDR_MASK) << 4) + page_offset; in get_physical_address()
211 CPUTLBEntryFull full = {}; in sparc_cpu_tlb_fill() local
224 error_code = get_physical_address(env, &full, &access_index, in sparc_cpu_tlb_fill()
231 address, full.phys_addr, vaddr); in sparc_cpu_tlb_fill()
232 tlb_set_page_full(cs, mmu_idx, vaddr, &full); in sparc_cpu_tlb_fill()
247 full.prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in sparc_cpu_tlb_fill()
248 tlb_set_page_full(cs, mmu_idx, vaddr, &full); in sparc_cpu_tlb_fill()
544 static int get_physical_address_data(CPUSPARCState *env, CPUTLBEntryFull *full, in get_physical_address_data() argument
578 &full->phys_addr)) { in get_physical_address_data()
582 full->tlb_fill_flags |= TLB_BSWAP; in get_physical_address_data()
615 full->prot = PAGE_READ; in get_physical_address_data()
617 full->prot |= PAGE_WRITE; in get_physical_address_data()
644 static int get_physical_address_code(CPUSPARCState *env, CPUTLBEntryFull *full, in get_physical_address_code() argument
679 address, context, &full->phys_addr)) { in get_physical_address_code()
706 full->prot = PAGE_EXEC; in get_physical_address_code()
720 static int get_physical_address(CPUSPARCState *env, CPUTLBEntryFull *full, in get_physical_address() argument
726 full->lg_page_size = TARGET_PAGE_BITS; in get_physical_address()
744 full->phys_addr = ultrasparc_truncate_physical(address); in get_physical_address()
745 full->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
750 return get_physical_address_code(env, full, address, mmu_idx); in get_physical_address()
752 return get_physical_address_data(env, full, address, rw, mmu_idx); in get_physical_address()
762 CPUTLBEntryFull full = {}; in sparc_cpu_tlb_fill() local
766 error_code = get_physical_address(env, &full, &access_index, in sparc_cpu_tlb_fill()
769 trace_mmu_helper_mmu_fault(address, full.phys_addr, mmu_idx, env->tl, in sparc_cpu_tlb_fill()
772 tlb_set_page_full(cs, mmu_idx, address, &full); in sparc_cpu_tlb_fill()
874 CPUTLBEntryFull full = {}; in cpu_sparc_get_phys_page() local
877 ret = get_physical_address(env, &full, &access_index, addr, rw, mmu_idx); in cpu_sparc_get_phys_page()
879 *phys = full.phys_addr; in cpu_sparc_get_phys_page()