Skip to content

Update cpu definition to handle ppc

Stafford Horne openrisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpu: or1k: Set ppc on pc changecpu/or1kcommon.cpu+5 -00 replies
2/2sim: or1k: Regenerate sim filessim/or1k/cpu32.c sim/or1k/cpu32.h+9 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OpenRISC] [PATCH 0/2] Update cpu definition to handle ppc

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(-)
Signature · 1 line
2.9.3