qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/3] target-xtensa: xtfpga: support noMMU cores


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH 3/3] target-xtensa: xtfpga: support noMMU cores
Date: Wed, 30 Sep 2015 15:23:29 -0700

On Wed, Sep 30, 2015 at 3:07 PM, Max Filippov <address@hidden> wrote:
> On Thu, Oct 1, 2015 at 12:02 AM, Peter Crosthwaite
> <address@hidden> wrote:
>> On Wed, Sep 30, 2015 at 1:54 PM, Max Filippov <address@hidden> wrote:
>>> On Wed, Sep 30, 2015 at 11:45 PM, Peter Maydell
>>> <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]