mirror of
https://github.com/google/alioth.git
synced 2024-10-23 06:57:24 +00:00
fix(cpuid): set the x2APIC ID in CPUID leaf 0x1f
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
This commit is contained in:
parent
7d075d6a13
commit
2c419dae89
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ where
|
||||||
if in_.func == 0x1 {
|
if in_.func == 0x1 {
|
||||||
out.ebx &= 0x00ff_ffff;
|
out.ebx &= 0x00ff_ffff;
|
||||||
out.ebx |= id << 24;
|
out.ebx |= id << 24;
|
||||||
} else if in_.func == 0xb {
|
} else if in_.func == 0xb || in_.func == 0x1f {
|
||||||
out.edx = id;
|
out.edx = id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue