unicorn/qemu/hw/i386
Like Xu d2410074d8
i386: Update new x86_apicid parsing rules with die_offset support
In new sockets/dies/cores/threads model, the apicid of logical cpu could
imply die level info of guest cpu topology thus x86_apicid_from_cpu_idx()
need to be refactored with #dies value, so does apicid_*_offset().

To keep semantic compatibility, the legacy pkg_offset which helps to
generate CPUIDs such as 0x3 for L3 cache should be mapping to die_offset.

Backports commit d65af288a84d8bf8c27e55d45545f52f016c08a7 from qemu
2019-08-08 18:22:03 -04:00
..
Makefile.objs cleanup 2017-01-23 10:06:49 +08:00
pc.c i386: Update new x86_apicid parsing rules with die_offset support 2019-08-08 18:22:03 -04:00
pc_piix.c i386: keep cpu_model field in MachineState uptodate 2018-03-20 12:40:35 -04:00