From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNAEo-0007po-EJ for qemu-devel@nongnu.org; Thu, 28 Aug 2014 20:40:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNAEg-0000lC-VF for qemu-devel@nongnu.org; Thu, 28 Aug 2014 20:40:22 -0400 Message-ID: <53FFCBEC.6030703@suse.de> Date: Fri, 29 Aug 2014 02:40:12 +0200 From: Alexander Graf MIME-Version: 1.0 References: <20140825134353.2361.52046.stgit@aravindap> <20140825134516.2361.32987.stgit@aravindap> <53FF0732.6090008@suse.de> <53FF72DD.5010009@linux.vnet.ibm.com> <53FFAAC4.2050408@suse.de> <1409264725.17335.23.camel@pasglop> In-Reply-To: <1409264725.17335.23.camel@pasglop> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 1/5] target-ppc: Extend rtas-blob List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: aik@au1.ibm.com, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Aravinda Prasad , paulus@samba.org 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