Linux OpenRISC platform development
 help / color / mirror / Atom feed
* [OpenRISC] [PATCH 0/2] Update cpu definition to handle ppc
@ 2017-02-12 12:33 Stafford Horne
  2017-02-12 12:33 ` [OpenRISC] [PATCH 1/2] cpu: or1k: Set ppc on pc change Stafford Horne
  2017-02-12 12:33 ` [OpenRISC] [PATCH 2/2] sim: or1k: Regenerate sim files Stafford Horne
  0 siblings, 2 replies; 3+ messages in thread
From: Stafford Horne @ 2017-02-12 12:33 UTC (permalink / raw)
  To: openrisc

Recently when testing qemu I found that the native gdb sim did not properly
set the ppc.  After some time of investigation I figured the best place to
fix this is by udating the pc set sematics in the cgen definition.

The patch is pretty simple, but maybe too much so?

I am sending this patch to see if anyone has a better idea of how to
support ppc updating in the gdb native sim.

-Stafford 

Stafford Horne (2):
  cpu: or1k: Set ppc on pc change
  sim: or1k: Regenerate sim files

 cpu/or1kcommon.cpu | 5 +++++
 sim/or1k/cpu32.c   | 4 ++--
 sim/or1k/cpu32.h   | 8 +++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.9.3


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

end of thread, other threads:[~2017-02-12 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-12 12:33 [OpenRISC] [PATCH 0/2] Update cpu definition to handle ppc Stafford Horne
2017-02-12 12:33 ` [OpenRISC] [PATCH 1/2] cpu: or1k: Set ppc on pc change Stafford Horne
2017-02-12 12:33 ` [OpenRISC] [PATCH 2/2] sim: or1k: Regenerate sim files Stafford Horne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox