mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 12:49:24 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user