[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [qemu] How to reliably obtain physaddr from vaddr
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [qemu] How to reliably obtain physaddr from vaddr |
Date: |
Sun, 15 Mar 2015 16:10:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 03/15/2015 03:00 AM, Emilio G. Cota wrote:
> On a TLB hit this is trivial (just do nothing), but on
> a TLB miss I'm lost on what to do--I cannot even follow
> where helper_ld/st go (grep doesn't help), although I
> suspect it's TCG backend ops and I don't see an obvious
> way of adding a new operation there.
It goes into softmmu_template.h. Which then tests a victim tlb, and finally
calls tlb_fill. You'll probably need to do the same.
r~
- Re: [Qemu-devel] [qemu] How to reliably obtain physaddr from vaddr,
Richard Henderson <=