qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabien Chouteau <chouteau@adacore.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Paul Brook" <paul@codesourcery.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16
Date: Fri, 01 Mar 2013 12:21:01 +0100	[thread overview]
Message-ID: <51308F1D.1080600@adacore.com> (raw)
In-Reply-To: <CAFEAcA-o1BuR50Nu0QBhxwg5Y=8BPgeGPhnwEevVH5Nju8Ougg@mail.gmail.com>

On 03/01/2013 11:40 AM, Peter Maydell wrote:
> On 1 March 2013 10:13, Fabien Chouteau <chouteau@adacore.com> wrote:
>> On 02/28/2013 07:42 PM, Peter Maydell wrote:
>>> How are you handling the SCTLR IE and EE bits?
>>
>> I did nothing, as far as I know it's not possible to switch endianness
>> in QEMU.
>
> Yes, that's why I'm wondering how you're handling them.
>
>> TMS570 are configured for big-endian only, so this is not a
>> problem for me.
>
> Do you mean they are BE8 for load/stores always (ie SCTLR.EE is
> 1, or that they are both BE8 for load/stores and also for
> instruction fetches (ie that SCTLR.IE is also 1) ?
>
> Endianness in ARM is not as simple as a single flag saying
> "big or little"...
>

I'm new to this ARM architecture so I will just quote the doc.

TMS570LS31x/21x Technical Reference Manual:

"The TMS570 family is based on the ARM® CortexTM-R4F core. ARM has
designed this core to be used in big-endian and little-endian systems.
For the TI TMS570 family, the endianness has been configured to BE32."


>>>>> Are you planning to do the v7 PMSA support?
>>>
>>>> I don't know what that is, but I'll take a look :)
>>>
>>> It's the Memory Protection Unit -- QEMU currently only has the
>>> old v5 MPU, and register_cpu_regs_for_features() will assert
>>> if your CPU is v6 or v7 and has the FEATURE_MPU bit set.
>>> If you're putting in system emulation for an R4 then you must
>>> implement this (and I'm surprised you've managed to get anything
>>> significant to run without it).
>>
>> The programs I run don't need MPU, so for the moment I have no plan to
>> implement PMSA.
>
> However from an upstream point of view something that claims
> to be an R4 but doesn't actually implement the MPU is not
> terribly useful...
>

Well it is useful for us. Our safety-critical small-foot-print run-time
doesn't need MPU. Look for Ravenscar profile in Ada.

Regards,

-- 
Fabien Chouteau

  reply	other threads:[~2013-03-01 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <512E3637.6070609@adacore.com>
     [not found] ` <CAFEAcA8gyz=b4xFW9NfqnLJx=azJwUovCDg_j3m5Gq-tyjze0Q@mail.gmail.com>
     [not found]   ` <512E4170.4070003@adacore.com>
     [not found]     ` <201302272049.59409.paul@codesourcery.com>
     [not found]       ` <512F6336.6090206@adacore.com>
     [not found]         ` <CAFEAcA8Ah2JQSA3XxWA=qbzecrcKXgNx-=gtaC9bfoFTuusq5g@mail.gmail.com>
     [not found]           ` <512F965B.1000007@adacore.com>
     [not found]             ` <CAFEAcA8fzFnDb-MDh5Wo3X77qwc-TnU-M4yvzBejNu2394LAmg@mail.gmail.com>
2013-03-01 10:13               ` [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16 Fabien Chouteau
2013-03-01 10:40                 ` Peter Maydell
2013-03-01 11:21                   ` Fabien Chouteau [this message]
2013-03-01 11:32                     ` Peter Maydell
2013-03-01 12:07                       ` Fabien Chouteau
2013-03-01 12:16                         ` Peter Maydell
2013-03-01 13:43                           ` Fabien Chouteau
2013-03-01 15:10                             ` Fabien Chouteau
2013-03-01 15:22                               ` Peter Maydell
2013-03-01 18:54     ` Andreas Färber
2013-03-04  9:58       ` Fabien Chouteau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51308F1D.1080600@adacore.com \
    --to=chouteau@adacore.com \
    --cc=afaerber@suse.de \
    --cc=paul@codesourcery.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).