-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPC support? #348
Comments
yes PPC support is in plan, but i have no time for that yet. if somebody can step up for this work, please go ahead. |
i removed PPC from the homepage, thanks. |
Any updates for PowerPC? |
No, this involves lots of work |
Do you think PPC and PPC64 support is still in plan? Wondering if it's going to happen soonish or it's about making it from scratch. |
Quite a lot of people want this, but i have no time for that yet.
|
I'd do but... IIRC, PowerPC is well supported in QEmu. So, the whole story boils down to Unicorn hacking, right? |
I just want to bump this issue. Like @maximumspatium I might be interested in taking on some of this work if there were some amount of documentation on what all needs to be done to port an arch from Qemu to Unicorn. |
+1 |
sorry that there is no documentation, except source code.
you can diff the current source with Qemu 2.1.2, to figure out the
necessary modification for a new arch to be ported.
PPC is one of the most complicated arch to port.
|
Hi, I've done (hopefully) most of the work. At this point I have 32 bit ppc initializing, setting up emulation, starting emulation, fetching an instruction then producing segfault somewhere in tcg. |
nice work! i can wait ;-)
|
Good news, everyone! I have a very basic test working. |
Amazing work! Is this ready to use, or you are still working on it?
Do you mind making pull req?
|
Well, I've made only few tests so far: basic arithmetic, and strlen(), no stack-related tests, no tests for resource leaks on multiple runs, no tests for hooks. Also it is limited to e500v2 and built only in ubuntu/amd64/gcc environment. So this is surely work in progress. |
@aquynh Why was this closed out? |
https://github.com/unicorn-engine/unicorn/releases/tag/2.0.0-rc1 |
we have good PowerPC in unicorn2 now. besides, this issue does not really have any questions, so it was closed. |
According to the webpage for unicorn-engine, it supports PPC.
However the readme in this source code as well as the sourcecode itself doesn't appear to support PPC. I noticed there is no "unicorn/ppc.h" file that includes the PPC registers like there is for the other supported platforms. There is an entry in the architecture enums for "UC_ARCH_PPC" though.
So just wondering whats the official word on PPC support?
What needs to be added to support it besides the ppc.h file?
The text was updated successfully, but these errors were encountered: