usermode emulation for ppc host
Having a look at the sources, I've noticed that extra ppc registers are only used when doing usermode-inly emulation and not when doing fullsystem-mode. Can anyone tell me where should I look for problems when disabling that restriction? I've already tried to enable the use of these registers but of course it's there for some reason as it doesn't boot anything when I enable them.
Signature · 5 lines
Greetz, Antonio Vargas aka winden of network http://wind.codepixel.com/ Las cosas no son lo que parecen, excepto cuando parecen lo que si son.
Quoted 6 lines · Antonio Vargas
Having a look at the sources, I've noticed that extra ppc registers are only used when doing usermode-inly emulation and not when doing fullsystem-mode. Can anyone tell me where should I look for problems when disabling that restriction? I've already tried to enable the use of these registers but of course it's there for some reason as it doesn't boot anything when I enable them.
OK.. more inspection has revealed ppc/op_helper.c which states:
"XXX: fix it to restore all registers"
looks like registers could be smashed when entering it and not being saved/restored by gcc??? will have to find out more...
Signature · 5 lines
Greetz, Antonio Vargas aka winden of network http://wind.codepixel.com/ Las cosas no son lo que parecen, excepto cuando parecen lo que si son.
Quoted 8 lines · Antonio Vargas
Quoted 6 lines · Antonio Vargas
Having a look at the sources, I've noticed that extra ppc registers are only used when doing usermode-inly emulation and not when doing fullsystem-mode. Can anyone tell me where should I look for problems when disabling that restriction? I've already tried to enable the use of these registers but of course it's there for some reason as it doesn't boot anything when I enable them.
Quoted 6 lines
OK.. more inspection has revealed
ppc/op_helper.cwhich states:"XXX: fix it to restore all registers"
looks like registers could be smashed when entering it and not being saved/restored by gcc??? will have to find out more...
Do you mean PPC host or target ?
target-ppc subdirectory is used when emulating a PowerPC, that is for PPC target.
If you really talk about PowerPC host emulation, not PowerPC target, then target-ppc subdirectory code is not concerned.
Signature · 2 lines
J. Mayer <[email protected]> Never organized