|
From: | Richard Henderson |
Subject: | Re: [PATCH 01/62] accel/tcg: Introduce PageEntryExtra |
Date: | Tue, 5 Jul 2022 06:05:38 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 7/4/22 20:58, Peter Maydell wrote:
+ * Returns a pointer to the iotlb entry, with env_tlb(env)->c.lock + * still locked, for final additions to the iotlb entry. The caller + * must unlock the lock. */ -void tlb_set_page_with_attrs(CPUState *cpu, target_ulong vaddr, - hwaddr paddr, MemTxAttrs attrs, int prot, - int mmu_idx, target_ulong size) +void tlb_set_page_with_extra(CPUState *cpu, target_ulong vaddr, hwaddr paddr, + MemTxAttrs attrs, PageEntryExtra extra, + int prot, int mmu_idx, target_ulong size)The comment claims it returns a pointer to the iotlb entry, but the code says it returns void... leftover from a previous design?
Whoops, yes. In the end I thought that was a bit too much internals exposed. r~
[Prev in Thread] | Current Thread | [Next in Thread] |