From f9876ecf8a296a8e0d4ad8d22ed5ff12ecc11f65 Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 27 Jan 2010 04:00:58 +0000 Subject: Remove reference to PCDs of status code value. Use macros introduced in PI1.2 instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9833 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/RuntimeDxe/Runtime.c | 4 ++-- MdeModulePkg/Core/RuntimeDxe/Runtime.h | 3 +-- MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | 7 ++----- 3 files changed, 5 insertions(+), 9 deletions(-) (limited to 'MdeModulePkg/Core/RuntimeDxe') diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.c b/MdeModulePkg/Core/RuntimeDxe/Runtime.c index 2f2a3a7602..89731e0cd8 100644 --- a/MdeModulePkg/Core/RuntimeDxe/Runtime.c +++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.c @@ -35,7 +35,7 @@ Revision History: Table now contains an item named CalculateCrc32. -Copyright (c) 2006 - 2008, Intel Corporation.
+Copyright (c) 2006 - 2010, Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -277,7 +277,7 @@ RuntimeDriverSetVirtualAddressMap ( // // ReporstStatusCodeLib will check and make sure this service can be called in runtime mode. // - REPORT_STATUS_CODE (EFI_PROGRESS_CODE, FixedPcdGet32 (PcdStatusCodeValueSetVirtualAddressMap)); + REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_EFI_RUNTIME_SERVICE | EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP)); // // Signal all the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE events. diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.h b/MdeModulePkg/Core/RuntimeDxe/Runtime.h index d477a747d4..770f9b4ba0 100644 --- a/MdeModulePkg/Core/RuntimeDxe/Runtime.h +++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.h @@ -3,7 +3,7 @@ This code is used to produce the EFI runtime architectural protocol. -Copyright (c) 2006, Intel Corporation.
+Copyright (c) 2006 - 2010, Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -29,7 +29,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include // diff --git a/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf b/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf index 2d583518af..a2b4a4699f 100644 --- a/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf +++ b/MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -5,7 +5,7 @@ # CalculateCrc32 boot services table, SetVirtualAddressMap & ConvertPointer # runtime services table. # -# Copyright (c) 2006 - 2008, Intel Corporation +# Copyright (c) 2006 - 2010, Intel Corporation # # All rights reserved. This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -56,9 +56,6 @@ [Protocols] gEfiRuntimeArchProtocolGuid ## PRODUCES gEfiLoadedImageProtocolGuid ## CONSUMES - -[FixedPcd.common] - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueSetVirtualAddressMap - + [depex] TRUE \ No newline at end of file -- cgit v1.2.3