Index: Core/Pei/Dispatcher/Dispatcher.c
===================================================================
--- Core/Pei/Dispatcher/Dispatcher.c	(revision 15066)
+++ Core/Pei/Dispatcher/Dispatcher.c	(working copy)
@@ -997,6 +997,11 @@
                 PeiCore (SecCoreData, NULL, Private);
               } else {
                 //
+                // Migrate IDT to the permanent memory first so that its memory allocation hob can be migrated below.
+                //
+                MigratePeiServicesTablePointer ();
+                
+                //
                 // Heap Offset
                 //
                 BaseOfNewHeap = TopOfNewStack;
