diff options
author | Gao, Liming <liming.gao@intel.com> | 2014-01-15 02:17:30 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-15 02:17:30 +0000 |
commit | ffd332cac1e28051533efb295242df959888d7bb (patch) | |
tree | fdd47c23297684e07c95edb89183d69a60ff49dc /MdeModulePkg | |
parent | ffdb421ca50c3bb4b31f89707da4c99ca8299a77 (diff) | |
download | edk2-ffd332cac1e28051533efb295242df959888d7bb.zip edk2-ffd332cac1e28051533efb295242df959888d7bb.tar.gz edk2-ffd332cac1e28051533efb295242df959888d7bb.tar.bz2 |
1. Add new API MigratePeiServicesTablePointer() in PeiServicesTablePointerLib class.
2. PeiCore will call this API to migrate the PEI Services Table pointer from temporary RAM to permanent RAM.
Signed-off-by: Gao, Liming <liming.gao@intel.com>
Reviewed-by: Kinney, Michael D <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15115 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index 0f7352c..3c867bf 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -997,6 +997,11 @@ PeiDispatcher ( PeiCore (SecCoreData, NULL, Private);
} else {
//
+ // Migrate the PEI Services Table pointer from temporary RAM to permanent RAM.
+ //
+ MigratePeiServicesTablePointer ();
+
+ //
// Heap Offset
//
BaseOfNewHeap = TopOfNewStack;
|