qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] PPC: Add breakpoint registers for 603 and e300
@ 2013-04-03 14:03 Fabien Chouteau
  2013-04-03 14:11 ` Alexander Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Fabien Chouteau @ 2013-04-03 14:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc, agraf


Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
---
 target-ppc/translate_init.c |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 781170f..9e73a23 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -1149,6 +1149,13 @@ static void gen_spr_603 (CPUPPCState *env)
                  SPR_NOACCESS, SPR_NOACCESS,
                  &spr_read_generic, &spr_write_generic,
                  0x00000000);
+    /* Breakpoints */
+    /* XXX : not implemented */
+    spr_register(env, SPR_IABR, "IABR",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+
 }
 
 /* SPR specific to PowerPC G2 implementation */
@@ -4157,6 +4164,33 @@ static void init_proc_G2LE (CPUPPCState *env)
                  SPR_NOACCESS, SPR_NOACCESS,
                  &spr_read_generic, &spr_write_generic,
                  0x00000000);
+    /* Breakpoints */
+    /* XXX : not implemented */
+    spr_register(env, SPR_DABR, "DABR",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+    /* XXX : not implemented */
+    spr_register(env, SPR_DABR2, "DABR2",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+    /* XXX : not implemented */
+    spr_register(env, SPR_IABR2, "IABR2",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+    /* XXX : not implemented */
+    spr_register(env, SPR_IBCR, "IBCR",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+    /* XXX : not implemented */
+    spr_register(env, SPR_DBCR, "DBCR",
+                 SPR_NOACCESS, SPR_NOACCESS,
+                 &spr_read_generic, &spr_write_generic,
+                 0x00000000);
+
     /* Memory management */
     gen_low_BATs(env);
     gen_high_BATs(env);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] PPC: Add breakpoint registers for 603 and e300
  2013-04-03 14:03 [Qemu-devel] [PATCH] PPC: Add breakpoint registers for 603 and e300 Fabien Chouteau
@ 2013-04-03 14:11 ` Alexander Graf
  2013-04-03 14:19   ` Fabien Chouteau
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2013-04-03 14:11 UTC (permalink / raw)
  To: Fabien Chouteau; +Cc: qemu-ppc, qemu-devel


On 03.04.2013, at 16:03, Fabien Chouteau wrote:

> 
> Signed-off-by: Fabien Chouteau <chouteau@adacore.com>

Please provide a patch description next time.

Applied to ppc-next.


Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] PPC: Add breakpoint registers for 603 and e300
  2013-04-03 14:11 ` Alexander Graf
@ 2013-04-03 14:19   ` Fabien Chouteau
  2013-04-03 14:20     ` Alexander Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Fabien Chouteau @ 2013-04-03 14:19 UTC (permalink / raw)
  To: Alexander Graf; +Cc: qemu-ppc, qemu-devel

On 04/03/2013 04:11 PM, Alexander Graf wrote:
> 
> On 03.04.2013, at 16:03, Fabien Chouteau wrote:
> 
>>
>> Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
> 
> Please provide a patch description next time.
> 

It's pretty self explanatory, isn't it? :)

> Applied to ppc-next.
> 

Thanks,

-- 
Fabien Chouteau

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] PPC: Add breakpoint registers for 603 and e300
  2013-04-03 14:19   ` Fabien Chouteau
@ 2013-04-03 14:20     ` Alexander Graf
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Graf @ 2013-04-03 14:20 UTC (permalink / raw)
  To: Fabien Chouteau; +Cc: qemu-ppc, qemu-devel


On 03.04.2013, at 16:19, Fabien Chouteau wrote:

> On 04/03/2013 04:11 PM, Alexander Graf wrote:
>> 
>> On 03.04.2013, at 16:03, Fabien Chouteau wrote:
>> 
>>> 
>>> Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
>> 
>> Please provide a patch description next time.
>> 
> 
> It's pretty self explanatory, isn't it? :)

Yes, but I dislike patches that only have a subject, but no description :)


Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-03 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 14:03 [Qemu-devel] [PATCH] PPC: Add breakpoint registers for 603 and e300 Fabien Chouteau
2013-04-03 14:11 ` Alexander Graf
2013-04-03 14:19   ` Fabien Chouteau
2013-04-03 14:20     ` Alexander Graf

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).