[edk2] [PATCH] PcAtChipsetPkg/AcpiTimerLib: Do not restrict Base instance.

Marvin Häuser posted 1 patch 5 years, 8 months ago
Failed in applying to current master (apply log)
PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2] [PATCH] PcAtChipsetPkg/AcpiTimerLib: Do not restrict Base instance.
Posted by Marvin Häuser 5 years, 8 months ago
The current Base AcpiTimerLib instance restricts usage to SEC and PEI
modules, for which there is no obvious reason. Lift this restriction.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
---
 PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf b/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
index b7f737e30ac8..df9eecfdaeaa 100644
--- a/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
+++ b/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
@@ -24,7 +24,7 @@ [Defines]
   FILE_GUID                      = 564DE85F-049E-4481-BF7A-CA04D2788CF9
   MODULE_TYPE                    = BASE
   VERSION_STRING                 = 1.0
-  LIBRARY_CLASS                  = TimerLib|SEC PEI_CORE PEIM
+  LIBRARY_CLASS                  = TimerLib
   CONSTRUCTOR                    = AcpiTimerLibConstructor
   MODULE_UNI_FILE                = BaseAcpiTimerLib.uni
 
-- 
2.18.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] PcAtChipsetPkg/AcpiTimerLib: Do not restrict Base instance.
Posted by Gao, Liming 5 years, 8 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Marvin H?user
>Sent: Monday, July 23, 2018 7:05 AM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu <ruiyu.ni@intel.com>
>Subject: [edk2] [PATCH] PcAtChipsetPkg/AcpiTimerLib: Do not restrict Base
>instance.
>
>The current Base AcpiTimerLib instance restricts usage to SEC and PEI
>modules, for which there is no obvious reason. Lift this restriction.
>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
>---
> PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
>b/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
>index b7f737e30ac8..df9eecfdaeaa 100644
>--- a/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
>+++ b/PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
>@@ -24,7 +24,7 @@ [Defines]
>   FILE_GUID                      = 564DE85F-049E-4481-BF7A-CA04D2788CF9
>   MODULE_TYPE                    = BASE
>   VERSION_STRING                 = 1.0
>-  LIBRARY_CLASS                  = TimerLib|SEC PEI_CORE PEIM
>+  LIBRARY_CLASS                  = TimerLib
>   CONSTRUCTOR                    = AcpiTimerLibConstructor
>   MODULE_UNI_FILE                = BaseAcpiTimerLib.uni
>
>--
>2.18.0.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel