Thanks Gabe -- that was easy!

-----"gem5-dev" <[email protected]> wrote: -----
To: "gem5 Developer List" <[email protected]>
From: "Gabe Black" 
Sent by: "gem5-dev" 
Date: 03/19/2020 05:34AM
Subject: Re: [gem5-dev] Page tables in the new SE translating proxy

Hi Boris. If you need to get at the page table, you should be able to use
tc->getProcessPtr() and then access it from the process object. That's what
the SETranslatingPortProxy was doing.

Gabe

On Thu, Mar 19, 2020 at 2:31 AM Boris Shingarov <[email protected]>
wrote:

> Gabe,
>
> I must confess the new concept how the SE translating proxy is supposed to
> work in the new version, is escaping me.
>
> Here is what I am trying to do:  I have a non-standard extension to the
> GDB RSP protocol which allows the gdb client to read/write the inferior's
> memory without sending M packets over the RSP socket, by SHMEM IPC with the
> backing store in gem5.  For that, the GDB client needs to know which
> virtual addresses in the guest map to which backing store address.
>
> In the old SETranslatingProxy this was easy: the pTable contained exactly
> that.  See
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_shingarov_gem5_commit_b21074a9835ebe52e8f023e588bcad6a608d738e&d=DwIGaQ&c=sPZ6DeHLiehUHQWKIrsNwWp3t7snrE-az24ztT0w7Jc&r=ecC5uu6ubGhPt6qQ8xWcSQh1QUJ8B1-CG4B9kRM0nd4&m=Cdy7Zi-4Jya7noa139CDOG5_L3JTAAiqqAx6SBbx1_8&s=M7UCkltnDUGWnJLy-l7_pkxGKiP74Ensk-IG60aC3t0&e=
>
> Now with the new design, I am scratching my head how to do something
> equivalent.  It looks like the translation is buried very far behind the
> functionality of the MMU.  Do you think there is still a way to get at it?
>
> Boris
>
>
>
>
>
>
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> https://urldefense.proofpoint.com/v2/url?u=http-3A__m5sim.org_mailman_listinfo_gem5-2Ddev&d=DwIGaQ&c=sPZ6DeHLiehUHQWKIrsNwWp3t7snrE-az24ztT0w7Jc&r=ecC5uu6ubGhPt6qQ8xWcSQh1QUJ8B1-CG4B9kRM0nd4&m=Cdy7Zi-4Jya7noa139CDOG5_L3JTAAiqqAx6SBbx1_8&s=_rAmXAhGw9SiWTVBvBKSkwgy1uICZlDXNxYew0pIrws&e=
_______________________________________________
gem5-dev mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__m5sim.org_mailman_listinfo_gem5-2Ddev&d=DwIGaQ&c=sPZ6DeHLiehUHQWKIrsNwWp3t7snrE-az24ztT0w7Jc&r=ecC5uu6ubGhPt6qQ8xWcSQh1QUJ8B1-CG4B9kRM0nd4&m=Cdy7Zi-4Jya7noa139CDOG5_L3JTAAiqqAx6SBbx1_8&s=_rAmXAhGw9SiWTVBvBKSkwgy1uICZlDXNxYew0pIrws&e=




_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to