mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 20:53:46 +00:00
Fix the second problem: The Extended Model ID needs to be examined only when the Family ID is 06H or 0FH
Tracked-On:#3675 Signed-off-by: Andy <andyx.liu@intel.com>
This commit is contained in:
parent
857cdb0c4f
commit
04d5638745
@ -220,7 +220,7 @@ void init_pcpu_capabilities(void)
|
||||
boot_cpu_data.family = (uint8_t)family;
|
||||
|
||||
model = (eax >> 4U) & 0xfU;
|
||||
if (family >= 0x06U) {
|
||||
if (family == 0x06U || family == 0xFU) {
|
||||
model += ((eax >> 16U) & 0xfU) << 4U;
|
||||
}
|
||||
boot_cpu_data.model = (uint8_t)model;
|
||||
|
Loading…
Reference in New Issue
Block a user