mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-30 04:55:21 +00:00
Suppose run_ctx.cr0/cr4 are correct when do world switching, so call vcpu_set_cr0/cr4() to update cr0/cr4 directly before resume to guest. This design is only for trusty world switching. Tracked-On: #2773 Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>