mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
accel/tcg: Fix tlb_set_page_with_attrs, tlb_set_page
The declarations use vaddr for size. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
09ac62682b
commit
252394c95b
1 changed files with 2 additions and 2 deletions
|
@ -1193,7 +1193,7 @@ void tlb_set_page_full(CPUState *cpu, int mmu_idx,
|
|||
|
||||
void tlb_set_page_with_attrs(CPUState *cpu, vaddr addr,
|
||||
hwaddr paddr, MemTxAttrs attrs, int prot,
|
||||
int mmu_idx, uint64_t size)
|
||||
int mmu_idx, vaddr size)
|
||||
{
|
||||
CPUTLBEntryFull full = {
|
||||
.phys_addr = paddr,
|
||||
|
@ -1208,7 +1208,7 @@ void tlb_set_page_with_attrs(CPUState *cpu, vaddr addr,
|
|||
|
||||
void tlb_set_page(CPUState *cpu, vaddr addr,
|
||||
hwaddr paddr, int prot,
|
||||
int mmu_idx, uint64_t size)
|
||||
int mmu_idx, vaddr size)
|
||||
{
|
||||
tlb_set_page_with_attrs(cpu, addr, paddr, MEMTXATTRS_UNSPECIFIED,
|
||||
prot, mmu_idx, size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue