mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 23:05:38 +00:00
target-i386: X86CPU::xlevel2 QOM property
We already have "level" and "xlevel", only "xlevel2" is missing. Backports commit 01431f3ce0f31e123172cc99c12c98c0ddbe9917 from qemu
This commit is contained in:
parent
f75d72bc3d
commit
43ab099a13
|
@ -1706,7 +1706,7 @@ static void x86_cpu_load_def(X86CPU *cpu, X86CPUDefinition *def, Error **errp)
|
|||
object_property_set_int(env->uc, OBJECT(cpu), def->model, "model", errp);
|
||||
object_property_set_int(env->uc, OBJECT(cpu), def->stepping, "stepping", errp);
|
||||
object_property_set_int(env->uc, OBJECT(cpu), def->xlevel, "xlevel", errp);
|
||||
env->cpuid_xlevel2 = def->xlevel2;
|
||||
object_property_set_int(env->uc, OBJECT(cpu), def->xlevel2, "xlevel2", errp);
|
||||
cpu->cache_info_passthrough = def->cache_info_passthrough;
|
||||
object_property_set_str(env->uc, OBJECT(cpu), def->model_id, "model-id", errp);
|
||||
for (w = 0; w < FEATURE_WORDS; w++) {
|
||||
|
|
Loading…
Reference in a new issue