//\r
PlatformHookBeforeSmmDispatch ();\r
\r
+ //
+ // Call memory management hook function
+ //
+ SmmEntryPointMemoryManagementHook ();
+
//\r
// If a legacy boot has occured, then make sure gSmmCorePrivate is not accessed\r
//\r
//\r
gSmmCorePrivate->Smst = &gSmmCoreSmst;\r
gSmmCorePrivate->SmmEntryPoint = SmmEntryPoint;\r
- \r
+
//\r
// No need to initialize memory service.\r
// It is done in constructor of PiSmmCoreMemoryAllocationLib(),\r