summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/RuntimeDxe
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-03 18:34:24 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-03 18:34:24 +0000
commitba2377328775b10caa4c2091a8997eb8685c39b8 (patch)
tree25dcb7bffc70961027119f8a9deebcac101eaf21 /MdeModulePkg/Universal/RuntimeDxe
parentc1f23d63363d36947e76df61320bdd2e5e233946 (diff)
downloadedk2-platforms-ba2377328775b10caa4c2091a8997eb8685c39b8.tar.xz
Removed IntelframeworkPkg contamination from MdeModulePkg modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3019 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/RuntimeDxe')
-rw-r--r--MdeModulePkg/Universal/RuntimeDxe/Runtime.c30
-rw-r--r--MdeModulePkg/Universal/RuntimeDxe/Runtime.h16
-rw-r--r--MdeModulePkg/Universal/RuntimeDxe/Runtime.inf4
3 files changed, 20 insertions, 30 deletions
diff --git a/MdeModulePkg/Universal/RuntimeDxe/Runtime.c b/MdeModulePkg/Universal/RuntimeDxe/Runtime.c
index 4bf2e402a3..c2c0242962 100644
--- a/MdeModulePkg/Universal/RuntimeDxe/Runtime.c
+++ b/MdeModulePkg/Universal/RuntimeDxe/Runtime.c
@@ -51,31 +51,6 @@ Revision History:
--*/
-//
-// The package level header files this module uses
-//
-#include <PiDxe.h>
-#include <FrameworkDxe.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
-#include <Protocol/LoadedImage.h>
-#include <Protocol/Runtime.h>
-#include <Protocol/UgaIo.h>
-
-//
-// The Library classes this module consumes
-//
-#include <Library/BaseLib.h>
-#include <Library/UefiDriverEntryPoint.h>
-#include <Library/DebugLib.h>
-#include <Library/ReportStatusCodeLib.h>
-#include <Library/BaseMemoryLib.h>
-#include <Library/UefiRuntimeServicesTableLib.h>
-#include <Library/UefiBootServicesTableLib.h>
-#include <Library/CacheMaintenanceLib.h>
-#include <Library/PeCoffLib.h>
-
#include "Runtime.h"
//
@@ -333,10 +308,7 @@ Returns:
// check whether in Runtime or not (this is judged by looking at
// mEfiAtRuntime global So this ReportStatusCode will work
//
- REPORT_STATUS_CODE (
- EFI_PROGRESS_CODE,
- (EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP)
- );
+ REPORT_STATUS_CODE (EFI_PROGRESS_CODE, PcdGet32 (PcdStatusCodeValueSetVirtualAddressMap));
//
// Signal all the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE events.
diff --git a/MdeModulePkg/Universal/RuntimeDxe/Runtime.h b/MdeModulePkg/Universal/RuntimeDxe/Runtime.h
index c2e4b39666..7154b53cdf 100644
--- a/MdeModulePkg/Universal/RuntimeDxe/Runtime.h
+++ b/MdeModulePkg/Universal/RuntimeDxe/Runtime.h
@@ -24,6 +24,22 @@ Abstract:
#ifndef _RUNTIME_H_
#define _RUNTIME_H_
+#include <PiDxe.h>
+#include <Protocol/LoadedImage.h>
+#include <Protocol/Runtime.h>
+#include <Protocol/UgaIo.h>
+#include <Library/BaseLib.h>
+#include <Library/UefiDriverEntryPoint.h>
+#include <Library/DebugLib.h>
+#include <Library/ReportStatusCodeLib.h>
+#include <Library/BaseMemoryLib.h>
+#include <Library/UefiRuntimeServicesTableLib.h>
+#include <Library/UefiBootServicesTableLib.h>
+#include <Library/CacheMaintenanceLib.h>
+#include <Library/PeCoffLib.h>
+#include <Library/PcdLib.h>
+
+
//
// Function Prototypes
//
diff --git a/MdeModulePkg/Universal/RuntimeDxe/Runtime.inf b/MdeModulePkg/Universal/RuntimeDxe/Runtime.inf
index 288e5d0766..e535fb1c8d 100644
--- a/MdeModulePkg/Universal/RuntimeDxe/Runtime.inf
+++ b/MdeModulePkg/Universal/RuntimeDxe/Runtime.inf
@@ -66,7 +66,6 @@
[Packages]
MdePkg/MdePkg.dec
- IntelFrameworkPkg/IntelFrameworkPkg.dec
################################################################################
@@ -108,3 +107,6 @@
gEfiRuntimeArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
gEfiLoadedImageProtocolGuid # PROTOCOL ALWAYS_CONSUMED
+[PcdsFixedAtBuild.common]
+ PcdStatusCodeValueSetVirtualAddressMap|gEfiMdePkgTokenSpaceGuid
+ \ No newline at end of file