qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob


From: Alexander Graf
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob
Date: Fri, 29 Aug 2014 02:40:12 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0


On 29.08.14 00:25, Benjamin Herrenschmidt wrote:
> On Fri, 2014-08-29 at 00:18 +0200, Alexander Graf wrote:
>> I strongly disagree with David. Legally there is no difference between a
>> .bin file that contains code and an array made of instructions. And the
>> more target code we can keep outside of QEMU the better.
> 
> Ugh ... having a separate file with it's own build system etc... for 5
> instructions is borderline ridiculous too :-)

Then don't use it - nobody's forcing you to do so :). Just use the
provided binary. I fail to see the difference between

  uint32_t rtas_blob[] = { INST_SC1, INST_BLR };

and

  uint32_t *rtas_blob;
  load_file_from_disk(rtas_blob);

except that we're using an actual assembler ;).


Alex



reply via email to

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