Msr.GhcbPhysicalAddress = AsmReadMsr64 (MSR_SEV_ES_GHCB);\r
Ghcb = Msr.Ghcb;\r
\r
- VmgInit (Ghcb, &InterruptState);\r
- VmgExit (Ghcb, SVM_EXIT_AP_JUMP_TABLE, 0, (UINT64)(UINTN)StartAddress);\r
- VmgDone (Ghcb, InterruptState);\r
+ CcExitVmgInit (Ghcb, &InterruptState);\r
+ CcExitVmgExit (Ghcb, SVM_EXIT_AP_JUMP_TABLE, 0, (UINT64)(UINTN)StartAddress);\r
+ CcExitVmgDone (Ghcb, InterruptState);\r
\r
return (UINTN)StartAddress;\r
}\r