On Wed, Sep 30, 2015 at 3:07 PM, Max Filippov <jcmvb...@gmail.com> wrote: > On Thu, Oct 1, 2015 at 12:02 AM, Peter Crosthwaite > <crosthwaitepe...@gmail.com> wrote: >> On Wed, Sep 30, 2015 at 1:54 PM, Max Filippov <jcmvb...@gmail.com> wrote: >>> On Wed, Sep 30, 2015 at 11:45 PM, Peter Maydell >>> <peter.mayd...@linaro.org> wrote: >>>> Because for QEMU the CPU is really just the CPU. Your other >>>> random devices don't live in the CPU, even if you're >>>> programming your FPGA with a single bitstream that's >>>> got the CPUs and a set of devices in it. You can't push >>>> that stuff into the CPU model, it should live in the >>>> board model. >>> >>> I'm not pushing them into CPU model and they do live in the board >>> model. After all the changes in question were for the hw/xtensa/xtfpga.c >>> But the board is made in such way that CPUs with and without MMU >>> see onboard RAM and peripherals at different physical addresses. >> >> Which makes MMU vs noMMU a board level property, not a CPU property. >> It should appear in QEMU as such. > > Ok, one last try: can this property be queried from the selected CPU > and passed to SoC initialization code? >
No, what I am trying to say is go the other way round. The property is on the SoC, and it is used to select the CPU type. Regards, Peter > -- > Thanks. > -- Max