mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 04:18:55 +00:00
target-i386: Add socket/core/thread properties to X86CPU
These properties will be used by as address where to plug CPU with help -device/device_add commands. Backports commit d89c2b8b98e097b9cad5104b0f178bde1cfa011b from qemu
This commit is contained in:
parent
2ac9df3633
commit
6714284211
1 changed files with 4 additions and 0 deletions
|
@ -1204,6 +1204,10 @@ typedef struct X86CPU {
|
|||
struct DeviceState *apic_state;
|
||||
struct MemoryRegion *cpu_as_root;
|
||||
|
||||
int32_t socket_id;
|
||||
int32_t core_id;
|
||||
int32_t thread_id;
|
||||
|
||||
/* Features to be added */
|
||||
FeatureWordArray plus_features;
|
||||
/* Features to be removed */
|
||||
|
|
Loading…
Reference in a new issue