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: Max Filippov
Subject: Re: [Qemu-devel] [PATCH 3/3] target-xtensa: xtfpga: support noMMU cores
Date: Thu, 1 Oct 2015 01:07:13 +0300

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?

-- 
Thanks.
-- Max



reply via email to

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