|
@@ -90,4 +90,15 @@ void tlb_set_page_with_attrs(CPUState *cpu, vaddr addr,
|
|
|
hwaddr paddr, MemTxAttrs attrs,
|
|
|
int prot, int mmu_idx, vaddr size);
|
|
|
|
|
|
+/**
|
|
|
+ * tlb_set_page:
|
|
|
+ *
|
|
|
+ * This function is equivalent to calling tlb_set_page_with_attrs()
|
|
|
+ * with an @attrs argument of MEMTXATTRS_UNSPECIFIED. It's provided
|
|
|
+ * as a convenience for CPUs which don't use memory transaction attributes.
|
|
|
+ */
|
|
|
+void tlb_set_page(CPUState *cpu, vaddr addr,
|
|
|
+ hwaddr paddr, int prot,
|
|
|
+ int mmu_idx, vaddr size);
|
|
|
+
|
|
|
#endif
|