Received: from eggs.gnu.org ([2001:4830:134:3::10]:52779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrBn7-0000OM-19 for qemu-devel@nongnu.org; Mon, 24 Jun 2013 14:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrBn4-0002k6-2P for qemu-devel@nongnu.org; Mon, 24 Jun 2013 14:47:04 -0400 Received: from mx1.seakr.com ([64.2.143.10]:32788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrBn3-0002ix-Qv for qemu-devel@nongnu.org; Mon, 24 Jun 2013 14:47:01 -0400 Received: from mx-inside.seakr.com ([192.168.100.31]) by mx1.seakr.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5OIgiCM021861 for ; Mon, 24 Jun 2013 12:42:45 -0600 Received: from collaborate.seakr.com (collaborate.seakr.com [192.168.100.28]) by mx-inside.seakr.com (Postfix) with ESMTP id 96CC344E22 for ; Mon, 24 Jun 2013 12:46:52 -0600 (MDT) Message-Id: <51C83FB7020000000000073A@collaborate.seakr.com> Date: Mon, 24 Jun 2013 12:46:47 -0600 From: "Kaila Thornton" Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part6252F607.0__=" Subject: [Qemu-devel] SPARC Leon3 Devices - Registers? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part6252F607.0__= Content-Type: multipart/alternative; boundary="=__Part6252F607.1__=" --=__Part6252F607.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 I'm currently working on trying to add more devices to the SPARC Leon3 ma= chine, but I'm running into a few problems.=20 At the moment, I'm running QEMU on an i386 machine and targeting the gene= ric leon3 board. I need to write some code that allows QEMU to gain acce= ss to the SPARC registers as my bootloader is loading, and change the val= ues of them. =20 My plan is to use qdev to create some of the devices, but I'm stuck on ho= w to write in the qemu code that it needs to access the sparc registers. = Where would I find code / documentation (I know this is very limited) of = qemu that would give an example of the registry alterations ? =20 Thanks!=20 Kaila --------=0D This e-mail may contain confidential and privileged material for the sole= use of the intended recipient. If this email is not intended for you, o= r you are not responsible for the delivery of this message to the intende= d recipient, please note that this message may contain SEAKR Engineering = (SEAKR) Privileged/Proprietary Information. In such a case, you are stri= ctly prohibited from downloading, photocopying, distributing or otherwise= using this message, its contents or attachments in any way. If you have= received this message in error, please notify us immediately by replying= to this e-mail and delete the message from your mailbox. Information co= ntained in this message that does not relate to the business of SEAKR is = neither endorsed by nor attributable to SEAKR. --=__Part6252F607.1__= Content-Type: text/HTML; charset="us-ascii" Content-Transfer-Encoding: base64 Content-Description: HTML X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 PGh0bWw+CiAgPGhlYWQ+CgogIDwvaGVhZD4KICA8Ym9keSBzdHlsZT0ibWFyZ2luLXJpZ2h0OiA0 cHg7IGZvbnQtdmFyaWFudDogbm9ybWFsOyBtYXJnaW4tbGVmdDogNHB4OyBtYXJnaW4tYm90dG9t OiAxcHg7IGxpbmUtaGVpZ2h0OiBub3JtYWw7IG1hcmdpbi10b3A6IDRweCI+CiAgICA8cCBzdHls ZT0ibWFyZ2luLWJvdHRvbTogMDsgbWFyZ2luLXRvcDogMCI+CiAgICAgIDxmb250IGZhY2U9IkRp YWxvZyIgc2l6ZT0iMiI+SSYjMzk7bSBjdXJyZW50bHkgd29ya2luZyBvbiB0cnlpbmcgdG8gYWRk IG1vcmUgZGV2aWNlcyB0byB0aGUgU1BBUkMgTGVvbjMgbWFjaGluZSYjNDQ7IGJ1dCBJJiMzOTtt IHJ1bm5pbmcgaW50byBhIGZldyBwcm9ibGVtcy48L2ZvbnQ+ICAgIDwvcD4KICAgIDxwIHN0eWxl PSJtYXJnaW4tYm90dG9tOiAwOyBtYXJnaW4tdG9wO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