mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
The patch fixes the issue when SOS can't boot using HV release version. In current code, the assembly code for "sgdt" & "sidt" is not right. The operand is output, not input. Also, current code use "rdmsr" instruction to read MSR_IA32_SYSENTER_CS, which doesn't sepcify the clobbered registers it uses. This patch uses API msr_read to read MSR_IA32_SYSENTER_CS. Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>