CopyMem (GuidHob, &SmramMap[DescIdxSmmS3ResumeState],\r
sizeof SmramMap[DescIdxSmmS3ResumeState]);\r
\r
+ //\r
+ // SmramAccessLock() depends on "mQ35SmramAtDefaultSmbase"; init the latter\r
+ // just before exposing the former via PEI_SMM_ACCESS_PPI.Lock().\r
+ //\r
+ InitQ35SmramAtDefaultSmbase ();\r
+\r
//\r
// We're done. The next step should succeed, but even if it fails, we can't\r
// roll back the above BuildGuidHob() allocation, because PEI doesn't support\r