mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-09 01:35:32 +00:00
exec-all: document that tlb_fill can trigger a TLB resize
Backports commit ae56a2ff92ac73782279abf8857585c34b15f509 from qemu
This commit is contained in:
parent
576df55076
commit
1b44fd94ac
|
@ -336,6 +336,11 @@ void phys_mem_set_alloc(void *(*alloc)(size_t, uint64_t *align));
|
|||
struct MemoryRegionSection *iotlb_to_section(CPUState *cpu,
|
||||
hwaddr index, MemTxAttrs attrs);
|
||||
|
||||
/*
|
||||
* Note: tlb_fill() can trigger a resize of the TLB. This means that all of the
|
||||
* caller's prior references to the TLB table (e.g. CPUTLBEntry pointers) must
|
||||
* be discarded and looked up again (e.g. via tlb_entry()).
|
||||
*/
|
||||
void tlb_fill(CPUState *cpu, target_ulong addr, int size,
|
||||
MMUAccessType access_type, int mmu_idx, uintptr_t retaddr);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue