diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-13 06:21:40 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-13 06:21:40 +0000 |
commit | 26ce3225049a57e9e16f978b2641a35f98295d61 (patch) | |
tree | 6a1c48fa2ce70f13cc09ddb70ca3c5d96acfd99f | |
parent | 6fb05c6ff39c1b9254f9fd8fdf886499cddddee0 (diff) | |
download | edk2-26ce3225049a57e9e16f978b2641a35f98295d61.tar.gz edk2-26ce3225049a57e9e16f978b2641a35f98295d61.tar.bz2 edk2-26ce3225049a57e9e16f978b2641a35f98295d61.zip |
sync patch r10864, r10865, r10866, r10876 from main trunk.
1. Update the Runtime and Smm library to restrict usage to DXE_RUNTIME_DRIVER and
DXE_SAL_DRIVER or DXE_SMM_DRIVER module types.
2. Update UefiRuntimeLib MODULE_TYPE to be DXE_RUNTIME_DRIVER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@10922 6f19259b-4bc3-4df7-8a09-765794883524
3 files changed, 4 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf index 582cf878de..e7594994e2 100644 --- a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf +++ b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf @@ -23,7 +23,7 @@ FILE_GUID = D65D9F72-7BCE-4f73-A673-47AF446A1A31
MODULE_TYPE = DXE_RUNTIME_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = ReportStatusCodeLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER DXE_SMM_DRIVER
+ LIBRARY_CLASS = ReportStatusCodeLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
CONSTRUCTOR = ReportStatusCodeLibConstruct
DESTRUCTOR = ReportStatusCodeLibDestruct
diff --git a/MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf b/MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf index 38b06cf798..62a1a85d95 100644 --- a/MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf +++ b/MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf @@ -19,7 +19,7 @@ FILE_GUID = D65D9F72-7BCE-4f73-A673-47AF446A1A31
MODULE_TYPE = DXE_RUNTIME_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = ReportStatusCodeLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
+ LIBRARY_CLASS = ReportStatusCodeLib|DXE_RUNTIME_DRIVER DXE_SAL_DRIVER
CONSTRUCTOR = ReportStatusCodeLibConstructor
DESTRUCTOR = ReportStatusCodeLibDestructor
#
diff --git a/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf b/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf index d40cb80696..690cf33951 100644 --- a/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf +++ b/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf @@ -21,9 +21,9 @@ INF_VERSION = 0x00010005
BASE_NAME = UefiRuntimeLib
FILE_GUID = b1ee6c28-54aa-4d17-b705-3e28ccb27b2e
- MODULE_TYPE = UEFI_DRIVER
+ MODULE_TYPE = DXE_RUNTIME_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = UefiRuntimeLib|UEFI_DRIVER DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION DXE_SMM_DRIVER
+ LIBRARY_CLASS = UefiRuntimeLib|DXE_RUNTIME_DRIVER DXE_SAL_DRIVER
CONSTRUCTOR = RuntimeDriverLibConstruct
DESTRUCTOR = RuntimeDriverLibDeconstruct
|