]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/DefaultExceptionHandlerLib: declare the permitted usage context
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 20 Dec 2018 17:31:02 +0000 (18:31 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 16 Jan 2019 19:30:13 +0000 (20:30 +0100)
Declare that this library is only usable in the context of DXE core
or a DXE driver. Set the MODULE_TYPE to BASE: this only affects the
prototype of the constructor (if present) but doesn't actually
restrict the usage context otherwise.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf

index f5421b1240a14c57399e4123d648d2116505db47..7609f82d89a15c39256fc366cad8212940f30add 100644 (file)
@@ -17,9 +17,9 @@
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DefaultExceptionHandlerLib\r
   FILE_GUID                      = EACDB354-DF1A-4AF9-A171-499737ED818F\r
-  MODULE_TYPE                    = UEFI_DRIVER\r
+  MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = DefaultExceptionHandlerLib\r
+  LIBRARY_CLASS                  = DefaultExceptionHandlerLib|DXE_CORE DXE_DRIVER\r
 \r
 [Sources.common]\r
   DefaultExceptionHandlerUefi.c\r