mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 20:16:09 +00:00
According to SDM: writing a nonzero value to 63:32 bits of CR0 and CR4 results #GP(0). writing a nonzero value to reserved bit of CR4 results #GP(0). We merge the check with always off mask of CR0 and CR4. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>