diff options
author | Yao, Jiewen <jiewen.yao@intel.com> | 2015-11-25 08:40:49 +0000 |
---|---|---|
committer | jyao1 <jyao1@Edk2> | 2015-11-25 08:40:49 +0000 |
commit | 0b256fb1dd7ca267d6e448768e519f54f97f347a (patch) | |
tree | b3b9fb4bb65b7d895a0dcac4cfe162b4ec0d5e2a /MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | |
parent | 0f5f6b3db7c12405e4c942cd00ead0749cce41f2 (diff) | |
download | edk2-platforms-0b256fb1dd7ca267d6e448768e519f54f97f347a.tar.xz |
Install LoadedImage protocol for PiSmmCore.
PiSmmCore installs LoadedImage for each SMM driver. However itself is missing.
So we follow DxeCore style, let PiSmmCore installs LoadedImage protocol for itself,
then the SMM image information is complete.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zeng, Star" <star.zeng@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@18945 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore/PiSmmCore.h')
-rw-r--r-- | MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.h b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.h index e34bd8a640..0e9c92abef 100644 --- a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.h +++ b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.h @@ -959,6 +959,8 @@ SmramProfileReadyToLock ( extern UINTN mFullSmramRangeCount;
extern EFI_SMRAM_DESCRIPTOR *mFullSmramRanges;
+extern EFI_LOADED_IMAGE_PROTOCOL *mSmmCoreLoadedImage;
+
//
// Page management
//
|