HV: save the cs limit field for SOS

Save the native cs limit and reuse it for SOS cs limit. To remove
the hardcode of cs limit for guest in hypervisor.

Tracked-On: #1231
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com>
This commit is contained in:
Yin Fengwei
2018-10-29 16:50:57 +08:00
committed by lijinxia
parent 6993fdb3e9
commit 0cd85749fe
3 changed files with 18 additions and 1 deletions

View File

@@ -295,7 +295,8 @@ struct acrn_vcpu_regs {
uint64_t reserved_64[4];
uint32_t cs_ar;
uint32_t reserved_32[4];
uint32_t cs_limit;
uint32_t reserved_32[3];
/* don't change the order of following sel */
uint16_t cs_sel;