1. Remove the dead code of DxeSalVirtualNotifyEvent() in DxeSalLib so that the depend...
authorqhuang8 <qhuang8@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 31 Jan 2007 06:54:47 +0000 (06:54 +0000)
committerqhuang8 <qhuang8@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 31 Jan 2007 06:54:47 +0000 (06:54 +0000)
2. Remove the support of DXE_DRIVER in EdkUefiRuntimeLib

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2339 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/EdkModulePkg/Library/EdkDxeSalLib/EdkDxeSalLib.msa
edk2/EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c
edk2/EdkModulePkg/Library/EdkUefiRuntimeLib/EdkUefiRuntimeLib.msa

index 1e27c1e..39d6b4f 100644 (file)
@@ -34,9 +34,6 @@
     <LibraryClass Usage="ALWAYS_CONSUMED">\r
       <Keyword>UefiBootServicesTableLib</Keyword>\r
     </LibraryClass>\r
-    <LibraryClass Usage="ALWAYS_CONSUMED">\r
-      <Keyword>UefiRuntimeLib</Keyword>\r
-    </LibraryClass>\r
   </LibraryClassDefinitions>\r
   <SourceFiles>\r
     <Filename SupArchList="IPF">Ipf/EsalServiceLib.c</Filename>\r
index 2b4d297..98a401e 100644 (file)
@@ -59,37 +59,6 @@ DxeSalLibInitialize (
   return EFI_SUCCESS;\r
 }\r
 \r
-STATIC\r
-VOID\r
-EFIAPI\r
-DxeSalVirtualNotifyEvent (\r
-  IN EFI_EVENT        Event,\r
-  IN VOID             *Context\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Fixup virtual address pointer of label.\r
-\r
-Arguments:\r
-\r
-  Event   - The Event that is being processed\r
-\r
-  Context - Event Context\r
-\r
-Returns:\r
-\r
-  None\r
-\r
---*/\r
-{\r
-  EfiConvertPointer (0x0, (VOID **) &mPlabel.EntryPoint);\r
-  EfiConvertPointer (EFI_IPF_GP_POINTER, (VOID **) &mPlabel.GP);\r
-\r
-  SetEsalVirtualEntryPoint (mPlabel.EntryPoint, mPlabel.GP);\r
-}\r
-\r
 EFI_STATUS\r
 EFIAPI\r
 RegisterEsalFunction (\r
index a3c9fc0..9dc1176 100644 (file)
@@ -23,7 +23,7 @@
     <OutputFileBasename>EdkUefiRuntimeLib</OutputFileBasename>\r
   </ModuleDefinitions>\r
   <LibraryClassDefinitions>\r
-    <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER">\r
+    <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="DXE_RUNTIME_DRIVER DXE_SAL_DRIVER">\r
       <Keyword>UefiRuntimeLib</Keyword>\r
     </LibraryClass>\r
     <LibraryClass Usage="ALWAYS_CONSUMED">\r