Lines Matching full:cpu
2 * Common CPU TLB handling
23 #include "exec/cpu-common.h"
34 void tlb_reset_dirty(CPUState *cpu, uintptr_t start, uintptr_t length);
40 * @cpu: CPU context
45 * Add an entry to @cpu tlb index @mmu_idx. All of the fields of
57 void tlb_set_page_full(CPUState *cpu, int mmu_idx, vaddr addr,
62 * @cpu: CPU to add this TLB entry for
70 * Add an entry to this CPU's TLB (a mapping from virtual address
72 * transaction attributes. This is generally called by the target CPU
82 void tlb_set_page_with_attrs(CPUState *cpu, vaddr addr,
93 void tlb_set_page(CPUState *cpu, vaddr addr,
100 * @cpu: CPU whose TLB should be flushed
103 * Flush one page from the TLB of the specified CPU, for all
106 void tlb_flush_page(CPUState *cpu, vaddr addr);
110 * @cpu: src CPU of the flush
123 * @cpu: CPU whose TLB should be flushed
125 * Flush the entire TLB for the specified CPU. Most CPU architectures
130 void tlb_flush(CPUState *cpu);
134 * @cpu: src CPU of the flush
145 * @cpu: CPU whose TLB should be flushed
149 * Flush one page from the TLB of the specified CPU, for the specified
152 void tlb_flush_page_by_mmuidx(CPUState *cpu, vaddr addr,
157 * @cpu: Originating CPU of the flush
167 void tlb_flush_page_by_mmuidx_all_cpus_synced(CPUState *cpu, vaddr addr,
172 * @cpu: CPU whose TLB should be flushed
176 * Flush all entries from the TLB of the specified CPU, for the specified
179 void tlb_flush_by_mmuidx(CPUState *cpu, uint16_t idxmap);
183 * @cpu: Originating CPU of the flush
192 void tlb_flush_by_mmuidx_all_cpus_synced(CPUState *cpu, uint16_t idxmap);
196 * @cpu: CPU whose TLB should be flushed
203 void tlb_flush_page_bits_by_mmuidx(CPUState *cpu, vaddr addr,
207 void tlb_flush_page_bits_by_mmuidx_all_cpus_synced(CPUState *cpu, vaddr addr,
213 * @cpu: CPU whose TLB should be flushed
222 void tlb_flush_range_by_mmuidx(CPUState *cpu, vaddr addr,
227 void tlb_flush_range_by_mmuidx_all_cpus_synced(CPUState *cpu,
233 static inline void tlb_flush_page(CPUState *cpu, vaddr addr) in tlb_flush_page() argument
239 static inline void tlb_flush(CPUState *cpu) in tlb_flush() argument
245 static inline void tlb_flush_page_by_mmuidx(CPUState *cpu, in tlb_flush_page_by_mmuidx() argument
250 static inline void tlb_flush_by_mmuidx(CPUState *cpu, uint16_t idxmap) in tlb_flush_by_mmuidx() argument
253 static inline void tlb_flush_page_by_mmuidx_all_cpus_synced(CPUState *cpu, in tlb_flush_page_by_mmuidx_all_cpus_synced() argument
258 static inline void tlb_flush_by_mmuidx_all_cpus_synced(CPUState *cpu, in tlb_flush_by_mmuidx_all_cpus_synced() argument
262 static inline void tlb_flush_page_bits_by_mmuidx(CPUState *cpu, in tlb_flush_page_bits_by_mmuidx() argument
269 tlb_flush_page_bits_by_mmuidx_all_cpus_synced(CPUState *cpu, vaddr addr, in tlb_flush_page_bits_by_mmuidx_all_cpus_synced() argument
273 static inline void tlb_flush_range_by_mmuidx(CPUState *cpu, vaddr addr, in tlb_flush_range_by_mmuidx() argument
278 static inline void tlb_flush_range_by_mmuidx_all_cpus_synced(CPUState *cpu, in tlb_flush_range_by_mmuidx_all_cpus_synced() argument