Msr.GhcbPhysicalAddress = AsmReadMsr64 (MSR_SEV_ES_GHCB);\r
Ghcb = Msr.Ghcb;\r
\r
- VmgInit (Ghcb, &InterruptState);\r
+ CcExitVmgInit (Ghcb, &InterruptState);\r
Ghcb->SaveArea.Rax = SaveArea->SevFeatures;\r
- VmgSetOffsetValid (Ghcb, GhcbRax);\r
- VmgExitStatus = VmgExit (\r
+ CcExitVmgSetOffsetValid (Ghcb, GhcbRax);\r
+ VmgExitStatus = CcExitVmgExit (\r
Ghcb,\r
SVM_EXIT_SNP_AP_CREATION,\r
ExitInfo1,\r
ExitInfo2\r
);\r
- VmgDone (Ghcb, InterruptState);\r
+ CcExitVmgDone (Ghcb, InterruptState);\r
\r
ASSERT (VmgExitStatus == 0);\r
if (VmgExitStatus != 0) {\r