* [Qemu-devel] SPARC Leon3 Devices - Registers?
@ 2013-06-24 18:46 Kaila Thornton
0 siblings, 0 replies; 3+ messages in thread
From: Kaila Thornton @ 2013-06-24 18:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 1455 bytes --]
I'm currently working on trying to add more devices to the SPARC Leon3 machine, but I'm running into a few problems.
At the moment, I'm running QEMU on an i386 machine and targeting the generic leon3 board. I need to write some code that allows QEMU to gain access to the SPARC registers as my bootloader is loading, and change the values of them.
My plan is to use qdev to create some of the devices, but I'm stuck on how 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 ?
Thanks!
Kaila
--------
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, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly 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 contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.
[-- Attachment #1.2: HTML --]
[-- Type: text/HTML, Size: 1831 bytes --]
<html>
<head>
</head>
<body style="margin-right: 4px; font-variant: normal; margin-left: 4px; margin-bottom: 1px; line-height: normal; margin-top: 4px">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">I'm currently working on trying to add more devices to the SPARC Leon3 machine, but I'm running into a few problems.</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">At the moment, I'm running QEMU on an i386 machine and targeting the generic leon3 board. I need to write some code that allows QEMU to gain access to the SPARC registers as my bootloader is loading, and change the values of them. </font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">My plan is to use qdev to create some of the devices, but I'm stuck on how 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 ? </font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">Thanks!</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Dialog" size="2">Kaila</font>
</p>
<DIV><P><HR>
<hr>
This e-mail may contain SEAKR Engineering (SEAKR) Confidential and Proprietary Information. If this message is not intended for you, you are strictly prohibited from using this message, its contents or attachments in any way. If you have received this message in error, please delete the message from your mailbox. This e-mail may contain export-controlled material and should be handled accordingly.
</P></DIV>
</body>
</html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] SPARC Leon3 Devices - Registers?
@ 2013-07-11 12:23 Artyom Tarasenko
2013-07-12 10:12 ` Fabien Chouteau
0 siblings, 1 reply; 3+ messages in thread
From: Artyom Tarasenko @ 2013-07-11 12:23 UTC (permalink / raw)
To: Kaila Thornton; +Cc: qemu-devel, Fabien Chouteau
Hi Kaila,
On Mon, Jun 24, 2013 at 8:46 PM, Kaila Thornton
<Kaila.Thornton@seakr.com> wrote:
> I'm currently working on trying to add more devices to the SPARC Leon3
> machine, but I'm running into a few problems.
>
> At the moment, I'm running QEMU on an i386 machine and targeting the generic
> leon3 board. I need to write some code that allows QEMU to gain access to
> the SPARC registers as my bootloader is loading, and change the values of
> them.
Can you explain a bit more? If you'd like to change the CPU register
values manually, it can be done via gdb.
Other hardware registers can be altered in gdb too if the
corresponding page is mapped.
Or do you mean, you have a board where some device can modify CPU
registers directly and you'd like to emulate this board?
Artyom
P.S. qemu-devel@ has sometimes really lots of messages daily. It makes
sense to add a maintainer of related subsystem to CC, so your question
doesn't get lost. The official Leon3 and Grlib maintainer is Fabien
Chouteau <chouteau@adacore.com>.
The whole list of maintainers is available in the MAINTAINERS file.
--
Regards,
Artyom Tarasenko
linux/sparc and solaris/sparc under qemu blog:
http://tyom.blogspot.com/search/label/qemu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] SPARC Leon3 Devices - Registers?
2013-07-11 12:23 Artyom Tarasenko
@ 2013-07-12 10:12 ` Fabien Chouteau
0 siblings, 0 replies; 3+ messages in thread
From: Fabien Chouteau @ 2013-07-12 10:12 UTC (permalink / raw)
To: Kaila Thornton; +Cc: qemu-devel, Artyom Tarasenko
Hi Kaila,
Sorry I missed your message.
On 07/11/2013 02:23 PM, Artyom Tarasenko wrote:
> Hi Kaila,
>
> On Mon, Jun 24, 2013 at 8:46 PM, Kaila Thornton
> <Kaila.Thornton@seakr.com> wrote:
>> I'm currently working on trying to add more devices to the SPARC Leon3
>> machine, but I'm running into a few problems.
>>
What kind of devices do you want to add?
> P.S. qemu-devel@ has sometimes really lots of messages daily. It makes
> sense to add a maintainer of related subsystem to CC, so your question
> doesn't get lost. The official Leon3 and Grlib maintainer is Fabien
> Chouteau <chouteau@adacore.com>.
> The whole list of maintainers is available in the MAINTAINERS file.
>
That's right, thanks Artyom.
--
Fabien Chouteau
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-12 10:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 18:46 [Qemu-devel] SPARC Leon3 Devices - Registers? Kaila Thornton
-- strict thread matches above, loose matches on Subject: below --
2013-07-11 12:23 Artyom Tarasenko
2013-07-12 10:12 ` Fabien Chouteau
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).