From: "Lucas Mateus Castro (alqotel)" <lucas.ara...@eldorado.org.br>
Added tlb_set_page and tlb_set_page_with_attrs to the stubbed functions in exec-all.h as it is needed in some functions when compiling without TCG Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.ara...@eldorado.org.br> --- include/exec/exec-all.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 6b036cae8f..f287c88282 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -365,6 +365,16 @@ tlb_flush_page_bits_by_mmuidx_all_cpus_synced(CPUState *cpu, target_ulong addr, uint16_t idxmap, unsigned bits) { } +static inline void tlb_set_page_with_attrs(CPUState *cpu, target_ulong vaddr, + hwaddr paddr, MemTxAttrs attrs, + int prot, int mmu_idx, target_ulong size) +{ +} +static inline void tlb_set_page(CPUState *cpu, target_ulong vaddr, + hwaddr paddr, int prot, + int mmu_idx, target_ulong size) +{ +} #endif /** * probe_access: -- 2.17.1