Files
acrn-hypervisor/hypervisor/arch/x86/guest
andi6 46a860bf04 hv: fix using cpuid does not clear the upper 32-bit registers.
In HV, cpuid uses the lower 32 bits of rax\rbx\rcx\rdx registers to pass parameters,
But the software does not clear the upper 32-bit registers,  if the guest
uses 64-bit variables to pass parameters to cpuid,guest will use rax\rbx\rcx\rdx,
not eax\ebx\ecx\edx, the previous value of the high 32 registers will affect the guest.

Tracked-On: #8605
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Signed-off-by: andi6 <andi6@xiaomi.com>
2024-06-19 15:35:26 +08:00
..
2024-05-16 09:40:32 +08:00
2024-05-16 09:40:32 +08:00
2023-09-15 11:52:40 +08:00
2024-02-01 17:01:31 +08:00
2022-09-27 10:26:42 +08:00
2022-11-04 18:55:52 +08:00
2024-05-16 09:40:32 +08:00