diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-24 11:38:43 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-24 11:38:43 +0000 |
commit | b0d803fe3e5c55a9a0c75bc90ccf40ebbbc9ffa3 (patch) | |
tree | 071d183f0cf4e1be4345e64f10a6228639187135 /MdePkg/Library/PeiServicesTablePointerLibMm7 | |
parent | f6203b71926848e7b197ee99a3a86a487d7b334a (diff) | |
download | edk2-platforms-b0d803fe3e5c55a9a0c75bc90ccf40ebbbc9ffa3.tar.xz |
Merge branch of PI tree to main trunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3918 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiServicesTablePointerLibMm7')
-rw-r--r-- | MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c b/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c index d26a0be939..4c439ebd5f 100644 --- a/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c +++ b/MdePkg/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointer.c @@ -22,6 +22,15 @@ #include <Library/BaseLib.h>
#include <Library/DebugLib.h>
+VOID
+EFIAPI
+SetPeiServicesTablePointer (
+ IN EFI_PEI_SERVICES **PeiServices
+ )
+{
+ AsmWriteMm7 ((UINT64)(UINTN)PeiServices);
+}
+
/**
The function returns the pointer to PeiServices.
|