Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(ppc): avoid using static TCG variables #2162

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

amaanq
Copy link
Contributor

@amaanq amaanq commented Apr 13, 2025

Problem

A lot of variables in qemu/target/ppc/translate.c use global TCG variables, which is unexpected as these variables should be a part of the instance-specific TCG context.

Solution

In this PR, I've moved these global PPC TCG variables to the TCGContext struct.

@wtdcode
Copy link
Member

wtdcode commented Apr 13, 2025

CI fails =)

@amaanq
Copy link
Contributor Author

amaanq commented Apr 13, 2025

The android CI failure is pretty weird..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants