You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In HV, cpuid uses the lower 32 bits of rax 、rbx、rcx and 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,will cause bugs。
Platform
guest: nuttx
HV: acrn 3.1
The text was updated successfully, but these errors were encountered:
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: projectacrn#8605
Reviewed-by: Junjie Mao <[email protected]>
Signed-off-by: andi6 <[email protected]>
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 <[email protected]>
Signed-off-by: andi6 <[email protected]>
Describe the bug
In HV, cpuid uses the lower 32 bits of rax 、rbx、rcx and 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,will cause bugs。
Platform
guest: nuttx
HV: acrn 3.1
The text was updated successfully, but these errors were encountered: